Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 18 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
Reviewed 6dbfec9. The shutdown fix has a gap: implicit sessions are not covered by a test or a live run, so this is not ready to merge. daemon-runtime.ts:461 now finds hints by the store key, so an implicit session (key Not blocking, take or leave: the test at snapshot-command-runtime.test.ts:151 feeds a retired The cubic-dev-ai P3 thread on the single liveness check in touch response still applies: #3154 (comment) Coverage and two Smoke Tests jobs are still pending, and Repo Guards, Integration, Typecheck and two Smoke jobs pass at this commit. Nothing has failed, and Smoke covers the open, snapshot and click routes this diff touches, so a failure there would count. I ran no tests and read the code only. I also did not confirm live that implicit sessions publish with a name different from the address. I inferred it from the cwd scoping in |
|
Implemented the owning-helper correction in #3170 ( The regression tests pass a cwd-scoped ref alongside a separate public-name slot with different hints. Shutdown captures the scoped values before awaiting cleanup. A retired ref cannot adopt a successor's hints. Four cases failed before the fixes; all 28 focused controls now pass. The full deterministic gate also passes: 12,241 unit tests plus tooling, packaging, leak checks and smoke controls. Live sequence, with no node bin/agent-device.mjs open settings --platform ios \
--udid 39177FA7-6B35-4A10-84BB-23DA353990FD \
--state-dir /private/tmp/3116-live-shutdown \
--metro-host ownership-3116.invalid --metro-port 8123 --foreground --json
# runtime set over the authenticated client transport to this existing daemon
node bin/agent-device.mjs daemon stop \
--state-dir /private/tmp/3116-live-shutdown --clean --jsonThe transport probe asserted that PID/start-time identity stayed unchanged. It sent Observed results: {
"head": "07a82a682374f970abb80edac24330ac582881a7",
"session": {"name": "default", "address": "cwd:bd54d58de95a06c0:ios"},
"runtimeSet": {"daemonUnchanged": true, "ok": true, "session": "cwd:bd54d58de95a06c0:ios", "metroHost": "ownership-3116.invalid", "metroPort": 8123},
"nativeBefore": {"RCT_jsLocation": "ownership-3116.invalid:8123", "RCT_packager_scheme": "http"},
"stop": {"stopped": true, "mode": "graceful", "cleanupConfidence": "known", "claimsReleased": 1, "warnings": [], "clean": true},
"nativeAfter": {"RCT_jsLocation": "missing (defaults exit 1)", "RCT_packager_scheme": "missing (defaults exit 1)"}
}The open request log records both native |
|
Thanks for the live run. It covers the shutdown route I asked about: the implicit session's Metro hints were set, and after |
a6fd685 to
7a53be3
Compare
fc2d5e2 to
a3692c1
Compare
50a3e96 to
8b08557
Compare
a3692c1 to
c76306f
Compare
8b08557 to
4aa8123
Compare
c76306f to
f9f694b
Compare
f9f694b to
7275a66
Compare
0843195 to
1f6b774
Compare
|
Consolidated into #3144 as part of reducing #3116 to seven PRs. The composition preserves the complete pre-consolidation source tree, including tests and later review corrections. This PR is superseded; its review discussion and native evidence remain available. Outstanding findings transfer to the owning keeper in the implementation record. |
|
Summary
Carry the opened lifetime into foreground snapshot resolution and derive its artifact address there. Runtime clear uses the latest matching record before its native effect and refuses to clear a successor’s hints afterward. Pre-open configuration remains address-scoped; shutdown captures hints from the stored address before teardown.
Clipboard refuses retirement before admission and binding. A retired point-touch response skips its optional frame probe without emitting a warning. Correct the replay fixture’s journal address and patch-callback descriptions.
Eighteen files changed. Part of #3116, stacked on #3153; addresses comments on #3150 and #3151.
Validation
Validated
6dbfec9a4b: 57 focused controls across seven files pass; eight new regression cases failed before their fixes. Concrete mutations of runtime-clear lifetime and latest-record checks fail; original bytes restored. Quick checks pass. Fallow reports no new findings; independent read-only review found none.pnpm check:affected --base refactor/session-fixture-lifetimes-routes --runpasses all selected runnable gates and 2,108 tests across 319 files. CI is pending; live evidence for the underlying device routes remains tracked on their owning PRs.