Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 23 files
Tip: cubic used a learning from your PR history. Let your coding agent read cubic learnings directly with the cubic MCP.
Re-trigger cubic
|
The reviewed commit is a3bf16c. I found one defect in the repair-tombstone change that needs a fix before merge. The PR now writes the repair tombstone under the store address (session-store.ts:334 and :345), for example The Smoke Tests failure looks unrelated to this diff. Before merge, please make the router read repair tombstones through the request's resolved store address, add the cwd-scoped router regression, and rerun Smoke Tests to green. |
|
I checked #3142 at 958983e against the repair-tombstone finding here. The new owner check fixes collisions between names that sanitize to the same directory. It does not fix the scoped-address mismatch: |
d42ec00 to
fb3df65
Compare
3ea090a to
ec8a4f8
Compare
ec8a4f8 to
7e96b83
Compare
7e96b83 to
130fe6e
Compare
|
The repair tombstone mismatch from the earlier review (#3140 (comment)) is still open at 130fe6e, so this needs one more change. The Cubic owner-check thread is now fixed.
Not blocking, and fine to take or leave: On that last point, could On the other threads, the Cubic CI is still pending. Nine jobs were cancelled by superseded runs, with no failure logs, and one Smoke Tests job is still running on 130fe6e. The diff touches the smoke route (snapshot, press and fill settle, close and script finalization on iOS and Android), so Smoke Tests must be green on this head before merge. The physical-iOS recording-health run (record start, interaction, record stop with the runner AVAssetWriter backend and showTouches, showing the recording survives with a runner session id) is still blocked on signing. Please run it on this head or note it as outstanding risk. I ran no tests or mutants on this head, so whether each regression test fails without its fix comes from reading the code. I did not confirm that the CLI always sends |
130fe6e to
8502457
Compare
8502457 to
ec86c18
Compare
fd4be0b to
5d65b7f
Compare
|
Updated review fixes are included at Repair and idle readers share scoped address resolution. Cwd/tenant controls preserve expiration and commit-failure errors and their causes, and refuse another workspace’s marker. Three controls were red before the fix; all fourteen repair/idle controls pass. Nested interaction adapters already reuse supplied refs; the optional wider migration is deferred. The fixture directories have automatic per-run cleanup. Current dependencies, exact-head gates and evidence still required. Fresh GitHub/native evidence and approval remain separate; pending or canceled runs are not passing evidence. The user handles all merges. |
423be5b to
3f40d8d
Compare
|
The repair-marker finding from the earlier review at 130fe6e is fixed at 423be5b: the scoped-address reader now matches the writer in request-router.ts (lines 619-621), and the new regression cases cover it. I read the 130fe6e and 423be5b code to judge that each regression fails without the fix. I ran no tests or mutants, and I did not confirm that the CLI always sends meta.cwd for implicit sessions. The code looks right to me, but the evidence is still missing. Smoke Tests need to be green on 423be5b on both the iOS simulator and the Android fixture lanes. The runs must reach snapshot, press/fill settle, and the close step with script finalization, because this PR changes those routes. A run that stops at the known wait-text capture-truncation flake before close does not count. The physical-iOS recording-health run stays noted as an outstanding risk, as the earlier review allowed. CI is unclear. On 423be5b, Coverage and Compatibility & Provenance failed, and Smoke Tests, Lint, Repo Guards, Typecheck and Integration were cancelled or queued. I have no failure logs for this head, so I cannot attribute the failures. Coverage runs the unit suite, which exercises the daemon session-store, router and observation routes this PR changes, so please check that log first. I did not read the Compatibility & Provenance log. There are no conflicts. Before merge, Smoke Tests (iOS and Android, through close and script finalization), Coverage and the rest of CI need to be green on 423be5b. Not blocking, take or leave: the new test.each cases in https://github.com/callstack/agent-device/blob/423be5b/src/daemon/__tests__/request-router-repair-expired.test.ts#L176 compute the publish address with the same resolveEffectiveSessionName({attachesToSession:false}) the reader uses, while the production writer takes its address from open-time routing, so driving the publish through a real open request in the same cwd and tenant scope would test the pairing; the new cases also create mkdtemp roots without removing them, unlike the earlier tests in the file that call fs.rmSync(root). On the open threads, the two cubic-dev-ai P2 threads no longer apply and can be resolved: #3140 (comment) (storeSessionForTest address parameter, already resolved and unchanged in this delta) and #3140 (comment) (the owner check is in session-repair-tombstone.ts, and the scoped-address reader mismatch is fixed at request-router.ts:619-621). The head moved to 3f40d8d after this review. The new commit comes from the base branch (it joins daemon dispatches before shutdown retires session admission), so this verdict still describes 423be5b. I will check the new head separately. |
3f40d8d to
42ce911
Compare
|
The scoped-address fix remains included in The temporary directories are already removed by I also checked both failure logs at Current-head Android Smoke Tests are green. The artifact step history reaches snapshot, form fill/readback and capture-close, then confirms the session is absent. It does not independently assert saved script contents; I am keeping that distinction and the pending iOS run explicit. The current-head iOS Smoke Tests are also green. The fixture E2E artifacts contain 98 steps, including snapshots, semantic press, form fill and successful close/session removal. Both native runs reach ordinary close, which synchronously calls |
|
The PR is ready at 42ce911. The scoped-address problem from the earlier review (#3140 (comment)) is fixed, and I found no new problems in the changes since 130fe6e. Not blocking, and you can take or leave these. A repair marker is keyed only by address, and Both open inline threads on CI is green: every job passes on the current-head runs, and the cancelled entries are superseded duplicate runs. There are no conflicts. I did not run tests or mutants on this head, so my read of the regression fix comes from the 130fe6e and 42ce911 code. I did not trace whether the CLI always sends the same |
Summary
Resolve repair and idle tombstones through one request-scoped address helper. Preserve expired-repair and failed-commit errors, including their causes, for cwd and tenant sessions. Journal, observation and health writers retain the captured lifetime.
76 files; part of #3116. Base: #3135. #3127 must land before this group.
Validation
Commit
42ce91199259caba38c87364214a1ed854cb5635. The exact-headpnpm check:affected --base 9252d8251f --rungate passed. Test Files 391 passed (391); Tests 2734 passed (2734); Test Files 1 passed (1); Tests 12 passed (12).Fresh GitHub CI and review remain separate. Required native confirmation remains pending; physical recording-health proof is blocked by Xcode signing. The user handles merges. Dependencies, regression evidence and remaining checks.