Repository navigation
test(reporting): integrated accounting, compatibility and resource validation - #277
Conversation
…262) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The integration test can leave workload processes running after a timeout, and its self-referential reservation check can miss insufficient rollback space.
2 open issues
What changed in this PR
Strengthens validation of RegShape’s request reporting for #262, covering integrated accounting, compatibility and resource limits. Performance acceptance and final feature documentation remain separate gates.
Changes:
- Adds authentication, redirect, redaction, cancellation and storage-limit integration tests.
- Strengthens endpoint accounting and expands existing CI selectors.
- Adds a paired metadata benchmark with recorded macOS evidence.
| File | Description |
|---|---|
src/regshape/tests/test_request_report_integration.py |
Adds integrated reporting and resource-limit checks. |
src/regshape/tests/test_request_observation.py |
Checks exact unique endpoint counts. |
src/regshape/tests/benchmark_request_report.py |
Measures report-on/off metadata and rendering costs. |
docs/library/request-report-validation.md |
Documents coverage, measurements and acceptance limits. |
docs/library/request-report-validation-macos.json |
Records paired macOS benchmark evidence. |
.github/workflows/tests.yml |
Extends compatibility and native-platform test selectors. |
Review effort: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
🔵 Needs a closer look
Owner acceptance of runtime and peak-memory overhead, security disposition, and separate merge authorization remain explicit human-review gates that metadata-only evidence cannot satisfy.
No open issues 🎉
2 resolved since last review
Review effort: Balanced
Handle driver SIGTERM through subprocess cleanup, retain ownership of sample temporary files, and test worker reaping without success-shaped evidence. Implement the text sink protocol and guard live group/database interfaces. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |

Summary
Closes #262
Related tracking issue: #254. Required final feature documentation remains #263.
Validation
docs/library/request-report-validation-macos.json. Exact benchmark driver SHA-256:16893b49f72e3b2a348bf89d106126e2d8de177efebc6ba9340047354cffb290.Resource evidence and acceptance gate
These are metadata-only measurements with zero network dispatches/payload bytes, not registry throughput or transfer-performance certification.
spool_limitat 134,021,120 database bytes, conservatively within the 256 MiB database-plus-rollback-reservation budget.No performance budget has been approved. Owner acceptance of workload-specific elapsed/CPU and peak-memory deltas remains a default-on/release-readiness gate. This PR must not be merged without separate authorization; no merge, release, or branch/worktree deletion is authorized in this session.