Skip to content

fix: Make compound assertion representations safe - #1720

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/assertion-repr
Oct 25, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/assertion-repr

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

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

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/assertion_repr_recurses_forever.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 46d5061 into main Oct 25, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/assertion-repr 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: Make compound assertion representations safe

1 participant