fix(parallel): validate controls before native discovery - #880
fix(parallel): validate controls before native discovery#880seonghobae wants to merge 4 commits into
Conversation
|
Warning Review limit reached
Next review available in: 52 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull request was closed
|
Closed as superseded by #923 after fresh head/diff comparison. The live #923 lane preserves #879’s exact-type integer control contract and Rust-owned Horn/Glorfeld arithmetic, while additionally validating the public data/control boundary before native discovery and carrying explicit arbitrary integer-protocol/callback regressions. Keep #923 as the sole active implementation lane for #879; no source from this branch was merged. |
Scope
Fix #879 at the public parallel-analysis control-marshalling boundary without changing Horn/Glorfeld factor-retention mathematics.
Protected
mainaccepted broad Python/NumPy integer subclasses throughisinstance(...)and then normalized them withint(value). Caller-defined subclasses could therefore execute conversion code before trusted controls were established. The public wrapper also discovered the compiled core before validatingn_iterations,centile, andseed.Test-first lineage
99fbf30ce03fac9472264901b37412fdb61f17edadds public regressions for hostile Python and NumPy integer subclasses and proves malformed explicit controls must fail before_core_module()discovery.__int__, and malformed controls reached native-core discovery first.ad9c7f54d05b0fd774c95a83d21ee1495df4e502admits exact built-in Python integers and exact supported NumPy integer scalar types, validates every explicit control before native discovery, and preserves genuine NumPy scalar normalization.2323c629a4102680e87399276f573fc760bcc0dfadds canonical changelog evidence.9dd71c00e4ce2688ec007877d0d0f73386c8b184adds APA-traced scientific/security doctoring while keeping the implementation scope unchanged.Preserved contract
n_iterationsremains positive and defaults to30 * n_itemswhen omitted.centileremains bounded to0..=99.seedremains bounded to Rust/PyO3u64.Verification
__int__execution and native discovery before validation.np.int64preservation.Exact current state
fb67ced09d8ee00542c05d56374537a9a7239751.9dd71c00e4ce2688ec007877d0d0f73386c8b184.Any future source-head movement invalidates this evidence and requires a fresh exact-head sweep. No gate is weakened or bypassed.
Fixes #879. Advances #608.