Skip to content

assess: post-publish PyPI install check (Part of #4726) - #6319

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4726-20261024T0141Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4726-20261024T0141Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4726. Adds the post-publish PyPI install check: after a release, install that exact version on a clean runner and run gitgalaxy assess.

Owner decisions

Owner OK (2026-10-23): workflow edit allowed.

Changes

  • scripts/check_assess_install.py: new --from-pypi VERSION mode. No build; gitgalaxy[translator]==VERSION is installed from PyPI (the only networked step, proxies stripped there, retried 10x30 s for index lag). The run then uses the existing planted-estate assertions with the translator extra expected on, plus tool_version == VERSION. Fails clearly if the release has no gitgalaxy command.
  • .github/workflows/publish-assess-check.yml: triggers on workflow_run of "Publish to PyPI and Sync to GitLab" (success only) or workflow_dispatch with a version. Never per PR. Version comes from env (head_branch, leading v stripped, regex-validated), not interpolated into the script.
  • docs/assess.md: documents it; removes the follow-up item.

Class / Sibling gaps

Class: assess install checks by install source (checkout wheel, wheelhouse, burned estates in ports-compile via #6140; now PyPI). All four handled. Sibling gap: --estates is not run post-publish (corpora are not checked out in that workflow; burned estates are covered per PR already).

Evidence

  • check_assess_install.py (checkout mode) passes locally.
  • --from-pypi 2.11.0 installs from real PyPI, then fails with "no gitgalaxy command" because 2.11.0 predates assess: the failure path works. The success path of --from-pypi is unexercised until a release containing assess is published.
  • pr_gates --fast 7/7. tests/tools subset (workflow/sweep/plan/pin): 663 pass; test_pin_requirements_check_all fails (STALE docs.txt/mypy.txt, files I did not touch), not investigated against main.
  • --ratchets not run (no parsing change).

🤖 Generated with Claude Code

…(Part of #4726)

check_assess_install.py --from-pypi VERSION installs gitgalaxy[translator]==VERSION from PyPI
(only networked step, retried), then runs the planted-estate assertions and checks tool_version.
publish-assess-check.yml runs it on workflow_run of publish.yml, or by hand with a version.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 02:10
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 02:13
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 031d0c8 into main Oct 24, 2026
57 checks passed
@squid-protocol
squid-protocol deleted the churn/4726-20261024T0141Z branch October 24, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant