Skip to content

fix: stable IDs for prior property tests under xdist #1701

Closed

Description

@Jammy2211

Overview

Repair the unstable prior-property test IDs so separate pytest workers collect identical tests.

Plan

  • Replace address-bearing message reprs with stable descriptive prior IDs.
  • Verify parallel collection and run the property tests and full suite.
  • Keep runtime prior representations unchanged.

Tier: glance — merge mode: human /prm (no merge authorized).

Detailed implementation plan

Primary repository: PyAutoFit. Branch survey: main, clean; no open PRs or Mind claims for this repository at selection. Suggested branch: feature/prior-stable-test-ids.
Change prior_id in test_autofit/mapper/prior/test_prior_properties.py using stable prior configuration values. Verify IDs contain no addresses and xdist workers agree; run python -m pytest -n 4 test_autofit/ and report any unrelated failures honestly.

Original prompt

PyAutoMind/draft/bug/autofit/xdist_collection_ids_unstable_in_test_prior.md

The prior_id helper embeds TransformedMessage object reprs containing process-specific memory addresses, causing Different tests were collected errors. Preserve test coverage and fix identifiers only.

Authorization and health

User requested four linked dashboard tasks on 2026-10-17. These model/prior tasks are coordinated sequentially on isolated branches in the same session. Stop at PR review. Heart at entry: published feed unreachable; local readiness STALE (missing health reports and release validation), not release-ready.

Activity

  1. Jammy2211 commented on Oct 17, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped

    Merged #1707 at ed7adfd on 2026-10-17, following the user's /prm authorization. fix: make prior property-test IDs stable across pytest workers

    All exact-head GitHub test legs passed (Python 3.12, 3.13, no-JAX); applicable docs checks passed. Model/search unique identifiers and exact output-folder paths were checked against unmodified main and remain unchanged. Pending release; merging does not publish a release. The separately tracked shared-output race remains in PyAutoMind/draft/bug/autofit/ep_test_suite_is_not_xdist_safe.md; this closes collection-ID instability only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions