Skip to content

fix(platform): retain task subject on live-run read failure - #4374

Merged
yannickmonney merged 1 commit into
mainfrom
fix/task-subject-live-run-read
Oct 5, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/task-subject-live-run-read

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

A failed live-run read previously made an automation-owned task's primary workflow panel disappear. Keep its workflow name and description visible with an accessible, localized read-error message and Try again control. Retain that surface while retrying, suppress workflow mutations until a successful read, and preserve the existing successful no-live-run behavior.

Add regressions for initial failure, retry in flight, repeated failure, empty-response recovery, stale-data errors, initial loading, and task changes. Add EN/DE/FR copy and the reserved automation-test register entry. TALE-282 is outside this change.

Verified:

  • Subject-panel component suite: 33 passed, one worker on Node.
  • Task-modal consumer suites: 18 passed.
  • Locale suite: 24 passed; existing report-mode findings reviewed.
  • Error-message guard: 24 passed on rerun with a larger timeout after the first shared-host scan timed out.
  • Scoped type check: 2 changed TSX files, zero diagnostics; scoped type-aware oxlint; oxfmt; manual-register lint; diff whitespace check.
  • Real Chromium at phone width in EN/DE/FR with the actual component and mocked backend boundaries. Visual-aspect-analyzer: score 100, six discovered elements, no defects.

Closes #3849

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-281 / TALE-359 fleet handoff: PR #4374 implements #3849 only; TALE-282 remains separate. Head: baabba56845254fc0aff5c1f8dd2298a9550ada4.

The subject panel now retains ownership context on a live-run read failure, offers an accessible localized retry, stays visible during retry, and restores workflow actions only after a successful read. EN/DE/FR copy and the reserved automation register entry are included.

Local verification: 33 subject-panel tests, 18 task-modal consumer tests, 24 locale tests, 24 error-message guard tests (rerun after a shared-host scan timeout), scoped types with zero diagnostics, type-aware oxlint, oxfmt, manual-register lint, and real Chromium screenshots in all three locales. Visual-aspect-analyzer score: 100 with no defects.

CI monitoring is in progress; no checks were initially reported. This PR is ready for independent review, with no self-acceptance or merge. Workspace task tools returned not_granted, so this comment serves as the requested fallback handoff.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Final TALE-281 / TALE-359 handoff: PR #4374, head baabba56845254fc0aff5c1f8dd2298a9550ada4. CI is complete: 51 passed, 27 intentionally skipped, zero failures or pending checks. All seven CI readiness checks passed. All four E2E shards passed without Playwright retry notices; their annotations were GitHub's Ubuntu runner-image notice.

Local verification: 33 subject-panel component tests, 18 task-modal consumer tests, 24 locale tests, and 24 error-message guard tests passed. Scoped type check had zero diagnostics; scoped type-aware oxlint, oxfmt, manual-register lint, and whitespace checks passed. Actual-component browser probes rendered EN/DE/FR at phone width; visual-aspect-analyzer scored 100 with no defects.

Delivery includes the patch, changed source snapshots, verification logs, screenshots, and visual report in the task's delivery box. Workspace task tools were unavailable (not_granted), so this is the requested PR-comment fallback for both task cards. Independent review remains; no self-acceptance or merge was performed. TALE-282 is not included.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

ACCEPT — independent exact-head review of PR #4374 at baabba56845254fc0aff5c1f8dd2298a9550ada4.

For TALE-281 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6), reviewed under TALE-877. This reviewer is independent of Codex #11's implementation. Scope is #3849; TALE-282 stays separate.

No blocking findings. The error branch keeps the labelled ownership region, workflow name and description; its localized alert and Try again are available to read-only viewers. Failed cached reads cannot expose workflow actions. An uncached retry retains the error surface, disables Retry and announces busy; repeated failure restores Retry. Initial loading stays quiet, and successful empty/active-run responses restore their respective normal states. The task-keyed body prevents error memory leaking to another task. EN/DE/FR copy is present and rendered correctly in independent probes.

The automation register entry sits immediately after the complete “Text-only edits retain…” paragraph and before task attachment uploads. Inspected patches from all 61 open PRs: no other addition occupies this gap; #4375 adds before the text-only paragraph, #4372 after the attachment paragraph.

Verification with existing dependencies and /opt/node/bin/node, one worker:

  • Original subject-panel and modal-access suites: 42 tests passed (33 + 9).
  • Review-only adversarial suite: 37 passed (33 existing + four additional EN/DE/FR read-only and cached-active-run recovery probes). An initial probe used “Cancel” instead of the actual “Cancel run” label; corrected the probe and reran successfully.
  • Scoped oxlint: two files, 203 rules, zero diagnostics. Scoped --type-aware --type-check: two files, 226 rules, zero diagnostics, exit 0.
  • Scoped oxfmt: passed for both TSX files; repository configuration excludes Markdown/YAML.
  • Initial test collection hit Vite's filesystem restriction on shared dependency symlinks. A review-only configuration allowed the existing dependency directory; both runs then passed. No Zod collection error. No dependencies installed.
  • GitHub CI for this unchanged head: 51 pass, 27 skipping (26 SKIPPED and one NEUTRAL Trivy), zero failure/pending. All seven CI readiness checks pass. Head remains OPEN, CLEAN and MERGEABLE. CI results are reported as observed statuses, without claiming uncached execution.

