Repository navigation
Retire --reach-enable-analysis-splitting - #466
Conversation
The Coana CLI no longer splits analyses, so the flag has nothing left to turn on. It is now a hidden no-op, like --reach-disable-analysis-splitting. It still parses, so existing CI scripts keep working. Reachability now always passes --disable-analysis-splitting to Coana. A version picked with --reach-version that still splits by default runs a single analysis too, and newer versions ignore the flag. Bump to 2.13.3.
reach_disable_analysis_splitting and reach_lazy_mode were copied into CliConfig but never read. They are gone now, the same as the new --reach-enable-analysis-splitting no-op. The argparse definitions stay, so all three flags still parse. The hidden-flag test now covers --reach-lazy-mode too.
PR SummaryLow Risk Overview Reachability now always forwards Docs drop the public flag listing; new tests assert the Coana flag is always set and that deprecated reach flags accept input but stay off Reviewed by Cursor Bugbot for commit 67c15da. Configure here. |
|
bugbot run |
--reach-enable-analysis-splitting
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 67c15da. Configure here.
|
Martin Torp (@mtorp) When you have a chance to rebase this branch, I'd lean towards versioning as |
Moves the release to 2.15.0 above main's 2.14.0, and the changelog entry now has an upgrade note for jobs that opted in to splitting.
|
lelia Agreed on both points. The pinned Coana still supports splitting, so jobs that opted in really do change behavior.
|
The Coana CLI is dropping analysis splitting. Each heuristic now runs one reachability analysis, and Coana keeps
--disable-analysis-splittingonly as a hidden no-op. This PR retires our opt-in flag to match.--reach-enable-analysis-splittingis now a hidden no-op, the same way--reach-disable-analysis-splittingalready is. It still parses, so CI scripts that pass it keep working.--disable-analysis-splittingto Coana.--reach-versioncan still pick an older Coana that splits by default, and this keeps those runs to one analysis. Newer Coana ignores the flag.enable_analysis_splittingparameter, thereach_enable_analysis_splittingconfig field and the call site are gone. The argparse definition stays so the flag is accepted.reach_disable_analysis_splittingandreach_lazy_modeconfig fields are gone too, so all three deprecated flags are retired the same way. Their argparse definitions stay.docs/cli-reference.md.--disable-analysis-splitting, and that the deprecated reach flags parse and stay out of--help.Jobs that don't pass
--reach-enable-analysis-splittingbehave the same, since the CLI already passed--disable-analysis-splittingfor them. Jobs that pass it change behavior, because the pinned Coana still supports splitting. With splitting, a reachability analysis that failed or timed out was retried in smaller batches. These jobs now run a single analysis, so their results can differ.Tests:
uv run pytestpasses (1164 tests).uv run ruff checkpasses.Public Changelog
--reach-enable-analysis-splittingis deprecated and no longer has an effect. With it, a reachability analysis that failed or timed out was retried in smaller batches. Jobs that pass it now run one analysis, as jobs without it already did, so their results can differ. The flag still parses, so existing CI commands keep working.Expected reviewer effort: High-level design decisions