Skip to content

test: match -m as a flag in the eject command assertions - #1414

Merged
currentbits merged 1 commit into
mainfrom
fix/eject-test-tmpdir-m
Oct 3, 2026
Merged

currentbits merged 1 commit into
mainfrom
fix/eject-test-tmpdir-m

Conversation

@currentbits

Copy link
Copy Markdown
Owner

electron/test/eject-command.test.js asserted copied.includes("-m") === false on the whole copied command. That command starts with cd <mkdtemp dir>, and the coder-eject-cmd-XXXXXX suffix contains -m about 1 run in 62. This turned main red on 30e8814 (CI run 37126718163, macOS job) with no product change involved.

  • Reproduced deterministically with TMPDIR=/tmp/zz-m: 11/12 before, 12/12 after.
  • Both -m assertions now match -m only as a whitespace-delimited argv token, so a real codex exec resume -m <model> regression still fails.

Test-only change.

🤖 Generated with Claude Code

The copied eject command starts with `cd <mkdtemp dir>`, and the
coder-eject-cmd-XXXXXX suffix contains "-m" about 1 run in 62, failing
`includes("-m")` with nothing wrong (main CI 37126718163, macOS, on
30e8814). Reproduced with TMPDIR=/tmp/zz-m. Assert -m only as a
whitespace-delimited argv token.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@currentbits
currentbits merged commit 13d70c0 into main Oct 3, 2026
6 checks passed
@currentbits
currentbits deleted the fix/eject-test-tmpdir-m branch October 3, 2026 16:07
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.

1 participant