GeezerVison is showing github.com — ci(app): e2e app-2 regression specs fail on subagent navigation/timeline visibility — reproduced on unrelated PR #607 (attempts 1+2) · Issue #631 · developing-today-forks/opencode
ci(app): e2e app-2 regression specs fail on subagent navigation/timeline visibility — reproduced on unrelated PR #607 (attempts 1+2) #631DescriptionObserved while landing PR #607 (task 1344; diff = packages/tui locale truncate + packages/util path truncateMiddle only — no app code):
Run 40541002520 (PR #607), e2e (linux, app-2) failed in both attempt 1 and the failed-jobs rerun (attempt 2, log-verified 2026-10-27T18:38Z) with the same 2 specs, both expect(locator).toBeVisible() failures:
e2e/regression/subagent-child-navigation.spec.ts:131 — 'shows the full ancestor path and navigates to an earlier subagent'
e2e/regression/timeline-stream.spec.ts:1543 — 'background shortcut › lists the root'''s running subagents from a grandchild view'
e2e (windows, app-2) also failed in attempt 2. All other e2e shards (app-1, app-components, session-ui-components, both OSes) passed on the same run, and the failing specs exercise subagent ancestor navigation UI that PR #607 does not touch — this looks like a real app regression or a spec/timing problem on current main, not PR fallout.
Acceptance: reproduce on a main-based branch (or a current unrelated PR), determine whether the ancestor-path element fails to render (product bug) or the specs are timing-sensitive (test fix), and land the fix so e2e app-2 is green on an unrelated-change PR.
Filed by repo-queue-worker-shift-opencode-b per the file-the-issue rule; PR #607 was merged over these failures with the rest of its CI log-verified (unit linux = only the 2 known #565 flakes; unit windows attempt 2 = a 5s timeout in script/check-doc-env-vars.test.ts gitHasReader, also outside the diff).
Acceptance criteria
- The two failing specs are reproduced on a main-based branch (or a current unrelated PR) and the root cause is classified: ancestor-path element fails to render (product bug) vs specs timing-sensitive (test fix).
- The fix lands so e2e app-2 is green on an unrelated-change PR on both linux and windows, including
e2e/regression/subagent-child-navigation.spec.ts:131 and e2e/regression/timeline-stream.spec.ts:1543.
- No spec is skipped or weakened to force green; if the cause is timing, the fix addresses the synchronization, not the assertion.
Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 Intake review
Filed by repo-queue-worker-shift-opencode-b from PR #607 (task 1344), which merged over these failures with the rest of its CI log-verified. Related: #565 (the known unit flakes — a different, already-tracked failure set; do not conflate). Liveness: no merged PR fixes these specs — checked; issue is live and currently the standing explanation for e2e app-2 redness fleet-wide, hence priority/high. An ## Acceptance criteria section was appended this run (original body preserved verbatim above it), formalizing the body's inline acceptance paragraph.
Notes / risks / suggested approach: Risk: the easy wrong fix is skipping/weakening the specs — the acceptance criteria bar that. Suggested approach: reproduce first on a main-based branch; if the ancestor-path element genuinely fails to render it is an app regression (bisect against the subagent-navigation work), if not, fix the specs' synchronization.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-10-27 14:19 CDT — intake enrichment (protocol §5)
- Found via: monitor reconciliation
- Task: e2e app-2 regression specs (subagent ancestor navigation + timeline background-shortcut) fail on unrelated PRs on both OSes — reproduce on main, classify product bug vs spec timing, and land the fix.
- Expectation: intake only this run — labels normalized, liveness checked, acceptance criteria in place; the fix itself routes through the normal queue/sweep path
- Links: n/a
dezren39 commented on Oct 28, 2026 dezren39 commented on Oct 28, 2026 🤖 Agent note · done (triage)
Triage finding — STILL REPRODUCING on current main (2026-10-28):
dezren39 commented on Oct 29, 2026 🤖 Agent note · state: parked — root cause found, fix PR open, e2e CI is the verification
- Agent: repo-queue-worker-shift-opencode (lane A)
- Task: task 3041 (ci_investigation, ci(app): e2e app-2 regression specs fail on subagent navigation/timeline visibility — reproduced on unrelated PR #607 (attempts 1+2) #631)
- Root cause:
session.sync(id) in packages/client/src/solid/data.ts loaded the session and its descendants but never its ancestors. A directly opened nested subagent (what both specs do) held no store info for its parent chain: resolveRoot stopped at the first missing parent (family grouped under the wrong root → the root's +N working menu never rendered, timeline-stream.spec.ts:1543), and SessionAncestorTrail truncated to the direct parent (subagent-child-navigation.spec.ts:131). Depth-1 specs pass via route/tab fallbacks — hence deterministic failures at depth ≥ 2, both OSes, on unrelated PRs.
- Fix: PR fix(client): load session ancestors on sync so depth>=2 subagent views resolve their root (#631) #843 —
session.sync now reads missing parents by ID and publishes them with the sync (best-effort, cycle-guarded, ID-checked). Client solid suite 76 pass / 0 fail including a new ancestor-loading test; client typecheck clean.
- Resume: task 3041 is parked on PR fix(client): load session ancestors on sync so depth>=2 subagent views resolve their root (#631) #843's
e2e (linux, app-2) + e2e (windows, app-2) checks. If both specs pass there, merge and complete the task / close this issue; if they still fail, the PR body documents the data-path evidence for the next investigator.
dezren39 commented on Oct 29, 2026 agent-note:v1 — task 3041 resume (agent repo-queue-worker-shift-opencode, lane A)
PR #843's basic-unit CI failed on 4 family tests (TUI session-family + client cycle/orphan tests) on both OSes. Reproduced locally: the tests pass on main and fail on the PR branch. Root cause of the regression: #843 loaded ancestors inside EVERY session.sync — the TUI's family discovery (packages/tui/src/routes/session/family.ts) walks ancestors itself and retries failed reads with bounded backoff; the always-on walk consumed those reads and swallowed the failures it retries on.
Fix pushed to PR #843 (head 0483469, main merged in): the ancestor walk now runs on family syncs only (sync with {children: true} loads the whole family from either end); a plain sync does not walk. The app session route already family-syncs the viewed session, so both #631 specs get the chain in the store. Local verification: client solid-data 38/38 pass, TUI session-family 2/2 pass (both previously failing).
Task 3041 is parked on PR #843's CI re-run; if basic unit is green on both OSes the resume shift merges and closes this issue. Caveat carried in the resume brief: e2e app-2 does not run on PR events, so the two specs themselves verify on main/schedule runs after merge; Lane B's un-PR'd branch holds spec-expectation findings if they still fail there.
dezren39 commented on Oct 29, 2026 Resolved: PR #843 merged by Lane A (merge commit 71608cb). On head 0483469 every check was SUCCESS — basic typecheck, basic affected packages, basic unit (linux) and (windows) including the four TUI family-index tests that had failed on an earlier head, e2e (linux) and (windows), and check-standards/check-compliance on the superseding run. Task 3041 completed. Note from the packet: the two app-2 specs do not run on PR events in the usual matrix, so their post-merge verification is on main/schedule runs; the PR's e2e runs here were green.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|