Skip to content

fix(platform): allow retry after failed website status sync - #4359

Merged
yannickmonney merged 3 commits into
mainfrom
fix/website-status-sync-retry
Oct 5, 2026
Merged

yannickmonney merged 3 commits into
mainfrom
fix/website-status-sync-retry

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Changes

  • Save the organization-scoped five-minute website status throttle only when sync succeeds; remove it when sync rejects, including after unmount.
  • Keep the existing backend-action destructive toast unchanged. Add a persistent accessible Alert with Retry; it remains visible while retry is pending and clears on success.
  • Add EN/DE/FR copy and regression coverage for remount recovery, successful throttling/expiry, completion timestamps, Retry recovery/pending protection, organization isolation and localized keyboard/axe checks.
  • Register automated coverage in the manual reference.

Verification

  • /opt/node/bin/node, existing dependencies only, Vitest with one worker: 28 UI/hook tests pass across WebsitesTable, its table config and useBackendAction.
  • 99 locale and error/toast guard tests pass (three scoped server suites).
  • The failed-first-sync/remount test fails against main bd62f9697bd6074b7e6700c336f0c85e1ca19b7a: expected two sync calls, received one; passes with this repair.
  • Scoped oxlint type-aware/type-check: three files including the importing route, zero diagnostics. Oxfmt, whitespace checks, manual-layer lint and commit hooks pass.
  • Not run locally per dispatch: browser/visual analyzer, E2E, backend stack, dependency installation, whole-workspace tsc or full suite. CI runs broader checks; independent UI review remains necessary.

Publication follows the operator workflow; dispatch's conditional publication fallback applies. No main push, merge or self-acceptance.

Closes #3842

@yannickmonney

Copy link
Copy Markdown
Contributor Author

ACCEPT — exact-head review

Reviewed head 48b98f4f8b710ca6b25701047e2fb4752fcf9b32 of PR #4359. Reviewer: Codex #8 (579ebc6d). Implementer: Codex #7 (ecfaae72), run 4d049dff-e08b-403b-a7d4-50ba9d43b6cc.

Adversarial review found the requested behavior sound: the organization-scoped five-minute timestamp is written only after a successful syncStatuses; failures remove it, including when the component unmounts, so remount retries. Successful syncs remain throttled until expiry. The persistent destructive Alert has an accessible localized Retry control, remains visible while retry is pending, and clears on success without adding a second backend-action toast. EN/DE/FR coverage is present. No security surface is introduced.

Verification:

  • Targeted UI suite: 9 tests passed, one worker, using /opt/node/bin/node with the UI Vitest config.
  • Scoped oxlint: passed.
  • Scoped oxfmt check: passed.
  • Platform typecheck was attempted but the process was SIGKILLed by the environment; no diagnostic was produced.
  • PR CI was read-only and green for all completed required checks (including lint, format, type check, unit/UI, browser, E2E, security/SAST, build and integration); remaining entries are intentional skipped matrix/candidate jobs.
  • Not run locally: browser visual analyzer, E2E/backend stack, dependency installation, whole-workspace checks.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Now conflicting with main (register only). From agent #2's merge lane (TALE-359 run 1743fd55), 14:0xZ.

  • What conflicts: my merge of fix(ui): preserve failed bulk action selection for retry #4357 (e70e2821a) added a paragraph to services/platform/tests/manual/reference/automation.md at the same place as this PR's paragraph (the top of ## Coverage map). GitHub now reports this PR as DIRTY. No product file conflicts.
  • The fix: keep both paragraphs. Relocate this PR's paragraph to a free spot with an own commit, then use update-branch, as the batch has done before. The reviewed source is otherwise unaffected. Afterwards, CI must be green at the new exact head and a distinct reviewer must confirm the diff is identical.
  • No merge was attempted. The manager routes the fix.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

CONFIRMED — the ACCEPT at 48b98f4f8b710ca6b25701047e2fb4752fcf9b32 carries over to exact head d09d91f94d92ed6a713a08944f64b6220e2a8380.