Workspace workspace_status returned unavailable/not_granted; task tools cannot be accessed. This single PR comment is the requested fallback verdict for TALE-281 and TALE-359. No push, merge, CI rerun or status change. Real-browser focus/speech/layout were not independently re-exercised in this light review; this verdict relies on component probes plus the green CI checks for the reviewed scope.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-890 report for TALE-281; fallback for TALE-359 and TALE-360.

TALE-890 delegated merge report

No PRs merged; no squash SHAs produced.

All three PRs were OPEN at their required exact heads, MERGEABLE and CLEAN against origin/main c842179. Every check was terminal, with zero failing/pending checks and all seven CI ready contexts SUCCESS. Downloaded unit/UI shard logs show zero cached platform shard tasks (workspace unit jobs contain cached tasks).

#4342 composed cleanly: git merge-tree --write-tree origin/main b869ac8 produced ca5ad81209773ad8808f041ddbd569dcb3b6e210. Its focused personalization test was invoked once on the isolated composed tree using /opt/node/bin/node and --maxWorkers=1. It exited 1 during module loading: Vite denied the @fontsource/inter inter-latin-400-normal.woff2?url asset reached through the shared node_modules symlink. Zero tests executed; this is an environment/setup failure, not evidence of a product regression.

Stopped as required by the task on any composed-test failure. Catalog duplicate validation, later PR composition/tests, merges and linked-issue closure verification were not completed. #4374 and #4375 remain unmerged by this run. No approvals, status changes, CI reruns, cancellations or other PR actions.

Reporting fallback: workspace_status returned unavailable/not_granted, so direct comments on TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6), TALE-360 (c42a085c-35c6-459f-8006-bdae1a0dc5e1), and source tasks TALE-304, TALE-281 and TALE-307 could not be posted. This report is posted on all three PRs as the authorized fallback.

Artifacts: PR snapshots, downloaded shard logs, merge-tree output, focused-test log and this report are in the TALE-890 delivery box.

@yannickmonney
yannickmonney merged commit 841db4e into main Oct 5, 2026
@yannickmonney
yannickmonney deleted the fix/task-subject-live-run-read branch October 5, 2026 18:45
yannickmonney added a commit that referenced this pull request Oct 5, 2026
…4375)

Show a localized folder-list read failure and retry in the Documents hub. Preserve loaded documents, avoid claiming the library is empty or fully loaded while folders are unavailable, and recover with focus on the Documents region. Update shared DataTable empty-state handling for a failed incomplete list.

Validated the exact head, terminal CI, seven successful CI ready contexts and uncached platform shards. The composed tree including #4342 and #4374 merges cleanly with main; 30 EN/DE/FR catalogs have no duplicate keys. DocumentsTable suites pass 29/29 and DataTable/useListPage pass 92/92 with one Node worker per run and review-only shared-font filesystem allowances. Workspace packages resolve to composed source. Product configuration is unchanged.

Closes #3880
@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-894 report for TALE-281; authorized fallback for TALE-359 and TALE-360.

TALE-894 completed: all three accepted exact heads were squash-merged in the requested order.

PR Verified squash Linked issue
#4342 41f86cc61cf553e917d61b40c376a19c1e0add6a #3876 CLOSED
#4374 841db4ef5bd6ffe26fe562d92e57e97253020beb #3849 CLOSED
#4375 11d2b1697e6e19d3e1921dff7cf6f1b6e03bf7aa #3880 CLOSED

Before each merge, re-read the PR and confirmed OPEN, exact requested head, CLEAN, all checks terminal with zero failures/pending, and all seven CI ready contexts SUCCESS. GitHub briefly returned UNKNOWN while recalculating after main advanced; subsequent reads returned CLEAN before work continued. Reused TALE-890 shard logs after confirming the six platform unit/UI shard job identities were unchanged; all six platform shard tasks executed uncached. Workspace-unit jobs contain cached tasks, as already recorded by TALE-890. Terminal SKIPPED and the existing NEUTRAL Trivy advisory are retained.

Each git merge-tree --write-tree composition was clean. All 30 EN/DE/FR YAML catalogs, including shared-package and service catalogs, parsed with uniqueKeys enabled and no duplicate-key errors on each composed tree.

Composed-tree targeted tests used /opt/node/bin/node and --maxWorkers=1:

The review-only configs extend the unchanged product Vitest configs and add the existing shared dependency directory to server.fs.allow. No product config was changed or dependency installed. Isolated dependency links resolve Tale workspace packages to the composed source, including #4375 shared UI changes. An initial #4342 invocation had a review-config import-path error before collection; corrected that harness path. A broader initial governance invocation was stopped before completion and narrowed to the relevant policy suite; only the completed focused runs are counted as validation.

Verified each squash has one parent, its tree exactly matches the tested composition, its message has behavior/validation and issue closure with no attribution trailers, and its linked issue is CLOSED. No approvals, task status changes, CI reruns, or other PR actions.

Reporting fallback: workspace_status returned unavailable/not_granted. Direct task comments on TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6), TALE-360 (c42a085c-35c6-459f-8006-bdae1a0dc5e1), TALE-304, TALE-281 and TALE-307 were unavailable. This report is posted to each PR as the authorized fallback. Nothing remains open for this merge slice.

Produced in the TALE-894 delivery box: PR and gate snapshots, reused shard logs and CI evidence, composition/catalog/test logs, review configs, squash bodies and verification, issue closure snapshots, and this report.

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: automation-owned task subject panel disappears after a failed live-run read

1 participant