test(nat): skip slow Miri tests under emulation - #1840
Conversation
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Included review availability: 3 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe PR adds emulation-specific skips to six masquerade and allocation tests. It also increases the configured core limit for three Miri workflow runs from 8 to 10. ChangesMasquerade emulation handling
Miri resource configuration
Priority: ⬇️ Low 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 77.78% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 9 functions across 2 files. (1 skipped: 1 unsupported.) Comment |
bb4c509 to
bd48443
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
bd48443 to
c824324
Compare
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Reduces emulated/Miri test runtime by skipping six slow NAT tests while preserving native execution.
Changes:
- Skips five masquerade tests under emulation.
- Skips one IPv6 allocator test under emulation.
| File | Description |
|---|---|
nat/src/masquerade/test.rs |
Skips five slow masquerade tests during emulation. |
nat/src/masquerade/apalloc/test_alloc.rs |
Skips one slow IPv6 allocator test during emulation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Six NAT tests exceeded 300 seconds in Miri CI runs, with the longest taking 3912 seconds. Ignore these tests under the emulated cfg shared by Miri and QEMU to reduce merge queue delays. These tests remain enabled in native runs. Signed-off-by: Daniel Noland <daniel@githedgehog.com> Co-authored-by: Codex <codex@openai.com>
We have 10 cores, may as well use them. Signed-off-by: Daniel Noland <daniel@githedgehog.com>
9226f7b to
cf1f33e
Compare
reduce miri runs