Repository navigation
test: derive board footer family from Brain (Nerves+Gut stale literal) - #242
Merged
Merged
Conversation
The footer-family test pinned the six-board family and went red once PyAutoBrain added the Nerves and Gut boards (config/policy.yaml board: boards:). Derive the expectation from _theme.board_links, the same read the renderer makes, so the next organ birth cannot re-break it. Refs PyAutoLabs/PyAutoMind#450 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/test_dashboard.py::test_the_family_footer_carries_the_cortex_in_the_canonical_orderpinned the six-board family as a literal and has been red on main since PyAutoBrain added the Nerves and Gut boards toconfig/policy.yamlboard: boards:(PyAutoNerves#172, PyAutoGut#9). The expectation is now derived from the Brain —theme().board_links("", BOARD_KEY), the same read the renderer makes — so the test still checks canonical (policy) order, that the Cortex is present and that this board omits itself, but the next organ birth cannot re-break it.This clears the pre-existing red on PyAutoHeart#240 / PyAutoHeart#241 and PyAutoHands#291 (and Heart main CI).
Fixes the Heart half of PyAutoLabs/PyAutoMind#450.
API Changes
None — internal changes only (test file only).
Test Plan
env -u PYAUTO_ROOT -u PYAUTO_MIND -u PYAUTO_BRAIN -u PYAUTO_HEART -u PYAUTO_HANDS, OMP_NUM_THREADS=8): 1063 passed, 0 failed-k footer, 3/3) pass against the PyAutoBrain#427 branch (feature/eyes-organ-order, via PYAUTO_BRAIN)eyesboard aftermemory(the canonical Brain, Mind, Cortex, Memory, Eyes, Heart, … order) — the old literal would fail thereSibling PR: PyAutoLabs/PyAutoHands#292 (same fix in tests/test_board.py).
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