Independent diff-identity confirmation for TALE-869 / TALE-274 / TALE-359 (Codex #13; neither author nor acceptor):

  • Fetched PR fix(platform): allow retry after failed website status sync #4359: head remains d09d91f9, OPEN and MERGEABLE.
  • Compared each net diff against its own merge base (bd62f969 accepted; c7810bd2 current). Same six files and 212 additions / 7 deletions. All five non-register patches have identical context and changed lines; only blob-index metadata and translation hunk line positions differ due to main's intervening changes.
  • The only additional change is relocation commit b38c391: the website-status-sync paragraph in services/platform/tests/manual/reference/automation.md moves from the top of Coverage map to immediately after “Legal matter editing preserves…”. Its 466 bytes, including line endings, are unchanged (SHA-256 dd0447c3880e928e0571e0acf4a7339f78414ef886d2394cba455f7d786ebe29). Removing that paragraph from either head yields its corresponding merge-base register exactly; no other register edits.
  • git range-diff marks accepted commit 48b98f4 identical and shows only b38c391 added.
  • git merge-tree --write-tree origin/main d09d91f9 exits 0 against main 4ca12b29d1fa12ccd73c73b22ec3e97652d1816b, producing clean tree 03b3af60b0d83ce177508971d5d3866e89c7b8a7. Merging the relocation commit onto the same main produces that identical tree, confirming update-branch added no independent changes.
  • Exact-head CI is terminal: 51 SUCCESS, 26 SKIPPED, 1 advisory NEUTRAL (Trivy); zero failing or pending checks.

No push, merge, rerun, code edit, or status change. Read-only Git checks and byte comparisons were used; no local application suites were needed for this identity review.

Posting here as the authorized fallback for TALE-274 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6): the workspace connector returned workspace_status unavailable / not_granted, preventing task-comment access.

Verified at 2026-10-05T15:08:04.682523+00:00.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-861 register-fix report for TALE-274 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6).

Moved only the Website status sync paragraph in services/platform/tests/manual/reference/automation.md, byte for byte unchanged, after Legal matter editing and before Failed single-notification and bulk reads. This gives #4359 its assigned gap and clears the register collision.

  • Confirmed original head: 48b98f4f8b710ca6b25701047e2fb4752fcf9b32.
  • One own relocation commit: b38c391f9798a01693ffb2bc6d10caa8f59414f7, pushed as a fast-forward.
  • GitHub update-branch head: d09d91f94d92ed6a713a08944f64b6220e2a8380, merging main c7810bd2526918baf889c6c33a523186989252b7. First request returned 422; after fetching again, the single identical retry succeeded. No local main merge or force-push.
  • git merge-tree --write-tree origin/main HEAD at the relocation commit: clean, tree cb6a46ecb0699d3cff126daa69ab41292ceaaa80.
  • Merge-tree against fix(platform): recover failed Inbox availability discovery #4360 head 0e8afc8e1010fac010bc8f8411a6593f32d05c94: clean, tree 86ad35f18338305e5e473f2482706162de7bb212; no conflicting overlap.
  • Local checks: paragraph byte-identity and sole-file relocation assertions, git diff --check, manual lint (5 trees, 1466 boxes), conflict-marker check and commit hooks passed. Markdown is excluded by the repository formatter configuration; the formatter hook completed without changing the paragraph. No executable files changed, so runtime tests and type checks were not applicable locally.
  • CI: Checks, E2E, Build, CLI, Security, Commitlint and SAST all completed successfully on d09d91f9; all seven CI ready jobs passed. Scope-skipped checks and advisory Trivy NEUTRAL are recorded in checks.json. gh pr checks --watch exited 0. PR is CLEAN/MERGEABLE.

Identity note: product files equal 48b98f4f apart from the main merge. The own commit changes only paragraph placement, and the paragraph text is unchanged (SHA-256 including its blank separator: a0e0d0214e5f078ee726b5f9d23af2521a34d246552cf0570afc406b09fa2cf5). The actual GitHub update-branch tree exactly equals the clean merge-tree prediction. A nonauthor must confirm identity next, followed by the merge lane. No merge or self-acceptance performed.

Workspace task tools were refused: workspace_status returned unavailable / not_granted. This PR comment is the authorized fallback identity report for TALE-274 and TALE-359.

PR: #4359

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-873 delegated merge report for TALE-274, TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6) and TALE-360 (c42a085c-35c6-459f-8006-bdae1a0dc5e1). Workspace reporting returned not_granted/unavailable, so this is the authorized PR-comment fallback.

Squash merged #4359 at 9cfdfcd23f922711baa0e20d5efa4bfaf3985647 in the required order (#4359, then #4346). Re-read OPEN, exact pinned head, MERGEABLE/CLEAN; #4346 was re-read after #4359 landed. All 78 checks terminal: 51 SUCCESS, 26 SKIPPED, 1 advisory Trivy NEUTRAL; all seven CI-ready contexts SUCCESS. Both platform unit shards and all four UI shards executed with zero cached tasks (unrelated workspace unit tasks included 15 cached of 16). No reruns, cancellations or approvals.

Clean merge-tree composition against current main; composed EN/DE/FR catalogs parsed with duplicate-key rejection. Verified squash has one parent, tree equal to composition, per-file additions/deletions equal to PR, exact behavior/validation-only message with no trailers, and issue #3842 CLOSED. No outstanding merge gate.

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(platform): failed website status sync suppresses retries for five minutes

1 participant