Skip to content

fix(platform): recover task agent Details read failures - #4294

Merged
yannickmonney merged 1 commit into
mainfrom
fix/task-agent-details-read-recovery
Oct 4, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/task-agent-details-read-recovery

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What changed

Verification

  • Installed /opt/node/bin/node, jsdom, one worker: task-agent-run-entry, all four jsdom task-modal consumer suites, and message catalog tests — 6 files, 100 tests passed.
  • Replay the current origin/main entry against the EN/DE/FR settled-failure regression — all 3 cases fail as expected (no alert); they pass with this fix.
  • Focused Oxlint — 2 files, 203 rules, no diagnostics. Oxfmt and git diff --check passed.
  • Scoped TypeScript syntactic/semantic diagnostics on both changed TSX files — 0 diagnostics. Manual-layer lint passed (5 trees, 1,448 boxes).
  • The external test wrapper reuses installed dependencies, resolves the current worktree UI exports and pins one worker. Production test configuration is unchanged.
  • No whole-platform suite, whole-workspace typecheck, full check, CI rerun/cancellation, browser stack or production mutation under the light/jsdom-only dispatch limits. Real-browser focus trapping, speech, layout and visual-analyzer acceptance remain for independent review; no visual score is claimed.

Closes #3830
Closes #3831

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Final dispatch handoff at 12:25Z, exact head d84327b: 106 focused tests pass (100 entry/modal/catalog tests plus 6 shared retry-focus tests). Scoped TS, Oxlint, Oxfmt, commitlint, diff and manual checks pass. After approximately an hour of continuous watch, all five Candidate source / Resolve source checks remain QUEUED; there is no CI failure output to repair. Stopped only the local watcher to finish within the dispatch window—no GitHub CI run was rerun or cancelled. CI and independent real-browser focus/speech/layout/visual acceptance remain open; no acceptance or merge is claimed. Handoff is recorded on TALE-262, duplicate TALE-263 and TALE-359.

@yannickmonney

yannickmonney commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Independent review — ACCEPT (light/source + jsdom scope)

PR #4294, exact head d84327b58fc79a652a4538c7584649224501c63e. Reviewer: Codex #8 579ebc6d, TALE-658, run 69cbdc41-0286-40d6-9aee-290fd264ce57; distinct from author Codex #7 / run 859484e3. No blocking finding in the reviewed scope. This is an independent receipt, not a GitHub self-approval or merge-readiness claim.

Observed independently

  • Installed Node v24.21.0, jsdom, one Vitest worker, 768 MiB heap cap: 106/106 tests pass across the entry, four task-modal consumer suites, message catalogs, and shared retry-focus hook.
  • 6/6 additional keyboard probes pass, using actual TaskAgentRunEntry, useBackendQuery, task HTTP adapters, React Query, useRetryFocus, and desktop Radix/mobile Vaul dialog implementations. Only the HTTP seam, auth/i18n, mutation endpoints, transcript renderer and breakpoint selection are controlled; the query result and focus hook are not mocked. Initial synthetic 503 reads exhaust the real retry predicate. Tab reaches Try again; Enter triggers a deferred read.
  • In both dialog variants, pending Retry focus is the dialog container, not body. Repeated failure restores focus to Try again; successful null and transcript responses leave focus inside the same dialog, not body. This verifies observed jsdom transitions, not browser/AT behavior.
  • Error, loading and successful no-log are distinct. Cached transcripts and run-failure explanations remain. Retry refetches the read rather than starting an agent run. EN/DE/FR error/Retry/loading catalogs are covered.
  • Replayed the head's localized regression against the actual origin/main component at 9e8f87f6832cf352eb70a0ad666bbec6fd9d1a57: all 3 EN/DE/FR cases fail on missing alert, while they pass at this head. No main/worktree source was modified for replay; an external Vite loader substitutes main's component.
  • Focused Oxlint: 2 TSX files, no diagnostics, exit 0. Oxfmt: 2 matched TSX files pass. PR diff whitespace check passes.
  • GitHub closing-issue readback confirms this PR closes both Bug: task agent Details spins forever after a failed sandbox-op read #3830 and identical Bug: task agent Details spins forever after a failed sandbox-op read #3831. TALE-260/Bug: automation agent transcript silently disappears after a failed sandbox-op read #3828 is not closed and is a separate surface.

Unrun / open

  • Real-browser focus timing/trapping, speech/screen-reader behavior, layout/narrow viewport, full app/backend, manual boxes and visual-analyzer acceptance were not run under light/no-native-slot admission. No visual score or comprehensive accessibility acceptance is claimed. The existing missing-dialog-description warning is present in the synthetic dialog probe; it is not introduced by this diff.
  • No independent TypeScript or full-platform replay; the author's scoped type/manual receipts are retained but are not counted as my observed checks. Catalog report-mode debt does not fail its enforced parity/usage checks.
  • Final passive readback at 12:53Z: two Candidate source / Resolve source checks succeeded; three source checks, Lint commits and Opengrep remain queued. CI is not green. No CI was rerun or cancelled. No merge, push or card move.

Evidence: consumers.log, keyboard.log, main-regression.log, lint.json, format.log, closing-issues.json, checks.json, pr.diff, the synthetic probe and one-worker configs in /agent/output/23098c31-9b0e-4c66-827e-30f0ac16be4d/. Recreate the head checkout at the exact SHA to rerun the retained configs; the checkout is removed after verification to avoid attaching the whole repository.

Next owner: TALE-359/authorized manager reconciles remaining browser acceptance and exact-head CI. Root's 08:15Z rule remains: a blocking finding overrides ACCEPT until independently closed on the exact head with proof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: task agent Details spins forever after a failed sandbox-op read Bug: task agent Details spins forever after a failed sandbox-op read

1 participant