Skip to content

fix: make prior property-test IDs stable across pytest workers - #1707

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/prior-stable-test-ids
Oct 17, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/prior-stable-test-ids

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Prior-property IDs included TransformedMessage object addresses, so xdist workers collected different node IDs. Build descriptive IDs from the prior's serialized parameters, excluding its transient ID. Runtime prior representations are unchanged.

Closes #1701.

API Changes

None — test-only changes. No model, search or output-folder identifier changes.

Test Plan

  • Before: four-worker property run fails with three collection mismatch errors.
  • After: 170 passed on four workers.
  • Final full serial suite: 3,702 passed, 120 skipped, 1 xfailed (after installing the missing optional Zeus dependency).
  • Baseline comparison: free/fixed/mixed model hashes, search IDs and exact output paths unchanged.
  • Full parallel collection now succeeds. Full parallel execution still exposes the separately filed shared-output-directory race (PyAutoMind/draft/bug/autofit/ep_test_suite_is_not_xdist_safe.md), plus dependency-related failures before setup completed. This PR does not claim the whole suite is xdist-safe; that broader clause of the prompt witness remains dependent on the separate task.
  • GitHub Python 3.12/3.13 checks pending.

Workflow

Human /prm required; no merge authorized. Heart readiness STALE: local CI collector unavailable, missing test-run report, install verification and release validation. No release readiness or independent-review claim.

Generated by the PyAutoLabs agent workflow.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Oct 17, 2026 — with ChatGPT Codex Connector
@Jammy2211
Jammy2211 merged commit ed7adfd into main Oct 17, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/prior-stable-test-ids branch October 17, 2026 20:01
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 23, 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: stable IDs for prior property tests under xdist

1 participant