Skip to content

fix(config): restore --no-workflow as warn-and-ignore shim - #1475

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-10755-no-workflow-shim
Oct 17, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-10755-no-workflow-shim

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • --no-workflow is accepted again as a deprecated no-op that writes a stderr warning and is ignored, so existing wrappers keep starting instead of hitting the catch-all unrecognized-flag error
  • The flag is documented as deprecated in the CLI help table with a one-release removal horizon

Verification

  • bun test src/config/ src/config.test.ts: 322 pass
  • Lint clean

Fixes CL-10755

@linear-code

linear-code Bot commented Oct 17, 2026

Copy link
Copy Markdown

CL-10755

@corbits-triage

corbits-triage Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Review · Comment

--no-workflow warns and is ignored. It does not change Config. One change.

Findings

  • docs/IMPLEMENTATION.md:425 — the help table lists --no-workflow, and the table is supposed to match CLI_HELP_TEXT. src/config/index.ts:717 does not print that flag.
  • src/config/settings.test.ts:208 — the test checks stderr and configured === true. It still passes if the flag swallows the task token. Assert task, command, and auto against the same argv without the flag.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Review · Approve

--no-workflow warns and is ignored. Help lists it, and the test fails if the flag swallows the task.

No findings.

@TheGreatAxios
TheGreatAxios merged commit a7dfdd9 into main Oct 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant