Repository navigation
docs: list the no-runnable-command reasons next to the fallback reasons - #150
Merged
adityankale190895 merged 1 commit intoNov 16, 2026
Conversation
Adds a No runnable command table to docs/using-diffci.md, one row per literal refusal reason in src/planner/test-command.ts, and a noCommandReasons() extractor in scripts/fallback-reasons.mjs so the docs test fails when a new reason has no row. Closes DiffCI#127 Signed-off-by: sarankumar1325 <[email protected]>
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. |
adityankale190895
added a commit
that referenced
this pull request
Nov 16, 2026
Rewrite the README entry as prose grouped by area, covering #145-#150 that the credit job appended as raw titles, and credit #149/#150 next to the no-runnable-command table. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: adityankale190895 <[email protected]>
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.
Closes #127
The whole list is done in one PR: all 22 literal refusal reasons in
src/planner/test-command.ts.Docs
There's a new
### No runnable commandsection at the end of the fallback tables indocs/using-diffci.md. It says where the reason shows up (no command: <reason>incheck,No runnable command: <reason>in the job summary,commandSynthesis.status: "UNAVAILABLE"in Core's plan). Each row gives the message, an example cause taken from the code path that refuses, and what to do. Usually that's "run the full suite", with a config hint where there is one (a plainvitest runscript, an inline project list, the config'sinclude/exclude). The template at L530 is written with….blockers.join("; ")at L285 joins adapter and discovery blockers, which are already documented as fallback reasons, so it gets no row.Test
scripts/fallback-reasons.mjsgets a siblingnoCommandReasons(), also declared infallback-reasons.d.mts. It readstest-command.tsfor these: arefusalReason: "..."(including the multi-line one at L469), arefuse("..."), arefusalReason ?? "..."default, and thereturn "..."fromprojectGroups, whose string becomes the refusal. It finds exactly the 22 reasons, andnode scripts/fallback-reasons.mjs --no-commandprints them after the fallback list. The plain output is unchanged.tests/fallback-reasons-docs.test.tshas a second case. It requires each reason as a| `reason` |row in the new section, and checks the extractor finds more than 15 reasons, like the existing size guard.Invalid Go package targetrow makes the test fail and namesrc/planner/test-command.ts:409.No reasons or planning behaviour changed.
npm testgives 1075 passed.npm run typecheckandnpm run audit:boundarypass.Signed off for the DCO. Written with an AI coding assistant; I checked each row against the code path that produces it.