Repository navigation
fix(replay): bound source bundle and file counts - #5277
Conversation
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on a70d2ea. The verdict and the full list are in the summary comment.
|
The code at 0b34988 is ready, and no code change is required. Not blocking: these can be taken or left: since a remote The empty-list thread no longer applies and can be resolved, because an empty list now reaches discovery as on the base branch and a test covers it. The cancelled Body rules run is likely unrelated: it was superseded by a body edit or re-push, and it lints the PR body, not code. No test or build job is failing. Before merge, Body rules must re-run green, and one other check is still queued. Not verified here: tests were not run locally, and the 257+ flow impact assumes absolute client paths of 60-100 bytes, where about 330-540 flows fit before, so the exact earlier cut-off depends on the caller's paths. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 0b34988. The verdict and the full list are in the summary comment.
There was a problem hiding this comment.
All reported issues were addressed across 10 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: 1 new finding on cb5bcee. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on ce90c7e. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Finding | Fixed by | Where |
|---|---|---|
| Remote batch test count refusal loses limitCount/totalCount and the split hint | thymikee | cc389f3 · reply |
Reviewed with this repository's own Sentinel configuration (cddba76858da).
💬 Talking to Sentinel
In a finding's thread, reply with:
| 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 code at cc389f3 is ready, with no required changes since the earlier review. Not blocking: these can be taken or left: the count-refusal hint could say to split the inputs into separate invocations with narrower paths or globs (here and in the daemon checks), because sharding does not lower the number of inputs the client counts; the count assertions and limits could have one owner in These earlier threads are fixed and can be resolved: an empty source list now returns early (thread); the client now checks counts before reading or uploading, with a hint (thread); batch now forwards context (thread, thread) and keeps inner error details (thread); the guide now covers the per-bundle limit (thread), splitting inputs (thread, with the hint wording noted above) and non-local daemons (thread); the replay writer now checks the remote file count (thread); and the tests now assert the hint (thread), assert no suite reads (thread) and use a matching name (thread). All code jobs pass at this commit. The Body rules check was cancelled by a superseded run, which is likely unrelated to this change, and it needs a rerun to pass before merge. Not verified here: tests were not run locally, regression coverage was judged from the diff and the earlier code path, and third-party forwarding setups that could reach the loopback daemon listener without the proxy marker were not enumerated. |
c41ac49
into
fix/daybreak-daemon-boundaries
* fix(replay): bound source bundle and file counts * fix: let empty replay source lists reach suite discovery * fix: preflight remote replay source counts on client * chore: format replay source preflight * fix(replay): enforce remote source limits in nested batch steps * fix(replay): type structured batch regression fixture * fix: preserve batch step error details
* fix(replay): bound source bundle and file counts * fix: let empty replay source lists reach suite discovery * fix: preflight remote replay source counts on client * chore: format replay source preflight * fix(replay): enforce remote source limits in nested batch steps * fix(replay): type structured batch regression fixture * fix: preserve batch step error details
Summary
Bound non-local remote replay requests to 256 source bundles and 2,048 files, including empty-text files. Direct
testand nestedbatchtest steps refuse oversized suites before reading sources. Remotereplayrefuses oversized Maestro include closures before upload. Batch errors retain the limit counts and split-invocations hint. Local suites keep their prior count behavior. CLI help and the replay guide document the limits. This addresses the review concern on #5243 and is stacked on that PR.Before / after
batchwith a 257-source test loaded sources, then failed at daemon admission.limitCount,totalCount, and the split hint.replaywith 2,049 included files uploaded the bundle before refusal.INVALID_ARGSand the file count.Validation
Head cc389f3. Focused
packages/command-surface/src/index.test.tspassed 4/4. The previous head's focused command-surface and replay-port files passed 41/41. Current-head CI is pending. No live device validation is required for these client preflight and documentation changes. A custom transport without a daemon URL cannot be classified for client preflight; daemon admission still enforces the limits.