Skip to content

CI: equivalence-e2e post-merge trigger on main, planned from pushed files (Part of #5954) - #6661

Merged
squid-protocol merged 4 commits into
mainfrom
churn/5954-20261025T1852Z
Oct 26, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/5954-20261025T1852Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5954, slice 4 (after #6549): the post-merge trigger. The nightly schedule already existed; a merge to main never ran the E2E tests until the next night.

Changes

  • equivalence-e2e.yml: push: branches: [main]. The plan job lists the files the push brought in (compare API before...sha, whole or not at all, 300-file cap) and hands them to the planner, so a docs-only merge starts no shard and the check reports success. cancel-in-progress is now PR-only, so a later merge does not cancel the run that checks the earlier one.

  • equivalence_e2e_plan.py: push is planned from its files like a pull_request (no list or any doubt still means run); nightly and manual still always run.

  • test_equivalence_e2e_plan.py: push plans none/run/fail-open; the workflow has the push trigger and PR-only cancel. docs/ci_env_gated_tests.md updated.

  • tested-tree gate (fix round): a workflow on a PR and a main push needs the gate (test_the_gate_is_exactly_where_a_pr_run_can_prove_a_push). Added the job (push only), plan waits on it, shard/db2 skip when it proves the tree, the aggregator accepts all-skipped when skip=true. A merge whose PR run already passed on the same tree costs no runner. Pinned in test_tested_tree_workflows.py; docs/ci.md updated.

Owner approval

This PR edits .github/workflows/equivalence-e2e.yml and the queue item carried no allow_workflows: it needs the owner's OK before merge (the change is the whole point of the slice, so it was not dropped).

Cost (ci-workflows.md rule 5)

Not measured: no replay run. Estimate: a push runs only for merges touching the COBOL / mainframe / equivalence area, the same share as PRs that run the shards today (the PR plan); a main run is one set of 3 shards + 1 db2 job per such merge, serialized by the concurrency group (non-cancelling). Replay over the last ~50 merged PRs was not done.

Class / Sibling gaps

Class: env-gated tests no workflow runs (#5954). This slice: the post-merge trigger for equivalence-e2e.yml.
Sibling gaps: the tests/cics_crucible/test_det_port_bytes_4965.py CICS_CRUCIBLE_PATH gating in cics-crucible.yml runner-tests (not checked here; slice 1/2 status in the issue); main-push replay measurement of runner-minutes.
Remaining slices: replay-measure runner-minutes per main push; confirm first main run's step summary.

Tests: pytest tests/tools/test_equivalence_e2e_plan.py test_env_gated_tests_run_in_ci_5954.py test_change_classifier.py test_sweep_plan.py 157 passed. pr_gates.py --fast: 7/7 pass. Not run locally: the workflow itself (YAML parses), --ratchets, the full guard list.

🤖 Generated with Claude Code

…he pushed files (Part of #5954)

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 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 18:56
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 18:59
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6661 @ f122936: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40223601891/job/121261445773
repro: python -m pytest -q tests/tools/test_tested_tree_workflows.py::test_the_gate_is_exactly_where_a_pr_run_can_prove_a_push
failing tests: tests/tools/test_tested_tree_workflows.py::test_the_gate_is_exactly_where_a_pr_run_can_prove_a_push
errors:
fail-on-cache-miss: false
E AssertionError: assert {'java-compil... 'smoke-test'} == {'equivalence... 'smoke-test'}
tests/tools/test_tested_tree_workflows.py:102: AssertionError
FAILED tests/tools/test_tested_tree_workflows.py::test_the_gate_is_exactly_where_a_pr_run_can_prove_a_push - AssertionError: assert {'java-compil... 'smoke-test'} == {'equivalence... 'smoke-test'}
##[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 207756
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 6f65fbfe52819145f73a636993aee9372a882684d33046c60f193b8a36b7276f
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12611291493
Artifact test-times-part-2 has been successfully uploaded! Final size is 207756 bytes. Artifact ID is 12611291493
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40223601891/artifacts/12611291493
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/07cc66d0-d421-4fd7-b185-a8916be13be6' 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 (5533851) 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 19:28
@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 and others added 2 commits October 25, 2026 19:33
Resolve equivalence-e2e: keep the post-merge push run and tested-tree gate beside
main's 3 shards, shard selection and db2 plan (#6664); the planner plans a push
like a PR; tested-tree joins the draft-gate exemptions.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol
squid-protocol merged commit 18d67bf into main Oct 26, 2026
44 checks passed
@squid-protocol
squid-protocol deleted the churn/5954-20261025T1852Z branch October 26, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant