Repository navigation
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which actions are affected?
Pull Request
Which platforms are affected?
Windows
Description
During v3.6.0 reconciliation (#576), the hosted Windows full-coverage job failed because one existing fixture exceeded Jest's default 5-second test timeout:
src/infrastructure/__tests__/setup_permission_operator_actions.test.ts β never substitutes setup authority when bot dispatch is denied.
The case took 5,206 ms in the failed attempt. The immediately preceding case took 4,226 ms. This fixture mocks GitHub requests but uses real temporary files and a durable permission-probe journal.
One rerun of only the Windows job, without code or configuration changes, passed the same case in 39 ms and completed the full suite: 10,685 passed, 34 skipped; coverage and acceptance validators passed. The promotion's Windows job had also passed before publication.
Expected: this authority-isolation regression runs predictably within a deliberate bounded test budget on hosted Windows. The timing variation needs investigation so CI does not require a manual retry. Its exact cause has not been established.
Reproducing the issue
- Use the hosted
windows-latestrunner at commit33b128f9b86dc40e2b4e9d4d2c50f4e298c85204(v3.6.0). - Run the normal
Setup Platform SmokePR workflow with Node 24 and pnpm 10.12.4, includingpnpm run test:coveragewith the checked-in Jest settings. - Observe the intermittent 5-second timeout in the case above. A single isolated rerun passed; reproduction is not deterministic.
Failed job: https://github.com/vypdev/copilot/actions/runs/39176556313/job/117820320996
Successful retry: https://github.com/vypdev/copilot/actions/runs/39176556313/job/117822891656
copilot Version
v3.6.0 β 33b128f9b86dc40e2b4e9d4d2c50f4e298c85204
Relevant Log Output
never substitutes setup authority when bot dispatch is denied (5206 ms)
Exceeded timeout of 5000 ms for a test.
Test Suites: 1 failed, 1 skipped, 671 passed, 672 of 673 total
Tests: 1 failed, 34 skipped, 10684 passed, 10719 total
Successful retry on the same commit:
never substitutes setup authority when bot dispatch is denied (39 ms)
Test Suites: 1 skipped, 672 passed, 672 of 673 total
Tests: 34 skipped, 10685 passed, 10719 total
Additional context and comments
Found during setup dogfooding and the normal v3.6.0 release (#574). The retry retained the same code, assertions, timeout budgets and required checks. Reconciliation was merged only after the complete retry, CI, Codecov and RepoWise passed. This follow-up records the intermittent test failure separately from the full setup Apply and dependency vulnerability work.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]bugfix: intermittent hosted Windows permission-journal test exceeds Jest timeout[/-][+]π - bugfix intermittent hosted Windows permission journal test exceeds Jest timeout[/+]vypbot commentedon Oct 18, 2026
Hi! Iβm @vypbot, the Copilot assistant for this repository.
I can answer questions, explain the codebase, propose implementation and test plans, review issues and pull requests for potential bugs or security problems, and help authorized maintainers apply changes.
Try
/copilot helpto see the available commands, or mention @vypbot with your question.[-]π - bugfix intermittent hosted Windows permission journal test exceeds Jest timeout[/-][+]ππ§βπ» - bugfix intermittent hosted Windows permission journal test exceeds Jest timeout[/+]1 remaining item
vypbot commentedon Oct 21, 2026
Implementation plan
Acceptance: The authority-isolation cases pass in repeated hosted Windows full-coverage runs within the explicit test timeout, and the complete Windows jobβs coverage and setup acceptance validators pass.
Need something else? Mention the bot with a question or use
/copilot help.bugfix: bound durable Actions permission fixtures (#577)
vypbot commentedon Oct 21, 2026
Issue closed β historical progress
Current status: closed as completed.
The last estimate is retained below as history. Closure does not certify a new percentage, tests, or branch alignment.
Action required: none for this closed issue. If work continues, reopen the issue; a fresh assessment can update this same card.
Last assessment before closure (historical)
Merge pull request #638 from vypdev/bugfix/577-bugfix-intermittent-hoβ¦