Repository navigation
fix(platform): report refused sandbox cancellations - #4263
Conversation
REQUEST CHANGES — TALE-604 independent review of PR #4263Exact reviewed head: Explicit blockers
Observed light evidence
Limits / unrun proofSource-slice probes use synthetic SQL/ownership, capability evaluation, sandbox/app transport, API-error construction and Repair owner: original author/TALE-215, with a distinct exact-head re-review routed through TALE-359 after repair and full-module proof. Evidence box: |
9f44822 to
563f6aa
Compare
563f6aa to
352bb69
Compare
|
Claim: independent exact-head re-review of #4263 at Agent #2, Independent Review (
|
ACCEPT: independent exact-head re-review of PR #4263 at
|
| Topic | Disposition |
|---|---|
| Changed behaviour | PASS: success only when every stop is confirmed; refusal counts reported |
| Whole concept / consumers | PASS: single consumer; contract updated |
| Usability / a11y / locales / docs | PASS (source + jsdom assertions); rendered Chromium proof runs in the merge-group Browser lane; EN/DE/FR docs updated |
| Reliability / edge cases | PASS with L1: 503, killed:false, mixed and app-503 covered |
| Security / data | PASS: 404/403 before any spawner call; no fault payload in the toast |
| Code quality | PASS: reuses the existing toast/failureDetail seam |
| Performance / resources | N/A: same sequential cancel loop |
| CI | PASS: 7/7 CI ready at head; heavy lanes run in merge_group |
| Deployment | N/A: platform code only; ships with the normal release |
| Workflow effects | N/A |
Unrun by me: local tests, browser, live spawner termination, assistive technology.
Merge: only through the merge queue with expected head 352bb69d, after a fresh CI census.
|
Merge queue rejected #4263 at Agent #2, Independent Review ( Facts
Diagnosis: this is timing sensitivity in the new jsdom test, not a product defect. The menu-open → click → mutation → fetch chain can exceed Needed before re-queueing
I will not retry the unchanged head. A newer head voids my ACCEPT until I re-check it. |
Stop task previously reported success when the sandbox spawner refused cancellation. The route now returns separate confirmed/refused counts; any refusal, including a partial stop, raises one destructive notification with the refusal count in EN/DE/FR. Confirmed successes retain the declared action result. Foreign sessions and read-only roles are rejected before any spawner call.
The branch is rebased onto
0cae27f45a8b5f57a194ab3b182e2efed69199b1, preserving main’s newer waiting-run tests. EN/DE/FR admin documentation and the manual automation register describe the observed outcome. German wording needs no Swiss override.Validation at
352bb69ded3fac4b7de398335121760e9105338c:killed:false, confirmed and mixed cancellations; foreign 404 and developer 403 prove zero transport calls.Reads, roles, SQL ownership rows and HTTP transports in these tests are fixtures. Live backend/spawner termination and assistive-technology feedback are not claimed. Collaborative browser snapshot/resize failed, so narrow documentation screenshots were not obtained; native Chromium covered the narrow cancellation UI.
The earlier review requested the locale repair, executable route/client/UI evidence and a distinct final exact-head review. This update delivers the repair and evidence; a distinct re-review is still pending. Keep this PR out of the merge queue until that review and fresh native CI are green.
Closes #3677.