Repository navigation
fix(ci): keep dispatcher fixture exports aligned with runtime - #12131
Merged
morluto merged 2 commits intoNov 19, 2026
Merged
Conversation
Contributor
[Low impact] The PR appears safe to merge. SummaryThis PR repairs the dispatcher test fixture without changing production behavior.
No actionable issues found. Tests were not rerun during this review. Reviews (1) · Last reviewed commit: "test(cli): require complete output fixtu..." · Reviewed by Greptile |
ShuaixinHuang
marked this pull request as ready for review
November 19, 2026 02:20
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 19, 2026
2SinceJuly
added a commit
to 2SinceJuly/rea
that referenced
this pull request
Nov 19, 2026
Resolves the dispatcher fixture stub conflict in favor of upstream morluto#12131, whose fixtureResultOutput satisfies all exports of the runtime's result-output chunk. The branch's own stub constant is dropped.
11 tasks
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.
Summary
Restore the dispatcher regression that verifies an already-written stdout document cannot be followed by a recovery document.
Problem and fix
Main CI shard 135277879121 failed after #12074. The executable fixture replaced the complete CLI result-output entrypoint with a stub exporting only
createCliResultOutput. The one-shot runtime now also callscliOutputCancellationStatusin its catch path. The missing fixture export produced aTypeErrorthat hid the expected formatting failure.Declare both runtime exports in the centralized test stub. TypeScript checks its export names against the production module, so future export drift fails before the fixture runs. Each case can still control its output factory, and the one-shot dispatcher executes as built.
Validation performed
npm run compilefrom clean main8062a14a3succeeded. The unmodified fixture reproducedTypeError: cliOutputCancellationStatus is not a functionin the failing case.npm run check:fastpassed through the normal push hook.Author readiness
Human owner: @ShuaixinHuang