Skip to content

fix: Preserve user-supplied assertion names - #1721

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/assertion-names
Oct 25, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/assertion-names

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

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

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
assertion-repr: 04ae11791d905eda26992f89b1084ddbc1617f52
assertion-names: 45474dcf7291213e0393d07610c3f53dcb880dcd
fixed-instance-tuples: fa8db344be35c80996fcd5a6004c35c25527d46b
seed-start-point-tests: 5284f039bec44fdd06aa196373026031a706f9fb

Mind record: active/add_assertion_name_silently_dropped.md in PyAutoMind. Each task retains its own issue and PR.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Oct 25, 2026 — with ChatGPT Codex Connector
@Jammy2211
Jammy2211 marked this pull request as ready for review October 25, 2026 14:44
@Jammy2211
Jammy2211 merged commit 75124bb into main Oct 25, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/assertion-names branch October 25, 2026 14:44
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Preserve user-supplied assertion names

1 participant