Skip to content

feat(ci): add --color/--no-color flag to stew ci#153

Merged
dblanchette merged 5 commits into
mainfrom
feat/color-support
Jun 4, 2026
Merged

feat(ci): add --color/--no-color flag to stew ci#153
dblanchette merged 5 commits into
mainfrom
feat/color-support

Conversation

@mariob316

@mariob316 mariob316 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds explicit color control to stew ci via --color/--no-color flags.

Changes

  • --color/--no-color CLI flag on stew ci
  • launch() resolves color once: explicit flag wins, None falls back to TTY + FORCE_COLOR/PY_COLORS/CLICOLOR_FORCE detection
  • When color is off, NO_COLOR=1 is set so subprocesses produce plain output natively — no post-hoc stripping needed

Testing

stew ci --color  # force color on
stew ci --no-color  # force color off
image

@mariob316 mariob316 marked this pull request as ready for review June 3, 2026 14:22
@mariob316 mariob316 requested a review from a team as a code owner June 3, 2026 14:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 04db2c10a8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread coveo_stew/ci/runner.py
@dblanchette dblanchette merged commit 70ac6f5 into main Jun 4, 2026
34 of 35 checks passed
@dblanchette dblanchette deleted the feat/color-support branch June 4, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants