Repository navigation
Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 30 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on 7031f3b. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
|
At bb6328c, six likely defects need fixes before merge. They can let another tenant or a later session reach a recording, certify a replaced file, return unusable IDs, or expose a host path. Each fix needs a test that reaches the described state and shows the expected refusal. A second independent pass found a likely tenant gap at A second independent pass found a likely lifetime gap at A second independent pass found a likely proof gap at A second independent pass found a likely first-publish gap at A second independent pass found a likely error leak at A second independent pass found a likely race at Not blocking: take or leave these: use the registry's The design already matches the smaller shape that #5059 asked for: one terminal write, no pending export state, no retention module, and 207 net production lines. Could ownership be tightened further, with capture-kit taking the reserved path as a typed finish input and writing and reading the proof through one exported pair such as None of the earlier threads still applies, so these can be resolved. A retry on a missing file is refused with The required evidence is satisfied. The Not verified here: CI test results at this head were not rerun or inspected, and the test counts come from the PR body. The live evidence is in #5100 at 42b91eb, which contains 7031f3b; its raw logs were not inspected. The latest commit changes only in-memory tenant matching and docs. It was not checked whether a shipped 0.21.x client or MCP surface requires The six fixes above need to land before merge. The maintainer decides whether the typed capture-kit owner and the shared tenant predicate belong in this PR, or in follow-up issues with the missing-file and screenshot-owner notes. The tenant gap above still needs its fix here. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 0f38747. The verdict and the full list are in the summary comment.
|
All six blocking problems from the earlier review of bb6328c are fixed at 0f38747, with routed regressions. One problem remains: a failed export checkpoint can expire a freshly produced retry. A second independent pass found this likely defect in screen-recording-session-resource.ts#L110. Take a remote Android stop where finalization succeeds, then the manifest rename for the export checkpoint fails before it lands. The wrapper stores the file identities before it calls Proof must belong to the export checkpoint that actually lands. If the write fails before that checkpoint is published, only its provisional proof should be dropped, so a retry that really finalizes again can record fresh identities. Checkpoint replays and memoized completions must keep the original proof. Please add an HTTP regression that fails the export-checkpoint rename once, then expects a successful download after the producer writes the files again. This earlier thread on refusing a remote-style stop does not apply and can be resolved: #4970 requires that refusal so no caller-owned host file becomes a download, and a local stop still succeeds. All 18 checks pass at this commit, and the required live evidence is in place. Not verified here: the ten new HTTP tests were not run locally, and their failure on bb6328c was established by reading the earlier code. The raw logs of the #5100 Android 16 live run at bfd9e77 were not inspected. No iOS live run covers the This retry problem needs a fix and its regression before merge. |
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
The remaining problem from the earlier review of 0f38747 is fixed at 118d16f, with a routed regression, and no new code problem was found. A failed export checkpoint no longer leaves stale file proof that expires a freshly produced retry. This earlier thread on refusing a remote-style stop does not apply and can be resolved: #4970 requires that refusal, a local stop still succeeds, and the new change does not touch that code. The required live evidence is in place. The Android 16 run from #5100 accepted in the previous round is enough, because the new change is a platform-neutral reorder in capture-kit. Not verified here: the new HTTP regression was not run locally, and its failure on 0f38747 was established by reading the code, which identifies files by device and inode and replaces them through a temp-file rename on each finalize. A store write that throws after the rename lands, such as in a later fsync, is not handled: the checkpoint persists without cached proof, and the retry returns The other 17 checks pass at this commit. Body rules was cancelled, not failed. It lints the PR description and runs no code that this change touches, so the cancellation is likely unrelated. Before merge, Body rules only needs to run again and pass. |
Summary
Refs #4970. Supersedes the direct recording work in #5059. The live producer captures file identities before committing the export checkpoint and retains that proof after the checkpoint lands. The daemon writes the proof with completion and serves verified outputs under the producing lifetime, tenant, and lease. Suite delivery follows in #5100.
Before / after
RESOURCE_EXPIRED. Unverified recovered or legacy exports stay on the host.Validation
118d16f4a7, the new HTTP test reproduced the old expiry and then downloaded the re-produced video with the fix. All 40 focused tests, typecheck, and Fallow passed. All 11 runnable affected checks passed withexactCommit: true.0f387473f8, all 11 runnable affected checks passed withexactCommit: true. The Android 16 run on fix(replay): publish recordings after suite archive copy #5100 included that commit and verified a decodable MP4 and telemetry from direct stop over HTTP.