revert: palace_graph ranking tests written against the pre-f68cb8d API (#916) - #2301
Merged
Conversation
This reverts commit 9d79169.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Why
developis red.tests/test_palace_graph_limits.py, merged from #916, fails identically on linux 3.11, macOS and Windows:This reverts that merge to get
developgreen again. It is not a judgement on the coverage, which is worth having.Root cause
#916's CI last ran on 2026-04-15. Its checks were green, but against April's
develop— GitHub does not re-run CI when the base branch advances, it just keeps displaying the last result, andmergeStateStatus: CLEANonly means "no textual merge conflict".palace_graph.pyhas moved substantially since, in particularf68cb8d fix: scope derived graph state to explicit palace.find_tunnelsandgraph_statsnow take aconfigargument and resolve derived state throughbuild_graph(col, config):The tests hand in a
MagicMockcollection and expect the graph to be derived purely from it. Under the config-scoped implementation that no longer holds, so the assertions collapse to 1 result. They encode the pre-f68cb8darchitecture rather than failing on a real regression — there is no product bug here to fix.Why revert rather than repair in place
Rewriting the tests would mean guessing at the coverage @fatkobra intended and committing substantive authorship onto their PR. Better to restore
developnow and let the tests be rebuilt against the current API, with the original author credited. I'll follow up on #916.Verification
The other ten PRs merged in the same batch are unaffected and stay on
develop.