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
Shifted-clock job: fix the two test-harness clock artefacts (git commit dates, claude-account-script env) so it is green with nothing skipped #800
Outcome: the weekly shifted-clock job (#687 / PR #774) is green at +45d and +400d without marking or skipping any test. The two test-harness artefacts it found are fixed in the test harness, not in the product.
Why (measured by #774's builder and round-2 review, run 39204725103):
test/pr-hygiene-coordinator.test.ts, lines 20 and 60, both shifts. The coordinator reads commit times with git log --format=%ct, and git stamps the test's commits with the real clock while Node's clock is shifted.
Measured: giving the harness's git helper commit dates from Node's Date.now() (GIT_AUTHOR_DATE/GIT_COMMITTER_DATE) makes the file pass 6/6 at +45d, at +400d and on the real clock.
test/claude-account-script.test.ts, the "a year" check at line 183, +400d only.expiresAt is written by a Node child of scripts/setup/lib.sh:625. The test starts the script with env: { PATH, HOME } only (line 136), which drops NODE_OPTIONS and TEST_CLOCK_SHIFT.
Measured: passing both through gives 22/22 at +400d.
Activity
Merge pull request #830 from jayden1711/issue-800