Repository navigation
test(cli): exempt the smoke fixture suite from the target guard - #4856
Closed
yannickmonney wants to merge 1 commit into
Closed
yannickmonney wants to merge 1 commit into
yannickmonney wants to merge 1 commit into
Conversation
The guard that holds every CLI command suite to the shared phase selector scans tools/cli/tests for suites that mention process.env.TALE_BINARY. smoke-fixture.test.ts (#4855) mentions it inside the preload it writes for the nested smoke run, so the guard failed on main and in every merge group since. Like smoke.test.ts, that suite drives a binary of its own and takes no part in the selector, so the guard leaves it out too.
yannickmonney
enabled auto-merge
October 12, 2026 13:36
yannickmonney
added this pull request to the merge queue
Oct 12, 2026
Contributor
Author
|
Independent review: ACCEPT at exact head Verified
Limits
Coverage
|
Contributor
Author
|
Superseded by #4857, which fixed the same guard failure by changing the fixture so it no longer mentions process.env.TALE_BINARY. On current main the guard passes without this exemption (main + an unrelated branch: tools/cli/scripts/cli-workflow.test.ts, 16 passed, 0 failed), so the exemption is not needed. Closing so it does not land as a redundant loosening of the guard. |
github-merge-queue
Bot
removed this pull request from the merge queue due to a manual request
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
mainfails the CLI unit tests:tools/cli/scripts/cli-workflow.test.ts› "every source/compiled command suite uses the shared phase selector" fails on all three operating systems, so the CLI check fails in every merge group (it did for the group of #4849, built once50aae63c).#4855 added
tools/cli/tests/smoke-fixture.test.ts. The guard scanstools/cli/testsfor suites that mentionprocess.env.TALE_BINARYand requires them to use the shared phase selector; the new suite mentions it inside the preload it writes for its nested smoke run, and drives a binary of its own, assmoke.test.tsdoes.Fix
The guard leaves
smoke-fixture.test.tsout next tosmoke.test.ts, with the reason in a comment.Verification
mainplus an unrelated branch: the guard test fails withExpected to contain: "from './fixtures/command-targets'"; with this changetools/cli/scripts/cli-workflow.test.tspasses, andoxfmt --checkis clean.tests/smoke-fixture.test.tsasserts on Bun's(pass)lines in stderr, which this machine's Bun prints differently; it passed on all three operating systems in the merge group, where only the guard failed.