Repository navigation
chore(harness): deferred hygiene — gate live tests, fix tsc cast, doc clarifications - #6
Merged
Merged
Conversation
added 2 commits
June 26, 2026 09:58
run-turn.test.ts made real gateway calls ungated, failing CI on stopReason variance. Gate the two LLM cases behind SH_RUN_LIVE + ANTHROPIC_AUTH_TOKEN (via it.runIf); the no-key 'throws on unknown session' case still runs. Also fix the pre-existing TS2352 on the x-api-key:null header cast via 'as unknown as Record<string,string>' (the null strips x-api-key under gateway Bearer auth — behavior unchanged). Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
flush-extension: note session_shutdown is interactive-only (not headless). e4-recovery: explain wait_for_zero_pods ||true is correct (recall grep is the gate, unlike E3). smoke: usage comment --port 8080 -> --port=8080 to match the retained flag form. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
This was referenced Jun 29, 2026
Closed
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.
Batches the small deferred items flagged across M5/M6/M7 reviews. No behavior changes to production paths; CI-affecting fix + clarity.
Fixes
run-turn.test.tsgated — its two LLM cases made ungated real gateway calls and failed CI onstopReasonvariance. Now gated behindSH_RUN_LIVE=1+ANTHROPIC_AUTH_TOKEN(it.runIf); the no-key "throws on unknown session" case still runs. Harness suite goes from 25✓/1✗ to 29✓ / 2 skipped with no live key.x-api-key:nullTS2352 cleaned (run-turn.ts) —as unknown as Record<string,string>. Thenullstill stripsx-api-keyunder gateway Bearer auth; runtime behavior unchanged.flush-extension.ts— comment notingsession_shutdownis interactive/reload-only and does not fire in the headlessrunTurnpath (which relies onturn_end+ the explicit final flush).e4-recovery.sh— comment explainingwait_for_zero_pods … || trueis correct here (recall grep is the gate; not the E3 fall-through bug).smoke.sh— usage comment--port 8080→--port=8080to match the retained flag form.Verification (no key)
pnpm test: 29 passed | 2 skipped (live gated)bash -nclean on the edited scriptsExcluded (feature, not hygiene): the Gemini-via-gateway wire-id bridge.
Assisted-By: Claude Code