Skip to content

trial.py: harness-style page per trialled estate + preview --page (Part of #4493) - #6632

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/4493-20261025T1114Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/4493-20261025T1114Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Part of #4493 (and #3806, whose trial it prepares for).

Checklist: partial [c:4e3383b1] -- a real fresh estate's page awaits the #3806 owner draw and trial start

What

trial.py now writes the equivalence harness's self-report for a trialled estate, from trials.json alone (no estate code is read):

  • docs/language_status/trials/<estate>.md via trial.py report --write; trial.py check fails on a missing, stale or orphaned page. Private estates use their label only.
  • Page: coverage (programs, eligible, out of scope, proven, %), run status per program (proven / differs / couldn't run / not attempted), declared out-of-scope reasons with programs, blockers by cause phrased as fixes (each non-proven program under exactly one; sorted by programs held back).
  • trial.py preview --page F writes the same page as a rehearsal on any estate (no ledger entry).
  • The Estates table links a trialled estate to its page. No trial exists yet, so no page is committed and fresh_estate_trials.md is unchanged.

Tests

test_trials.py: synthetic fresh-estate ledger (one status and one blocker each), fix-a-blocker-then-count-drops prediction, private-estate leak check, stale/orphan check, preview --page rehearsal. 17 pass; pr_gates --fast 7/7; audit_check clear.

Remaining

Fresh estate trial itself (owner draw, licence); a fresh page has no paragraph/branch coverage (stated as not measured); publishing trial pages to generated once one exists.

Lessons for agents

None new.

🤖 Generated with Claude Code

Class / Sibling gaps

Copied from the worker's report by promoter-bot's precheck.

Sibling gaps

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 11:22
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 11:46
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6632 @ 1e8c257: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40188617223/job/121165466612
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {fc72900a-9945-41bc-8a56-3cc1163e7968}
Region: westus3
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40188617223/job/121161671390
repro: python -m pytest -q tests/tools/test_change_classifier.py::test_the_committed_list_is_fresh
failing tests: tests/tools/test_change_classifier.py::test_the_committed_list_is_fresh
errors:
fail-on-cache-miss: false
E AssertionError: docs_read_by_tests.txt is stale: python tests/tools/change_classifier.py --write
tests/tools/test_change_classifier.py:88: AssertionError
FAILED tests/tools/test_change_classifier.py::test_the_committed_list_is_fresh - AssertionError: docs_read_by_tests.txt is stale: python tests/tools/change_classifier.py --write
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 207905
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 7e5a717975327f75a8faaae4776ad09529f7d246cfd4849683311e481eeb83dc
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12598083639
Artifact test-times-part-2 has been successfully uploaded! Final size is 207905 bytes. Artifact ID is 12598083639
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40188617223/artifacts/12598083639
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/055c07fb-ec99-4c76-a8ab-24c719c73a31' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (3763709) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-shepherd
squid-shepherd Bot disabled auto-merge October 25, 2026 12:22
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 25, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 12:23
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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