Skip to content

fix: skip inaccessible directories; feat(cli): intent commands - #2119

Merged
2ynn merged 1 commit into
mainfrom
gen3178/unreadable-dir
Aug 20, 2026
Merged

fix: skip inaccessible directories; feat(cli): intent commands#2119
2ynn merged 1 commit into
mainfrom
gen3178/unreadable-dir

Conversation

@2ynn

@2ynn 2ynn commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

fix(all): skip inaccessible directories during filesystem walks

feat(cli):


Summary by cubic

Skip inaccessible directories during filesystem walks and upgrade to github.com/speakeasy-api/openapi-generation/v2 v2.932.10 to enable intent command features, default streaming, and standardized exit codes. This prevents failures on unreadable paths and changes several CLI behaviors.

  • Operation commands stream output by default. Update scripts that relied on buffered output.
  • Exit codes are now 0(success)/1(runtime)/2(usage)/3(auth). Update CI to treat 2 and 3 as non-retryable and to surface auth errors clearly.
  • Intent commands enforce mutually exclusive variant flag sets and support per-operation override. Fix any invocations that combined incompatible flags.
  • --async adds foreground polling and a stdout/stderr deliverable contract. Adjust log/output parsers to the new structure.
  • --max-pages is validated and continuation cycles are guarded. Correct invalid values; rely on improved pagination hints.
  • --dry-run works without credentials and emits a machine-readable preview. Consumers should read the preview instead of relying on side effects.

Written for commit 62037c3. Summary will update on new commits.

Review in cubic

fix(all): skip inaccessible directories during filesystem walks
- speakeasy-api/openapi-generation#84

feat(cli):
- route-dispatch intent commands (mutually exclusive variant flag
  sets, operation override)
  speakeasy-api/openapi-generation#76
- async recipes for intent commands (--async, foreground polling)
  and the stdout/stderr deliverable contract
  speakeasy-api/openapi-generation#75
- truthful pagination hints, --max-pages validation and
  continuation-cycle guard
  speakeasy-api/openapi-generation#74
- keyless --dry-run everywhere with a machine-readable preview
  protocol
  speakeasy-api/openapi-generation#73
- compact per-command help (helpStyle) with --help-global and
  declared help metadata
  speakeasy-api/openapi-generation#72
- never-retry policy surface — strategy none, safe-methods
  inheritance, bounded Retry-After
  speakeasy-api/openapi-generation#71
- exit codes 0/1/2/3 — success / runtime / usage / auth
  speakeasy-api/openapi-generation#70
- stream by default for operation commands, prompted-path parity,
  direct --out prompt
  speakeasy-api/openapi-generation#69
- one classified error in every mode, with the reason table as
  overlay data
  speakeasy-api/openapi-generation#68
- support explicit-only agent mode
  speakeasy-api/openapi-generation#67
- add explicit interactivity controls
  speakeasy-api/openapi-generation#65

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 2 files

Re-trigger cubic

@2ynn
2ynn merged commit bde871f into main Aug 20, 2026
7 of 10 checks passed
@2ynn
2ynn deleted the gen3178/unreadable-dir branch August 20, 2026 20:14
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