Repository navigation
test(rust): witness derived-local tuple arm inside closure - #3770
EffortlessSteven wants to merge 2 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedNext included review available in 41 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
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 |
|
Closing as a duplicate implementation front of earlier draft #3769. #3769 predates this PR, is based on the same protected merge No production code was committed here. Its initial run stopped at formatting, so it is not a behavioral red witness. The issue #1728 implementation and retained red/green evidence will continue only in #3769. |
Summary
Test-first implementation front for
EffortlessMetrics/ripr#1728, underripr#1714/#1453.Base is protected
ripr-swarm/main@6ab836c2e4d8497aed3dabdf59469fb6ed67bdd2, the reviewed merge of direct-function tuple discriminator #3767. Production is unchanged in this commit.Exact consumer-shaped witness
The fixture mirrors the unsupported
ub-review#1306structure:The changed arm is:
The positive oracle calls the outer owner and observes:
The sibling control exercises
(false, true)and must leave the changed request-only armWeaklyExposed / observation_unverified.Intended red witness
The merged #3767 implementation intentionally supports only a statement-free tail match over two direct Boolean parameters. It must not infer this closure/local/result-flow shape.
The first hosted run should therefore:
ExposureClass::Exposedassertion because the actual class remains weak/unverified.If the run fails earlier in fixture selection, related-test discovery, source currentness, formatting, or compilation, repair the witness before changing production.
Next production boundary
After the exact red witness is retained, implement only the bounded contract in
ripr#1728:return Nonesibling;Do not implement a general interpreter, broad assertion proximity, guards, alternation, Result/Option, return/error/field widening, source-role changes, or consumer rewrites.
Authority boundary
This development PR cannot authorize a RIPR release,
ub-reviewanalyzer pin, suppression, threshold change, Required-policy change, orub-review#1306merge. Frozen consumer comparison and adoption remain separately governed byub-review#813.Gates