Skip to content

e2e: roomfeed Took journal + checkout guard vs live neighbour - #820

Merged
santoshkumarradha merged 7 commits into
devfrom
santosh/roomfeed-checkout-guard-7c8b
Sep 10, 2026
Merged

santoshkumarradha merged 7 commits into
devfrom
santosh/roomfeed-checkout-guard-7c8b

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes the roomfeed duration needle and session checkout-guard false reds when another aforge is live on the same tree.

Root causes

  1. room · wait (suite) — with the rail open, an organized room shows esc/← main on the header and an empty legend left; waiting for room · never matches. Tests now assert the open organized chrome.
  2. Missing durations after reopen (product) — Took lived only on live EventToolFinished. Journal now persists a took line keyed by call id so replay shows figures after landing.
  3. Checkout guard (suite interference) — a neighbour aforge’s task/ branches and .aforge-v3/ worktrees were treated as this run’s writes. When TMPDIR is outside the tree and another aforge is using the checkout, that churn is ignored; HEAD/porcelain stay watched.

Also

  • Manual page reading-a-task-page updated for the duration-on-reopen behaviour.
  • Changelog: docs/changes/unreleased/820-roomfeed-checkout-guard.md

Overlap note

Related to #819 (broader reliability wave). Reviewers should check whether this PR supersedes, extends, or should stack on #819’s roomfeed/checkout commits before merge.

Verify

git fetch origin santosh/roomfeed-checkout-guard-7c8b
make test-focus PKGS='./internal/session/ ./internal/tui3/' RUN='Took|CheckoutGuard|OrganizedRoom|ReplayedCall'
# optional e2e:
go test -tags e2e -count=1 -run 'TestATaskPageShowsWhatACallTook' ./internal/e2e/
Open in Web Open in Cursor 

cursoragent and others added 7 commits September 10, 2026 21:55
…rge trees

Organized rooms at the e2e 120x40 frame drop the legend's `room ·` spelling
and put `esc/← main` on the focus header — wait for that. The hermetic
checkout guard no longer fails shared-box runs on a neighbour aforge's
task/ branches and .aforge-v3/ worktrees when TMPDIR is outside the tree.

Co-authored-by: Santosh kumar <[email protected]>
After the room opens, a landing folds per-call durations behind the worked
chip; open it. Shorten the scripted bash args so toolTail still leaves room
for 3.0s / 7.0s on the row.

Co-authored-by: Santosh kumar <[email protected]>
…it ran

EventToolFinished already carried the figure live; a room opened after landing
replayed Args and Output with no duration. Write a took line keyed by call id,
thread it through DisplayEntry and replayBlocks, and keep the roomfeed needle
on roomBackWord plus an opened worked chip.

Co-authored-by: Santosh kumar <[email protected]>
The new per-call duration line is a session fact, not a message, and
sub-millisecond finishes must not write a 0ms took entry.
@santoshkumarradha
santoshkumarradha marked this pull request as ready for review September 10, 2026 23:00
@santoshkumarradha
santoshkumarradha merged commit 74a543a into dev Sep 10, 2026
3 checks passed
@santoshkumarradha
santoshkumarradha deleted the santosh/roomfeed-checkout-guard-7c8b branch September 10, 2026 23:00
@santoshkumarradha santoshkumarradha added the area:tests The suite itself — flakes, harnesses, laws, CI reds label Oct 3, 2026
@santoshkumarradha santoshkumarradha added this to the Tests & tooling milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests The suite itself — flakes, harnesses, laws, CI reds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants