Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 11 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
Thanks for the change. At 52ec7eb I found one gap: the changed device path has no live run yet. The PR body says live-provider evidence is still pending, and the new fixtures stub openApplication and runtime facts. This PR changes the device-facing open route, so merge needs a live run of it: session-open-execution.ts#L212 covers reopen publication, fresh publication ordering, the provisional beforeDispatch publication used by Not blocking, and fine to take or leave: the blocked-directory test at session-open-execution-runtime.test.ts#L607 uses a bare Could the size come down? The session-open-state seam is small. Most of the weight is nine The earlier cubic-dev-ai thread on session-open-runtime.fixtures.ts does not apply, so you can resolve it: the temp root's CI is green with 14 checks and none failing, and there are no conflicts. I did not run the focused tests, and I judged the new tests against the old code paths by reading only. I also did not check whether the router already serializes concurrent fresh opens of one session name across devices, since |
|
Completed the requested live controls at Fresh Session lists before/after each open contained one entry: {
"address": "cwd:bd54d58de95a06c0:android",
"createdAtBefore": 1791032271520,
"createdAtAfter": 1791032271520,
"journalOpenActions": ["Opened settings", "Opened com.google.android.deskclock"]
}Both Also ran this separate native script with Result: one attempt passed, seven steps replayed, no healing or failures. The timing trace records video start before the first open, both successful opens, and successful recording finalization at close. The exported MP4 is playable H.264, 1080×2400, 6.050 seconds; attached below. The owned sessions and isolated daemon were cleaned afterward. recording.mp4 |
|
Thanks for the live runs at 52ec7eb. They cover all three paths: the fresh One question from my earlier review is still open: could the size come down if SessionStore update and publish enforced admission, so publishOpenSession is the single gate? If you rejected that design, or it must wait for #3116, a short note on why is enough. I will add the ready-for-human label after that. |
5c349ba to
10ff582
Compare
52ec7eb to
9842be3
Compare
10ff582 to
f36994c
Compare
9842be3 to
adb93d3
Compare
f36994c to
974356e
Compare
adb93d3 to
838f115
Compare
974356e to
b08a3f6
Compare
838f115 to
55f0ce9
Compare
b08a3f6 to
c0cb32f
Compare
55f0ce9 to
14594d1
Compare
…eclarations Daemon session bindings inferred a binding type whose clear result was an alias the durable-capture entry never exported, so declaration emit failed with TS2883.
Binding app-log capture through the session capture binding pulled that module into session-teardown's eager closure. Teardown now imports the app-log resource only when a session has an app log to stop.
Session teardown imported three per-capture binding modules plus their shared binding, which grew its eager closure past the merge-base. The audio, perf and screen-recording bindings now live beside bindSessionCapture.
14594d1 to
08940db
Compare
c0cb32f to
0e24d48
Compare
0e24d48 to
7f2e379
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
Reopening an app now updates the latest record of its admitted session lifetime. One publication helper preserves resources, recording, claims, creation time and script-authoring behavior; retirement or daemon shutdown refuses a late open result.
Provisional publication retains its existing before-dispatch timing. Final publication follows artifact-directory and response construction. Foreground snapshot composition carries the exact published ref, so it cannot capture or mutate a successor at the same address.
Eleven files changed. Part of #3116, stacked on #3144.
Validation
Validated
52ec7ebd05: 70 focused tests through daemon handlers and the request router. Seven planted regressions fail, then restored source passes. Quick and Fallow checks pass;pnpm check:affected --base fix/replay-observation-lifetimes --runpasses all selected runnable gates and 1,628 related tests across 265 files.Controls cover held native launch, same-lifetime rebuild, retirement with record reuse, provisional replacement, cancellation, shutdown admission, a real blocked artifact directory, and foreground composition after publication. Independent review found no remaining findings. CI and live-provider evidence remain pending on the published head.