Repository navigation
fix: Make compound assertion representations safe - #1720
Merged
Merged
Conversation
This was referenced Oct 25, 2026
Jammy2211
marked this pull request as ready for review
October 25, 2026 14:44
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
Printing a model's gathered assertions no longer recurses until RecursionError. Compound priors have a fallback string representation, and chained assertions display their two comparisons; existing arithmetic strings remain intact.
Closes #1716.
API Changes
Compound priors and chained assertions have safe, readable representations. No signature or output identifier changes.
Validation
ep_test_suite_is_not_xdist_safe.Remaining gate
Draft, not cleared for merge: downstream workspace smoke could not run because the required workspace checkouts/environments are absent. Heart reports STALE (unknown library status, no local test report/install verification/current release validation/push-credential check). No release or merge is authorized.
Prefer merging the test-only #1723 first to remove the existing flake. Complete downstream smoke, then use human /prm once required checks are green.
Combined validation commits
Mind record:
active/assertion_repr_recurses_forever.mdin PyAutoMind. Each task retains its own issue and PR.