Repository navigation
fix(platform): surface sandbox allocation read failures - #4376
Conversation
|
TALE-305 / TALE-359 handoff: PR #4376 is ready for independent review, based on current main a0afb23, with head aaad6e1. Added safe accessible allocation-read errors and Retry, disabled editing/grouped Save during failed reads and retry (including cached results), and EN/DE/FR copy. Successful unavailable usage remains distinct. Added failure, retry-in-flight, recovery/save and incomplete-data regressions plus the reserved automation register paragraph. Local verification passed: 67 quota/parent UI tests with one worker, scoped TypeScript and type-aware oxlint, oxfmt, locale and safe-error guards, 51 single-toast guard tests, manual reference gate, mobile Chromium EN/DE/FR keyboard retry/recovery/no overflow, and visual-aspect-analyzer baseline/changed scores of 100. CI is pending; watching it now. No self-acceptance or merge performed. Workspace task tools returned not_granted for workspace_status, so this PR comment is the requested fallback for reporting to TALE-305 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6). |
|
TALE-305 / TALE-359 review head updated to c9cc3e9. The follow-up retains the allocation error while React Query changes an initial failed read back to pending during Retry. The regressions now model isLoading=true, isError=false and error=null during the retry, verify the safe reason stays visible, and verify recovery clears it and restores saving. All 67 targeted quota/parent UI tests passed again. Scoped TypeScript and type-aware oxlint passed, Chromium EN/DE/FR retry/recovery checks passed again, and the final visual-aspect-analyzer score is 100. CI has started for this final head and is being watched. Independent review remains open; no merge or acceptance performed. |
|
TALE-305 / TALE-359 final handoff PR: #4376 Implemented accessible allocation-read errors and Retry, retained the failure through React Query's pending retry state, and blocked fields/grouped Save until recovery (including failed cached reads). Successful absent/incomplete usage and deployment-capacity behavior remain separate. EN/DE/FR copy and the reserved automation register entry are included. Verification: 67 targeted UI tests; scoped TypeScript, type-aware oxlint and oxfmt; locale/safe-error/single-toast guards; manual reference gate; Chromium EN/DE/FR keyboard retry, in-flight state and recovery; visual-aspect-analyzer baseline and changed scores 100. All seven CI readiness gates passed on this head. No failed or pending checks remain. GitHub's separate Trivy advisory is neutral because ten historical main-branch scan configurations are absent from this scoped PR analysis; required scan/readiness jobs passed. Playwright annotations show no retry/diagnostic notices. Independent review remains open. No self-acceptance or merge performed. Task tools refused workspace_status, so this PR comment is the requested fallback report for TALE-305 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6). Delivery: final patch, six source files, screenshots, validation logs and CI evidence in the task's delivery folder. |
|
REQUEST_CHANGES — independent review of exact head P1: allocation failures never reach the new error UI. The existing quota read adapter at settings.ts:573–584 converts every rejected I reproduced this at the reviewed head with the real Please propagate rejected allocation reads through the adapter while preserving genuinely successful null/incomplete responses, and add a regression exercising the real adapter/query path through failure, pending retry, repeated failure and recovery. The component's explicit Retry latch otherwise retains the error/details during React Query's no-data pending transition, blocks stale edits and grouped Save, and recovers in its tests. EN/DE/FR strings are present and appropriate. The automation coverage paragraph occupies the reserved gap immediately after Shared bulk Delete and Archive, before Website content search, without overwriting either entry. Existing successful component paths and parent settings tests pass. Validation: 67 tests passed across quota editor and parent settings with GitHub re-read: requested SHA unchanged, CLEAN/MERGEABLE; CI 51 success, 26 skipped, 1 neutral. No push, merge, check rerun, or task status change. Task-comment fallback: |
|
TALE-891 author repair for TALE-305 and TALE-359 (reporting fallback: organization connector returned Fast-forwarded #4376 from the confirmed Added a regression using the real Verified with Pushed-head CI is running. C13 re-review is required; no self-acceptance or merge. |
|
CI update for TALE-305 / TALE-359: the repair's Type check and UI shards 3/4 and 4/4 passed. Lint failed on upstream code, outside the repair branch: Evidence: https://github.com/tale-project/tale/actions/runs/37357414927/job/111923232958 checked out synthetic merge No main merge or unrelated Home changes have been added to this focused author repair. Remaining CI is still being watched; C13 re-review remains required. |
|
Final author repair report for TALE-305 / TALE-359 (TALE-891): commit 152 targeted local tests passed with one Node worker; scoped type-aware lint/type checking, formatting and whitespace checks passed. The regression fails against the original adapter and passes with the repair. Pushed-head CI: all unit/UI/E2E shards and aggregates, Type check, Format, Knip, Browser, Performance, Backend integration, SAST, Security, image builds, scan, smoke test and validation passed. CI Lint and its dependent Checks readiness gate failed on the unrelated upstream Home age-test wrapper; evidence is in the previous blocker comment. No main merge, force-push or unrelated Home changes were made. At the final observation within the 45-minute task limit, still pending: CI ready (Build). C13 re-review and the upstream lint repair remain open. No acceptance or merge. Delivery artifacts include repair.patch, changed source files, report.md and CI evidence. Organization reporting tools were unavailable, so this is the authorized PR-comment fallback for both tasks. |
|
Independent exact-head re-review for TALE-902 / TALE-305 / TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6). Verdict: PASS for the adapter repair; the previously raised P1 is resolved at
Verification on the isolated head snapshot, existing dependencies only:
CI attribution (run The first three describe that one inherited lint failure; the fourth is the aggregate gate reporting it. No CI rerun was requested. Task-comment delivery fallback: |
9e7ec39 to
4be5be6
Compare
5d5c11b to
5c4a81a
Compare
5c4a81a to
ca220b9
Compare
Sandbox quota settings previously presented failed allocation reads as stable unavailable usage, with no error or recovery control. Show an accessible allocation-read error using safe failure details and Retry; keep fields and grouped Save disabled until the query recovers, including failed reads with cached rows. Retain the error and recovery control when React Query switches an initial failed read back to pending during Retry. Successful absent/incomplete usage and deployment capacity behavior remain separate.
Add EN/DE/FR copy, regressions for failure, retry-in-flight, recovery and saving, cached-read failure, and successful incomplete usage. Register coverage after the shared bulk Delete/Archive paragraph.
Verification:
Local UI runs extend the unchanged repository UI config with a font-URL resolver and explicit platform alias for this output worktree. No dependency declarations or CI settings changed.
Closes #3877
Adapter repair: propagate quota-usage HTTP failures instead of resolving them to null. Successful absent usage still resolves to null. Add a regression through the real useBackendQuery/adapter/runAdapted/QueryClient path (only HTTP mocked), covering failure, pending retry, repeated failure and recovery. Both callers were audited; the route preload already catches failures.
Repair verification: one-worker Node runs passed 66 hook/parent settings tests, 24 quota editor tests and 62 sandbox/governance/error adapter tests. The new integration regression fails on the original adapter and passes with the repair. Scoped oxlint --type-aware --type-check, oxfmt, conflict-marker and whitespace checks passed.
Current-main rebase
Replayed the previously accepted source
5d5c11b65afc52234cb7e111003279f80192047aonto maind1373d84cd56972501403f62145ec52e6f65d44a, including the merged shared CI repair in #4625. The accepted feature payload and all current-main changes are preserved in one atomic commit. Configured commit and conflict checks pass; earlier behavioral proof remains recorded above. All seven native required checks and full merge-group validation remain required for this new source.Maintenance replay: preserves the accepted feature payload on current main 7d178ca. Includes the merged #4649 Knip cleanup and the exact independently accepted one-line shared CLI inventory repair from #4654 (252f0df), which is still pending native merge on main. The fixed suite inventory keeps its discovery and source/compiled phase guards. Existing feature proof is retained; no fresh full-feature/full-workspace test or hosted-green claim. Native required checks remain mandatory.