Skip to content

Ports Compile: run the assess clean-install check on a PR only when packaging can change #6672

Closed

Description

@squid-protocol

Ports Compile (ports-compile.yml, not a required check) runs scripts/check_assess_install.py (#4726) on every PR it starts. The script builds the wheel, installs it into a fresh venv with no network, and runs the installed gitgalaxy assess on a planted estate and the six burned estates.

Measured 2026-10-25:

  • The step takes ~3.1 min of the ~7.9 min job (median of 60 successful PR runs; 39%).
  • It has not failed once in ~420 completed runs since it landed (2026-10-22). All 7 Ports Compile failures in that window were in "Equivalence ports carry the generator's facades".
  • The post-publish twin, publish-assess-check.yml, runs only after a release is on PyPI, so it is not a per-merge backstop.

What only this step catches is a packaging break: a module or data file the wheel does not ship (packages.find + package-data globs), an entry point, an extra.

Change: on a PR, run the step only when a changed file can cause that:

  • packaging or the check itself: pyproject.toml, MANIFEST.in, the script, the planner, the workflow, the pinned estates;
  • the assess command: gitgalaxy/cli.py, gitgalaxy/tools/readiness/**;
  • any file added, removed, renamed or copied under gitgalaxy/;
  • any non-Python file modified under gitgalaxy/.

Main dispatch (post-merge, cadence) and the nightly always run it, and Main Watch already watches Ports Compile. Fail open: an unreadable or truncated PR file list runs it.

Activity

  1. added a commit that references this issue on Oct 25, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions