Repository navigation
test(xmldsig): spend the remaining allowance before finishing - #384
Conversation
The finalization admission test measured the work spent before finish in one run and replayed exactly that allowance in a second. Accounted table lookups charge each candidate whose hash tag matches, which depends on every table's random seed, so the second run could spend less and let the provider finalize. The remainder is now spent in place after the update, as the replay tests do. Closes #383
Codex Review SummaryThis 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. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
finalization_is_admitted_before_the_provider_runsno longer assumes two runs charge identical work: it spends the remaining allowance in place after the update, then checks thatfinishrefuses before the provider runs.Changes
tests/detached_payloads.rs: one run with an ample allowance; the remainder is charged afterupdate, and the refusal and the unentered provider are asserted.Testing
The test passes 300 times in a row under the
xslt-fat-runtimefeatures on macOS; lints and formatting pass. CI runs the full matrix.Closes #383
Summary by CodeRabbit