Repository navigation
fix: Preserve user-supplied assertion names - #1721
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
add_assertion(..., name=...) now retains the supplied label on simple and chained assertions. Failure messages and graph metadata can read it, and the graph catalogue regression now expects the label.
Closes #1717.
API Changes
The existing add_assertion(name=...) label is now readable on simple and chained assertions and appears in graph metadata and failure messages. No signature or 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/add_assertion_name_silently_dropped.mdin PyAutoMind. Each task retains its own issue and PR.