Repository navigation
Conversation
Entire-Checkpoint: 03c64ba9c153
Entire-Checkpoint: d02ba74efeef
This was referenced Sep 19, 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.
Summary
GitHubProvider.checkAuthSync()shelled out togh auth statuswith notimeout, so a stalled request or a hungghhung every caller (doctor, upstream assessment) with no way out but Ctrl-C. This was the last un-timed network-reachingexecSyncinsrc/, left as a follow-up when chore(doctor/templates): timeout the codex+opencode CLI probes; add the missing templates/codex routing test #1075 bounded doctor's three sibling probes.timeout(matching chore(doctor/templates): timeout the codex+opencode CLI probes; add the missing templates/codex routing test #1075's precedent for a network-reaching probe) and updated the two unit tests that assert the exactexecSyncoptions.github.integration.test.tswith a sleeping-stub gate test that asserts bounded wall time, not just the fallback return value.Pre-PR AC Verification
checkAuthSyncpasses atimeouttoexecSyncgrep -A4 '"gh auth status"' src/lib/workflow/platforms/github.ts | grep -c "timeout:"→ 1ghon PATH returns false within the timeout instead of hangingnpx vitest run src/lib/workflow/platforms/github.integration.test.ts -t "1099"→ 1 passedgithub.test.ts+system.test.ts→ 39 passed;timeoutreferenced in both filesexecSyncleft un-timed insrc/timeout:Mutation-verified: AC-2 — removed
timeoutfromcheckAuthSync'sexecSynccall;1099: a hanging gh makes checkAuthSync() return false within the timeout, not hangfailed; restored.Test plan
npm run buildpassesnpm run lintpassesnpx vitest run src/lib/workflow/platforms/github.test.ts src/lib/workflow/platforms/github.integration.test.ts src/lib/system.test.ts— 40 passednpm testrun — 3 pre-existing failures unrelated to this change (batch-executor.test.ts,prompt-wait.test.ts), consistent with the knownSEQUANT_*env-leak issue (bug(test): suite isn't hermetic against the SEQUANT_* env phases inject — exec sees red tests it didn't cause and opens no PR #1086)Closes #1099
Full suite — runner result (2026-09-19)
Run once in this worktree at
2d95f047, foreground, from a shell with noSEQUANT_*variables:Test Files 5 failed | 317 passed,Tests 6489 passed | 1 expected fail | 6 skipped, 408s. All five failing files weresrc/ui/tui/*and failed at import withCannot find module .../node_modules/es-toolkit/dist/compat/index.mjs— the worktree's[email protected]install was missingdist/compat/(main's copy of the same version has it). After copying the package from main, the same five files pass:Test Files 5 passed,Tests 20 passed. Environment gap in the worktree install, not this diff.