Repository navigation
Sync upstream/main: merge PR 13 (the bounds test reads memory it owns, the options test covers all three decorators) - #37
Conversation
…a one-byte array they hit an unmapped page on Windows
…e options test; it named three and exercised two
…oded uncached; the one entry it had was killed by four older tests without the new legs
…the three decorator entries were killed by older tests as well
…the options test; forwarding only cache and boundscheck kept the suite green
…owned-memory Keep the bounds test's unchecked reads inside an array it owns
MiniMax Code ReviewLet me analyze this pull request to understand what it's trying to do.The changes are in two files:
Let me understand what the PR is trying to fix: Looking at the
Looking at the test changes in
The mutation guard is essentially enforcing that certain JIT options must be properly forwarded through decorators, specifically requiring The modifications ensure that Code ReviewThis PR adds test coverage to verify that JIT options ( Summary of Changes1.
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused test and mutation-guard changes are internally consistent and address the reported flaky access violation.
Review effort: Balanced
Findings: None
What changed in this PR
Hardens JIT-option tests by preventing out-of-allocation reads and expanding decorator coverage.
Changes:
- Keeps unchecked bitmap reads within owned memory.
- Verifies cache, bounds-checking, and
nogilpropagation across all three decorators. - Adds matching mutation-guard cases.
| File | Description |
|---|---|
test/test_cache.py |
Makes bounds tests safe and expands JIT-option coverage. |
.github/scripts/mutation_guard_check.py |
Adds mutations validating decorator option forwarding. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
From the fake Slim Shady: On the review of
Nothing to change. |
Merges
upstream/mainat 2af2c6d, the merge of Goykhman#13, into fork main. Git merged it clean, and the tree is identical to a683dd3, the head of #36, which ran green on the full fork matrix.