Repository navigation
fix(sandbox): revert Daytona cloud sandbox plugin - #131409
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 11:08 AM ET / 15:08 UTC. ClawSweeper reviewWhat this changesThe branch preserves the Daytona plugin rollback, restores the associated Tlon dependency graph, fixes Control UI tooltip accessible-name updates, and adds focused test diagnostics. Merge readinessKeep open for maintainer handling: it is a recent maintainer-authored PR with a protected label, and the intentional Tlon dependency inverse still needs independent package-source and Codex-contract verification unavailable in this environment. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI installs shared title-to-tooltip enhancement for interactive controls, while the Tlon plugin signs and uploads media through its plugin-owned AWS SDK dependency graph. ACPX and browser changes are confined to test fixtures and E2E diagnostics. flowchart LR
A[Control UI controls] --> B[Title tooltip enhancement]
B --> C[Accessible control name]
D[Tlon media upload] --> E[AWS SDK signing]
E --> F[Guarded upload request]
G[ACPX fixture] --> H[App-server protocol test]
I[Browser bootstrap test] --> H
Decision needed
Why: The source tree establishes the affected plugin boundary, but the reviewer could not inspect the necessary upstream package and Codex sources in the current environment. Before merge
Findings
Agent review detailsSecurityNeeds attention: The dependency downgrade restores an older outbound-HTTP handler resolution whose source delta could not be independently inspected; no unrelated permission or executable-path change was found. PR surfaceSource +257, Tests +355, Config 0, Other +13. Total +625 across 11 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the shared tooltip repair and canonical Daytona removal, then confirm the intentional Tlon dependency inverse and ACPX stdio compatibility from authoritative source before merging. Do we have a high-confidence way to reproduce the issue? Yes for the tooltip defect: the exact-head observer and predicate show the relevant state transition, and the supplied PR snapshot records failing-before/passing-after browser cases. This read-only environment did not rerun them. Is this the best way to solve the issue? Unclear overall: the shared tooltip fix is at the correct predicate/observer boundary, but the dependency inverse and ACPX protocol assertion lack the mandated independent source checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 491769bded58. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (20 earlier review cycles; latest 8 shown)
|
f36f9fc to
06a08b9
Compare
|
Maintainer disposition and proof for The ten non-lock PR files are byte-identical to the prior head. The UI/Gateway behavioral receipts below precede the rebase; current full-build, dependency and full-review proof is recorded in the final paragraph. No earlier result is relabeled as a new-head hosted pass. The maintainer's whole-original-commit inverse remains intentional, including the incidental ACPX/Tlon edits. Canonical removal #130996 already removed Daytona's plugin/SDK/catalogs/docs and is preserved. Canonical MCP/transcript fixes are likewise retained without duplicate overlays. The latest review's active The rebuilt UI passed unchanged budgets (346512 startup gzip bytes <= 347037, 774 sidecars), and the complete selected changed-file gate passed. The original-order real-Gateway auth file passed 3/3, including saved-config readback, exact 64-bit string persistence, proxy/origin cases and both Raw interactions. Served and loaded asset The dependency and ACPX dispositions are unchanged and evidence-backed:
Diagnostic-head CI 33174560802 completed successfully on the preceding The intervening failed CI 33177042544 exposed a real semantic merge defect: main's valid dependency refresh #131719 pruned handler 4.11.2 after removing its last caller, while this rollback reintroduced a caller without changing the previously inherited resolution records. Both parents' graphs passed; the actual merged graph failed. Restoring the exact ten package/snapshot lines after one conflict-free rebase fixes that graph without changing any version, override or guard. Current-tree proof: frozen install and the high-severity production audit pass; pnpm normalization/install preserve the exact repaired lock bytes. Actual SDK signing again uses client/presigner 3.1113.0 and its nested handler 4.11.2 with zero transport calls; main's other callers keep 4.11.3. All 300 Tlon tests pass. The complete standard root build passes in 5m 1.4s with the existing CI-supported 8 GB heap, including final CLI metadata; startup JS is 345361 B under the unchanged 347037 B limit. The complete lock-selected changed gate passes all selected type/lint/guard lanes, 94 generated npm-lock checks and zero runtime import cycles. Fresh full-branch Codex review covers all 11 final files and restored lock records, with no actionable P0–P2 findings; final source hashes remained stable. Exact-head CI is now green: run 33180044724, attempt 1, completed successfully on Latest ClawSweeper rank-up requests are satisfied: direct Codex source inspection, AWS/Smithy source comparison with an explicit maintainer decision to retain the whole inverse, and terminal exact-head CI. Live rules require the Actions-owned CI gate and linear history, not an independent approval; the requested security-owner membership was verified active. None of that bypasses the remaining main failure. Proceeding with the requested landing: after these main-only failures and the expanded cleanup scope were disclosed, the maintainer explicitly instructed “land pr.” The existing head is reviewed, fully green in its required CI, and its dependency graph also resolves against current main |
889d890 to
0492252
Compare
0492252 to
6809f2a
Compare
Revert 3a5cb38 in full, including its plugin, documentation, catalog, dependency, and incidental test changes. Keep the existing Daytona support through Crabbox. The separate sandbox backend duplicates provider ownership and lacks the workspace-transfer semantics needed for large managed repositories. Reverts #121554
Concurrent preforked children can retain a pipe reader after the local handle closes. Assert the owned kernel flag before and after the real helper instead, and defer both handle closes. Keep the worker broken-pipe behavior test unchanged.
Add bounded, payload-free fixture observations for the Linux bootstrap CI timeout. Preserve the original action order, access controls, assertions and timeouts; no browser runtime behavior changes.
Observe aria-hidden mutations under the active tooltip trigger so revealed labels replace injected hint names. Cover descendant and nested-subtree hide/reveal/hide transitions with real role/name interactions.
Restore the exact handler package and snapshot needed by the intentional Tlon rollback after main pruned its last other caller. Frozen install and production audit resolve the complete graph without changing versions or guards.
|
Merged via squash.
|
Related: original Daytona addition #121554, canonical plugin/SDK removal #130996, canonical MCP cancellation proof #131680, transcript repair #131539, and SQLite fixture repair within #130986.
What Problem This Solves
This completes the incidental ACPX/Tlon portion of the maintainer's explicitly requested whole-original-commit rollback. Daytona's plugin, SDK, catalogs and docs were already removed by #130996; this PR preserves that canonical removal rather than duplicating it. It also retains the independently proven Swift test repair and fixes shared-tooltip accessible names uncovered while satisfying the landing gates.
A title tooltip could retain its temporary accessible name when an existing text node became a label or when an ARIA-hidden descendant became visible. Decorative ARIA-hidden text could also prevent a title from naming an otherwise unnamed control. The final repair covers initial content and active descendant/subtree transitions, without a Raw-button-specific workaround.
Why This Change Was Made
Current head:
8b01ee1ac17995a5ab8f0fcc536016b63ae9c121. Pinned branch base:a696e4f6875014a9a76fb48ead73b0f7da4937cb.The final refresh was driven by an actual failed merged dependency graph, not routine main drift. Main's valid dependency refresh #131719 removed its last handler 4.11.2 caller and pruned that resolution. Git's textual merge retained this PR's reintroduced Tlon caller while accepting the pruning. Both parents had valid graphs; their merged graph did not. One conflict-free rebase plus ten restored lockfile lines retains the exact previously reviewed package/snapshot, integrity and transitive references. All ten non-lock PR files are byte-identical to the prior head; no versions, overrides or guards changed.
The remaining inverse restores the ACPX fixture callback and Tlon S3 client/presigner pins from 3.1117.0 to 3.1113.0, including their 22 lockfile lines. This is deliberate whole-commit scope, not an accidental downgrade. Historical full revert
13bf3d26892d7b1cd8fff5dbe3c28a482de7d97dwas checked across the original 30 paths against3a5cb3847c77a0e021fdc90da8cdce0005e99d46; the current residual patch is not claimed byte-identical to that historical inverse.The Swift test now checks the writer's no-SIGPIPE flag, the property its helper owns. Concurrent forked children can retain pipe readers, so closing one local reader cannot prove process-wide reader closure. The unchanged real worker test still verifies that closed child input fails without terminating the app.
The tooltip repair extends the existing name predicate and active-trigger observer. Main's opacity/name distinction is preserved. The observer now receives both text-node and
aria-hiddenchanges; it releases only an adapter-owned name and preserves explicit ARIA ownership. Canonical MCP/transcript repairs are retained with no duplicate overlay. No SQLite or Doctor repair is included here: main's #130986 already owns the fixture writer-release/offline-maintenance correction.Two bounded test diagnostics remain: the existing catch-only Raw context and a browser-bootstrap observer on existing relay/direct-page boundaries. Neither changes production browser behavior, adds a CDP client/domain, rewrites the installed extension, retries an action, or weakens access checks/assertions/timeouts.
User Impact
Tooltips preserve the control's current accessible name across opacity, text and ARIA-hidden transitions, including nested labels. There is no new public API, configuration option, schema, protocol, dependency or runtime fallback. Crabbox remains unchanged; this is not a claim of Daytona feature parity or a fix for the separate direct-dispatch resource-class incompatibility.
Tlon's dependency reversal remains an intentional runtime-graph change. The inspected caller signs locally and uploads through guarded fetch rather than the SDK HTTP transport. The evidence below supports that specific path, not blanket security equivalence for arbitrary SDK consumers.
Evidence
Current source: 11 files, +691/-66. Production +7/-1 (net +6); tests/support +661/-52; dependency metadata/lock +23/-13. The active-ARIA repair is production +1/-1 and tests +38/-0; the final lock repair is metadata +10/-0 only. Production growth is confined to the existing tooltip predicate/observer; diagnostic growth is test-only.
Final dependency/build proof: the exact failed merge and clean rebased tree reproduced the missing snapshot with both frozen install and the existing production-audit owner. After restoring the original records, online pnpm normalization and actual frozen install both passed without changing the repaired lock bytes. The production audit passed its high-severity threshold, actual synthetic SDK signing again made zero transport calls, and 32 Tlon files / 300 tests passed. The complete standard root build passed in 5m 1.4s using the existing CI-supported 8 GB setting, including runtime/plugin compilation, CLI bootstrap, SDK declarations, UI and final metadata. The complete lock-selected changed gate passed all selected lanes, all 94 generated npm-lock checks, types/lints/guards, and zero runtime import cycles. No stages or safety checks were skipped.
The current full build's startup JavaScript is 345361 B, below the unchanged 347037 B limit, with 774 finalized sidecars. Node 24.20.0 / repository-pinned pnpm 11.22.0 were used. An initial offline normalization failed for unavailable cached registry metadata; normal online normalization passed with the exact repaired bytes unchanged. The installed Tlon client resolves handler 4.11.2; main's other callers retain their separate 4.11.3 resolution.
Active-ARIA behavioral proof (unchanged source bytes, before rebase): both new cases failed against unchanged production (2 failed / 10 passed): the real
Editrole lookup returned no control while the stale injected title name remained. The one-line observer repair then passed 49/49 tooltip tests (12 real-browser cases and 37 unit cases). Both new cases exercise hidden → revealed → hidden, real clicks by the exact current name, and restoration, for a label and its enclosing subtree. The earlier static-name regressions also failed against canonical main before repair.Local proof used Node 24.20.0 and independently signature-verified Google Chrome 151.0.7922.175 through the UI harness's existing executable override. Fresh temporary profiles, headless debugging pipes and cleanup were observed. This is signed local Chrome proof, not Linux Chromium 151.0.7922.34 parity. The separate extension-bootstrap fixture was not substituted onto that browser.
# From ui/, with the existing signed-browser override and live-mode flags unset: node ../scripts/run-vitest.mjs run --config vitest.config.ts src/components/tooltip-title.browser.test.ts src/components/tooltip.test.tsThe UI build passed unchanged budgets: 346512 startup gzip bytes <= 347037, with 774 finalized sidecars. Complete selected changed-file gates passed, including guards, dead exports, i18n, core-test/UI types, lint, styles and formatting.
The full, original-order real-Gateway auth file passed 3/3 in 63.12 seconds. It verified the served and loaded
assets/index-DK7nVSjM.jsagainst build SHA2569f4e454eaf61bf7f3822dc4c47dbe865786dcc8400f6bc09253db9b1690d68ac, oneconfig.set, exact 64-bit string persistence, both Raw interactions/readback, proxy and origin behavior, and closed Gateway/proxy ports. Only isolated test state was used.Fresh independent Codex autoreview of the rebased final tree covered all 11 files, including the restored lock records through complete scanned working-tree datasets. It returned no actionable P0–P2 findings, confidence 0.90. Source hashes remained unchanged through the subsequently completed build/checks and commit. The reviewer did not independently execute tests or count then-pending gates as passed. The earlier complete ARIA review was also clean; neither review is a substitute for exact-head hosted CI.
Hosted proof remains SHA-specific. Diagnostic-head run 33174560802, attempt 1, completed successfully on
b8fa96c7c4ab481e1c7355f97eebcae54ac67fda, tested as merge8f975a07d0e4b908d2d6ce8ff7f6da61e7111c03intocb696a1bb3b66a8d51392a8ab743e270e4f249cf. The repaired head's CI run 33180044724, attempt 1, has now completed SUCCESS on8b01ee1ac17995a5ab8f0fcc536016b63ae9c121, tested as mergecf0ef00f9634d60da0bdfc19bd5828a9fe960606. Actual executed proof includes 11,897 UI tests (one unrelated skip), all 49 tooltip cases including both active-ARIA regressions, real-Gateway MCP 2/2, auth 3/3, usage 2/2 and Logs 1/1; actual parallel Swift 1,859 app tests + 1,493 Kit tests; and complete browser-bootstrap and SQLite-lifecycle cases. Build and security-fast passed. This is current-head Linux proof, not reuse of the older run. A separately constructed merge with current main74d1852f730c3f095184808256179a36c3d9e4fdalso resolves all 1,132 production package names through the canonical audit owner, retaining both handler versions. The intervening failed run 33177042544, attempt 1, tested prior head d428 as mergef0121270c65a0b4428c0fdf5eabcfa8f2671f6dcinto1bfcb7158414f3152591524dd5d8967716ebf7b0. Its missing handler snapshot caused broad setup/audit failures before the affected tests, not tooltip assertions or a new advisory. That exact graph failure was reproduced and repaired as described above; the failed run remains failed evidence.Latest review dispositions: the active
aria-hiddenfinding is repaired with failed-before/passed-after real-browser proof. ClawSweeper's own mis-scoped UI command exceeded its terminal budget; the focused commands above completed. Its upstream/Codex availability gaps are covered by direct maintainer inspection:48dc20b6d01327fe9c8a5faa5fc6a9c76e325add, presigner6b5165f75fe30b7e2146259c4965f1d5189bba19. The resolved handler difference is the inspected Smithy own-property guard patch. Tlon's unchanged sign-then-guarded-fetch caller, actual synthetic SDK signing with zero calls to a throwing transport, and 32 files / 296 tests passed support the used path. No live S3 or blanket security claim.Generic local captures were inspected, but unchanged pixels do not demonstrate accessible-name semantics; real browser role/name assertions do. Media upload remains unavailable because device classification/publication approval is not established. No raw auth/config/hello/protocol bundles, transcripts or media are published. The current uninterrupted root build now passes; earlier 4 GB/partial build failures remain historical failures, and no new full release-suite or release-fixture-copy pass is claimed. A metadata-only commit also exposed a non-fatal macOS Bash 3 empty-array warning in
git-hooks/pre-commit:53; the commit completed and independently checked source hashes/gates remained unchanged. The empty-restage hook path is a named maintainer-tooling follow-up, not a hook bypass or change here. Land-ready on the verified PR head. After the main-only failures and expanded cleanup scope were disclosed, the maintainer explicitly requested landing this existing PR. Its required exact-head CI is green, direct dependency/Codex proof is recorded, and the current main9a7de4daa8102a77c1b4280a2bf4a4d55ec2177cmerge candidate's dependency graph resolves correctly. Proceed through the normal native prepare/merge gates without an admin bypass or more unrelated code changes. The earlier main agent.wait failure and newer main CI failures remain separate, documented follow-ups; no cause or repair is claimed for them. The main investigation was read-only, with no runtime or storage edits.