All issues

CLI exits 0 even when a required flag is missing#3027

New issue
Open
NONoor Hassancommented 2w ago

Is your feature request related to a problem?

CLI exits 0 even when a required flag is missing — today the workflow on kestrel requires an out-of-band step that breaks the editor flow and makes the API harder to type.

Describe the solution you'd like

Migrate the affected surface to follow the same contract as the rest of the toolchain, so composed flows stay consistent and predictable.

Describe alternatives you've considered

  • Keep the current implementation and document the seam.
  • Ship a codemod that rewrites call sites at install time.

However, both would still leave the surface on a different contract from the rest of the stack, and would only delay the cleanup.

Labels: feature, enhancement

NOnoor-hassanself-assigned this2w ago
NOnoor-hassanadded the labelfeature2w ago
NOnoor-hassanadded this to the milestonev3.0 — Spec-driven2w ago
NOnoor-hassanadded a commit that references this issuefix(kestrel): wire the new contract for #302755992881w ago
NOnoor-hassanmentioned this in#30821w ago
NONoor Hassancommented 1w ago

Re-reading the spec, I think the right contract is the one in the bug report, not the one we're shipping. Going to open a small PR.

NONoor Hassancommented 1w ago

Closing in favor of #3128 — same root cause, same approach, and that branch is further along.

NONoor Hassancommented 1w ago

I've seen this too. I'll fix.

NONoor Hassancommented 1w ago

Can confirm the repro on a clean checkout — the failing case is reliable on macOS 15.2 with Node 22.

Add a comment

M↓Markdown is supported