Repository navigation
v0.9.3: fixes from pre-release validation - #37
Merged
Merged
Conversation
…ut, not 5 s On Windows a connect to a closed loopback port is retried by the OS after the RST (~2 s each), so the three attempts take ~6 s and the 5 s bound failed on windows-latest (CI runs 44902147620, 44902203277). Because cargo stops at the first failing test binary, that also kept every CLI and integration test from running on Windows. The property under test is that a refused connection fails well before the request timeout rather than after MAX_ATTEMPTS x timeout, so the timeout is now 30 s and the bound 15 s: a hang still fails it, Windows' retry does not. Test-only; no behaviour change.
The comment inside the github-script step read "not `${{ }}`". GitHub
evaluates expression syntax anywhere in a `with:` value, comments in the
script included, and an empty expression is a template error, so every
workflow using the action failed before any step ran:
action.yml (Line: 173, Col: 17): An expression was expected
Failed to load .../action.yml
Found by the first real run of the action on GitHub (validation PR #34,
run 44904117395). The 40-case harness exercises review.sh only and never
loads action.yml, so it could not see this.
The comment no longer spells the syntax. The harness gains a check that
every expression in action.yml is a plain `key: value` mapping (YAML `#`
comments allowed), which fails on the previous file at line 175.
read_repo_file accepted any symlink whose target resolved inside the repository root, and .git/ is inside it. A pull request committing `src/app.test.js -> ../.git/config` had that file quoted as "the test file for src/app.js", and actions/checkout persists the job token in .git/config (http.extraheader). Planted text could then ask the model to repeat it into a SARIF annotation or PR comment. A PR-committed graph.db naming .git/config reached the same read through Def::source. Reproduced by the pre-release independent review (prompt captured from a CI-style checkout with the token present in SURROUNDING CODE). Refuse any path whose requested or resolved components include .git, case-insensitively. Tests cover a direct path, a case variant, and a symlink; with the check disabled both new tests fail.
This was referenced Nov 21, 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.
Three fixes found while validating v0.9.3 on real GitHub CI, a real 1.5B model and a real Action run. They land on top of #33, which is already in
dev. Without them,devis red on Windows and the v0.9.3 action does not load.Commits
6d3abc6fix(action): action.yml failed to load on GitHub. This is a release blocker.github-scriptstep spelled out the expression syntax with nothing inside it.${{anywhere in awith:value, comments included. Every workflow using the action failed before any step ran:action.yml (Line: 173, Col: 17): An expression was expected.action.ymlto be a plainkey: valuemapping. That case fails on the old file at line 175.d72374dfix(context): never read repository metadata into a prompt. This is a release blocker.read_repo_filefollowed any symlink that resolved inside the repository root, and.git/is inside it.src/app.test.js -> ../.git/confighad that file quoted as test-file context.actions/checkoutpersists the job token there..gitis now refused (case-insensitive).4e22334test(backend): bound the unreachable-server test by the request timeout, not 5 s. This is test-only.windows-latest: 2007, 2032 and 2080 ms. Three attempts exceeded the test's 5 s bound.Verification
ci.ymlatd72374dis green: Linux x86_64 457/457, macOS ARM64 457/457, Windows 450/450, fmt, clippy, all 5 release builds, and the action harness 41/41.Known follow-ups (not in this PR)
allow-incomplete: trueis a no-op on GitHub:CI=truere-enables the requirement. It fails closed.pull_requestevents only.merge_groupandpushuse the checkout's own config.linguist-generatedline or an@generatedbanner to drop its own file before the deterministic detectors run.