Fix the grcbc outflow tests that #1854 broke - #1889
Conversation
MFlowCode#1877 added TestGrcbcOutflowTargets with grcbc_in = T in its fixture but never supplied the inflow state. MFlowCode#1854, merged next, correctly began requiring that state, so master has failed Lint Toolchain / Toolchain Compatibility on every push and every open PR since 386e615. grcbc_in and grcbc_out are independent switches, and these tests exercise only the outflow branch, so the fix is to leave grcbc_in off. A -7 boundary without grcbc_in is a plain subsonic inflow, which is all the far side of the fixture needs. Neither validator changes. Diagnosed and fixed with Claude Code.
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Pull request overview
Fixes the TestGrcbcOutflowTargets fixtures so they no longer enable grcbc_in without supplying the required inflow state, restoring validator and toolchain test compatibility.
Changes:
- Removes
bc_*%grcbc_infrom the outflow test fixtures. - Adds comments documenting why
grcbc_inremains disabled whilegrcbc_outis tested.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1889 +/- ##
==========================================
+ Coverage 61.35% 61.53% +0.17%
==========================================
Files 84 84
Lines 22224 22341 +117
Branches 3255 3271 +16
==========================================
+ Hits 13636 13747 +111
+ Misses 6152 6144 -8
- Partials 2436 2450 +14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Master has failed Lint Toolchain / Toolchain Compatibility on every push and every open PR since
386e615(#1854). This is what is behind the red lint gate on #1887, #1867, and anything else rebased onto current master — none of those PRs touch the toolchain.The cause is a merge-order collision. #1877 added
TestGrcbcOutflowTargetswithbc_x%grcbc_in = "T"in its fixture but never supplied the inflow state. #1854, merged next, correctly began requiring that full state. Each PR was green against the master it branched from; together they fail:grcbc_inandgrcbc_outare independent switches, and these four tests exercise only the outflow branch, so the fix is to leavegrcbc_inoff in the fixture. A-7boundary withoutgrcbc_inis a plain subsonic inflow, which is all the far side of the fixture needs. Neither validator changes — both #1854's and #1877's checks are correct as written.Type of change
Scope
How Has This Been Tested?
pytest mfc/test_case_validator.py: 73/73 pass (was 69/73). Bisected the three commits touching the validator since the tests were added: passes at63c0c9eand6265185, fails at386e615../mfc.sh precheck(full toolchain test suite): passes.Checklist
./mfc.sh formatbefore committing my codeDiagnosed and fixed with Claude Code.