Skip to content

test(transcripts): prevent midnight fixture failures - #160042

Merged
steipete merged 1 commit into
mainfrom
deslop/l122-transcript-midnight-fixtures
Sep 28, 2026
Merged

steipete merged 1 commit into
mainfrom
deslop/l122-transcript-midnight-fixtures

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes transcript-tool CI failures when an import or live capture crosses UTC midnight, as reproduced in the inherited CI shard.

User Impact

No user-visible change. This test-only repair preserves all content and lifecycle assertions without changing production code, timeouts, retries, or skips.

Why This Change Was Made

Exports use the session's recorded start date. The fixtures instead recomputed today's date after awaited work and could select the next day's directory. Both fixture files now derive artifact paths and the dated stop selector from the persisted session. The patch removes 17 test lines.

Evidence

  • Independent review passed at P0–P2.
  • Blacksmith Testbox tbx_01m3jsbqy3efmxesfafd2z1h32 (run) verified candidate tree a9589c68ebb96a5aff7933c8ee236812319d4fc7 for commit dadbad72d0ce625465df7eef0784457c8c2cf617. Frozen install and the complete proof command passed in 26m05s.
  • A Date-only midnight perturbation reproduced both original import failures in the original CI shard, plus the two neighboring live-capture failures. The repaired files passed all 20 tests with that same perturbation. Exact candidate bytes were restored before normal proof.
  • Both repaired files passed 20 fresh-process Linux runs (20 tests per run).
  • The original 38-pattern CI shard passed three times: 37 files and 624 tests per run. The owner siblings passed 46 tests in three files.
  • node scripts/check-changed.mjs --base 1ea24b2dc36f809ff2113965ef4ca6ba6c1387f9 passed, including types, guards, dead-code scans, formatting and changed-file lint.
  • Measured command walls with pnpm test <file> --maxWorkers=1: imports 18.08s; live captures 24.79s. Hosted timing for this repair is not yet available; the coordinator's CI-only landing rule uses the completed Testbox proof.

This is solely an inherited CI fixture repair, prepared for immediate exact-head squash merge under the maintainer's CI-repair direction. The related Gateway refactor remains separate.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Sep 28, 2026
@steipete
steipete marked this pull request as ready for review September 28, 2026 02:23
@steipete
steipete merged commit d5c4dfc into main Sep 28, 2026
149 of 151 checks passed
@steipete
steipete deleted the deslop/l122-transcript-midnight-fixtures branch September 28, 2026 02:25
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant