Skip to content

ci_digest: stale base with main's fix in engine source only reads main (Part of #5276) - #6624

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

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/5276-20261025T0954Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Widens the stale-base triage in tests/tools/ci_digest.py (#5276). Before, a red test read main (stale base) only when main had changed the failing test's own file. Now it also reads main when main changed gitgalaxy/ source since the merge-base and this PR provably cannot have moved the failing tests (stale_by_source): the PR's file list is readable and holds no gitgalaxy/ file, no conftest.py, no tests/fixtures/ file and no file in a failing test's directory.

Anything else stays real. The repro says git merge origin/main; if the test still fails after the merge it is this PR's, so a wrongly-read PR turns real on the next digest once the base is no longer stale.

Tests: docs/workflow/other-test-dir PR reads main; engine, conftest, fixture, same-dir and mixed PRs stay real; main with no source change stays real; unreadable PR files stay real. audit_check.py clean.

Sibling gaps (no burned-estate program needs them): the same widening for det/shard failures that name cases, and for non-pytest checks (lint, audits); the cancelled-parent roll-up item.

Checklist: done [c:36bfcda1]

🤖 Generated with Claude Code

…ads main, not real (Part of #5276)

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 10:01
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 10:05
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6624 @ 273ad32: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40183041108/job/121141699086
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 206729
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 74b7cfd54a01d942a58bb926bc6e7c4e0cfa15676955637bf49e16b616de1a08
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12596162846
Artifact test-times-part-2 has been successfully uploaded! Final size is 206729 bytes. Artifact ID is 12596162846
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40183041108/artifacts/12596162846
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/dfdce130-f205-4b3a-b52d-3d8e7a18996c' 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 (b9ec653) 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 10:51
@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 10:52
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 5d66584 into main Oct 25, 2026
42 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5276-20261025T0954Z branch October 25, 2026 11:00
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