Repository navigation
Description
What this issue is for
Two unrelated pull requests fail the same hosted windows job half an hour apart, and the point of this issue is to record the failure evidence that the earlier revision of this issue said was unobtainable.
Correction to the earlier revision
The earlier revision stated that the failing test names could not be read, because the automation token cannot fetch action logs. That was measured against the wrong endpoints and it is wrong. What actually works, measured now:
GET /repos/{owner}/{repo}/actions/jobs/<job_id>/logs-> 200 and 200 for the two jobs below, plain text, 600751 and 597153 bytes after stripping ANSI colour.- The
<job_id>is the same number as the check-run id returned byGET /repos/{owner}/{repo}/commits/<sha>/check-runs, so no extra lookup is needed. GET /repos/{owner}/{repo}/actions/runs/<run_id>/jobs/<job_id>/logs-> 404, andGET /repos/{owner}/{repo}/check-runs/<check_run_id>/logs-> 404. Those are the two shapes that made the capability look absent.- Annotations carry the failing command line and the exit code but no per-test summary, so the counts below exist only in the job log.
Failure one, pull request #1321
Job 144242012101, step running pnpm run test:core. Lane summary: Test Files 1 failed | 225 passed (226) / Tests 1 failed | 5305 passed | 17 skipped (5323).
Failing row: FAIL core/task-persistence/__tests__/TaskHistoryStore.realConcurrency.spec.ts > TaskHistoryStore real cross-host locking > setAutoTitleIfAbsent > does not let a stale save overwrite a peer update after it 'skips a peer\'s title'
Reported at zoo-code:test:core: ❯ core/task-persistence/__tests__/TaskHistoryStore.realConcurrency.spec.ts:585:39.
zoo-code:test:core: AssertionError: expected { id: 'shared-task', number: 1, …(9) } to match object { mode: 'code', …(1) }
Failure two, pull request #1918
Job 144226469086, same step. Lane summary: Test Files 1 failed | 227 passed (228) / Tests 2 failed | 5507 passed | 17 skipped (5526).
Failing row one: FAIL core/task/__tests__/empty-response-history.spec.ts > empty-response history persistence (issue 2691) > keeps one result turn when the user confirms an explicit retry
zoo-code:test:core: Error: Test timed out in 20000ms.
Failing row two: FAIL core/task/__tests__/empty-response-history.spec.ts > empty-response history persistence (issue 2691) > keeps the saved result when cancelled during a pending manual retry ask
zoo-code:test:core: AssertionError: expected undefined to be 'api_req_failed' // Object.is equality
What the two failures have in common, and what they do not
- Both are in the
test:corelane onwindows-latest, and on both pull requests the siblingubuntu-latestrun of the same lane is not a passing control: on fix(skills): report YAML frontmatter parse errors and serialize SKILL.md safely #1321 it iscancelledas collateral of the fail-fast cancellation, so nothing about the ubuntu side of these two runs proves the rows are stable. - One failure is an assertion about which mode survives a concurrent save; the other pair is a test timeout at the configured window plus an assertion about a persisted status. They are not the same defect, and this issue does not claim they are.
- Not proven here: why the rows behave differently on the windows runner, and whether the difference is the runner, the worker count, or timing inside the tests themselves.
Asked of maintainers
Whether the repository wants windows-latest unit-test failures of this shape treated as blocking per pull request, or triaged once as a runner class. A decision either way is cheaper than each pull request rediscovering the same two rows.
Recorded 2026-12-03T14:41Z from the platform clock. The readings above are from the two job logs named in this body.
Activity