You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: snapshot-next self-test fixture expired (30-day waiting window), main Lint red since 2026-12-05T00:00Z #39756
Category: Bug (main red, blocks every merge)
Grade: p1. main has been red since 2026-12-05T00:00Z, and the merge queue dequeues every PR on the same failing case (PR #39729 twice: queue runs 47453537297 and 47456112074).
Reader: whoever claims it. The fix is in the self-test only.
Dedupe: snapshot-next → no open issue or PR.
Business rationale
Nothing merges while main's Lint lane is red. Approved customer fixes sit in the queue and are dequeued again and again: today that is #39661 / PR #39729, and every next PR after it.
Finding (measured)
The failing check.node scripts/ci/snapshot-next.mjs --self-test fails one case: ⛔ live: an older version commit's push run in flight, found by the waiting reader alone -> its jobs are read here, and its stable publish refuses (never merged as a run holding no job) (scripts/ci/snapshot-next.mjs:1992).
main push Lint run 47452564684 at 56bed06 fails it (job 145457811393).
Reproduced locally at 56bed06, and also at the last green commit a5ca373. The only commit between them is docs, so no code change broke it.
Cause: a time bomb in the fixture.
laneHttp (snapshot-next.mjs:1911) dates every listed run created_at: '2026-11-05T00:00:00Z'.
This case calls stableLane without now, so now = Date.now().
collectWaitingRuns keeps only runs younger than WAITING_READ_BACK_DAYS = 30 (scripts/release-pending-publish.mjs:1126, cutoff at :1185).
From 2026-12-05T00:00Z, the fixture's run 140 falls outside the window, so the waiting reader no longer finds it and the case fails.
The next one. The walk rows are dated 2026-11-14T00:00:00Z (:1918) against RUN_WALK_DAYS = 31, so the walk cases go red around 2026-12-15.
Expected
The self-test is hermetic in time: every lane case passes a fixed now (near the fixture dates) to stableLane / readStableLane, or the fixture dates are derived from the now it passes. Pin it with a case run at a far-future now, so no fixture date can expire again. No change to the release logic.
2026-12-05T00:53Z · seat intake, main-red anchor, on the maintainer's word 2026-12-05T00:26Z 「继续处理所有区的 p1」. Built by zone ot-build. The seat posts this claim.
Claim: PM loop round 19
Session: session_01L9qibvqcHrQpENbRP7eLfU (zone ot-build; the dev is an os-dev subagent of that session)
Account: os-tesla
Branch: claude/issue-39756-snapshot-fixture-now
Worktree: objectstack-issue-39756
Domain: domain:devx
Seat: repo:objectstack@os-tesla
Area: ot-build
File surface: scripts/ci/snapshot-next.mjs (self-test section only: a fixed now for every lane case, plus a far-future pin); stop if scripts/release-pending-publish.mjs or any non-test code must change, and explain in the report
Container & model: S, mode:subagent, model: default, effort: medium
Clause-②: no
Metadata-protocol: unchanged
Ruling-ref: none needed (self-test hermeticity; no behaviour change)
Responsibility: objectstack: the snapshot-next self-test in the Lint lane | main red since the 30-day window passed; the merge queue dequeues every PR | every PR waiting to merge
Premise: holds (reproduced at 56bed06 and a5ca373; the card body names the cause)
Serial constraints cleared: no open PR touches scripts/ci/snapshot-next.mjs. Lands ahead of #39729's re-queue.
{
"issue": 39756,
"status": "done",
"branch": "claude/issue-39756-snapshot-fixture-now",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39763",
"session": "session_01L9qibvqcHrQpENbRP7eLfU",
"premise_still_valid": true,
"summary": "Self-test section of scripts/ci/snapshot-next.mjs only: every live stable-lane case now passes a fixed LANE_NOW (2026-11-15T00:00:00Z) to stableLane, and the cases are registered through laneT so that a new pin can re-run all 10 with Date.now skewed to 2030 and name any case that goes red. No release logic changed, and release-pending-publish.mjs is untouched. Mechanism hypothesis partly falsified: the walk rows (2026-11-14) never reach RUN_WALK_DAYS because the 2-row page is short, so walkRunList returns 'the start of history' before it checks the bound. Removing now from the shared lane helper therefore stays green even at 2030. Those cases still carry LANE_NOW and are covered by the pin. The claim's 'Metadata-protocol: unchanged' is not a recognised value, so the PR carries the dispatch's 'none'.",
"tests": "Red on origin/main 56bed0663: 'snapshot-next self-test FAILED (1): ... older version commit's push run in flight ...' (exit 1). Green at d7e68b4541: 'snapshot-next: self-test OK -- 198 case(s) across 23 batteries' (exit 0). Ablation: removing now: LANE_NOW from the older-version-commit case gives exit 1 with 2 failures, that case and the 2030 pin ('red at 2030: ...older version commit...'). Restored, exit 0. No script imports snapshot-next.mjs (grep of scripts/ and packages/ found none).",
"gates": "dispatch-gates --commands at d7e68b4541 derived 31 commands. All 31 ran locally, each with exit 0 captured before any pipe (check:pm-dispatch-gates took 452s; check:comment-mask-corpus 0 disagree). --ran reconciliation: 31 derived, 31 run, 0 NOT-MEASURED, 0 UNRUN. The first loop exceeded the foreground ceiling and the harness moved it to the background; it was stopped, and the remaining 9 ran in the foreground. CI check-runs on PR 39763 are not yet read: NOT MEASURED, reason: reported at local completion, so CI convergence belongs to PM.",
"mcp_calls": "0",
"api_writes": "2 relay writes: fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, plus its assignees and labels legs on #39763), and post-stamped comment on issues/39756/comments. Also 1 git push.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Activity
objectstack-fleet commentedon Dec 5, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB
2026-12-05T00:53Z · seat intake, main-red anchor, on the maintainer's word 2026-12-05T00:26Z 「继续处理所有区的 p1」. Built by zone
ot-build. The seat posts this claim.Claim: PM loop round 19
Session:
session_01L9qibvqcHrQpENbRP7eLfU(zone ot-build; the dev is anos-devsubagent of that session)Account:
os-teslaBranch:
claude/issue-39756-snapshot-fixture-nowWorktree:
objectstack-issue-39756Domain:
domain:devxSeat:
repo:objectstack@os-teslaArea: ot-build
File surface:
scripts/ci/snapshot-next.mjs(self-test section only: a fixednowfor every lane case, plus a far-future pin); stop ifscripts/release-pending-publish.mjsor any non-test code must change, and explain in the reportContainer & model:
S,mode:subagent,model: default,effort: mediumClause-②: no
Metadata-protocol: unchanged
Ruling-ref: none needed (self-test hermeticity; no behaviour change)
Responsibility:
objectstack: the snapshot-next self-test in the Lint lane | main red since the 30-day window passed; the merge queue dequeues every PR | every PR waiting to mergePremise: holds (reproduced at 56bed06 and a5ca373; the card body names the cause)
Serial constraints cleared: no open PR touches
scripts/ci/snapshot-next.mjs. Lands ahead of #39729's re-queue.objectstack-fleet commentedon Dec 5, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibvqcHrQpENbRP7eLfU
os-dev-report
{ "issue": 39756, "status": "done", "branch": "claude/issue-39756-snapshot-fixture-now", "pr": "https://github.com/objectstack-ai/objectstack/pull/39763", "session": "session_01L9qibvqcHrQpENbRP7eLfU", "premise_still_valid": true, "summary": "Self-test section of scripts/ci/snapshot-next.mjs only: every live stable-lane case now passes a fixed LANE_NOW (2026-11-15T00:00:00Z) to stableLane, and the cases are registered through laneT so that a new pin can re-run all 10 with Date.now skewed to 2030 and name any case that goes red. No release logic changed, and release-pending-publish.mjs is untouched. Mechanism hypothesis partly falsified: the walk rows (2026-11-14) never reach RUN_WALK_DAYS because the 2-row page is short, so walkRunList returns 'the start of history' before it checks the bound. Removing now from the shared lane helper therefore stays green even at 2030. Those cases still carry LANE_NOW and are covered by the pin. The claim's 'Metadata-protocol: unchanged' is not a recognised value, so the PR carries the dispatch's 'none'.", "tests": "Red on origin/main 56bed0663: 'snapshot-next self-test FAILED (1): ... older version commit's push run in flight ...' (exit 1). Green at d7e68b4541: 'snapshot-next: self-test OK -- 198 case(s) across 23 batteries' (exit 0). Ablation: removing now: LANE_NOW from the older-version-commit case gives exit 1 with 2 failures, that case and the 2030 pin ('red at 2030: ...older version commit...'). Restored, exit 0. No script imports snapshot-next.mjs (grep of scripts/ and packages/ found none).", "gates": "dispatch-gates --commands at d7e68b4541 derived 31 commands. All 31 ran locally, each with exit 0 captured before any pipe (check:pm-dispatch-gates took 452s; check:comment-mask-corpus 0 disagree). --ran reconciliation: 31 derived, 31 run, 0 NOT-MEASURED, 0 UNRUN. The first loop exceeded the foreground ceiling and the harness moved it to the background; it was stopped, and the remaining 9 ran in the foreground. CI check-runs on PR 39763 are not yet read: NOT MEASURED, reason: reported at local completion, so CI convergence belongs to PM.", "mcp_calls": "0", "api_writes": "2 relay writes: fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, plus its assignees and labels legs on #39763), and post-stamped comment on issues/39756/comments. Also 1 git push.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }