Skip to content

CI: publish-history waits for ground-truth-part to have run (Closes #5176) - #5177

Merged
squid-protocol merged 7 commits into
mainfrom
churn/5176-20261015T0311Z
Oct 15, 2026
Merged

squid-protocol merged 7 commits into
mainfrom
churn/5176-20261015T0311Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Root cause

Run 38673671124 (main push): tested-tree returned skip=true (tree already passed in a PR run), so ground-truth-part was skipped and uploaded no ground-truth-history artifact. The aggregate ground-truth job correctly passed (skipped + skip=true), so publish-history ran and failed in download-artifact. No ledger/proof failure; nothing was loosened.

Fix

publish-history now needs ground-truth-part and requires its result == 'success'. A skipped run has no new history to publish.

Tests

test_ci_critical_path_split.py: publish-history assertions, plus a workflow-wide test that every artifact-download job (in workflows using tested-tree) needs and requires success of an uploader job. 35 passed (with draft-gate tests); pr_gates --fast 6/6; ruff audit clean.

Sibling gaps

None found: smoke-test.yml consumers already gate on uploader success; generated-docs.yml's uploader is never skipped. Later main runs (e.g. 38674833808) fail the same way until this merges if their tree is skipped.

Lessons for agents

A job gated on an aggregate that treats "skipped" as pass must not consume artifacts of the skipped jobs.

🤖 Generated with Claude Code

…5176)

A tested-tree skip leaves the parts skipped, so no ground-truth-history artifact is uploaded; the aggregate
ground-truth job passes, and publish-history then failed in download-artifact. It now needs the part and requires
its success. A workflow-wide test requires every artifact download to wait on a successful uploader.

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 15, 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 15, 2026 03:15
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 03:17
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5177 @ d545792: 2 failed check(s)

== full-suite part 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38675350578/job/116227567489
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
FAIL tests/cobol_mainframe/test_det_translate.py::test_det_cics_moves_ts_bytes_between_pages_strictly: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_galaxy_ir.py::test_csd_resources_load_per_deck_of_every_type: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_java_subprocess_utf8.py::test_no_maven_subprocess_in_tests_decodes_with_locale_charset: 12.6s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_lifted_binary_trunc.py::test_typed_binary_stores_equal_bytes_and_the_oracle[literal-BIN]: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_lifted_binary_trunc.py::test_typed_binary_stores_equal_bytes_and_the_oracle[literal-STD]: 11.9s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
SKIPPED [3] tests/cobol_mainframe/test_pointer_commarea_4270.py:192: needs Docker and a JDK 17 (JAVA_HOME / JDK_17)
3926 passed, 577 skipped, 1 warning in 918.20s (0:15:18)
##[group]Run python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-1.json"
python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-1.json"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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
##[endgroup]
FAIL tests/cobol_mainframe/test_det_translate.py::test_det_cics_moves_ts_bytes_between_pages_strictly: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_galaxy_ir.py::test_csd_resources_load_per_deck_of_every_type: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_java_subprocess_utf8.py::test_no_maven_subprocess_in_tests_decodes_with_locale_charset: 12.6s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_lifted_binary_trunc.py::test_typed_binary_stores_equal_bytes_and_the_oracle[literal-BIN]: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_lifted_binary_trunc.py::test_typed_binary_stores_equal_bytes_and_the_oracle[literal-STD]: 11.9s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
4503 tests checked, 5 over the per-test limit
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7e969494-5987-477c-8670-c37de81e7e34' 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

== full-suite part 3/3 (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/38675350578/job/116227567476
repro: fails on main too: fix main (then merge origin/main here)
failing tests: tests/tools/test_ground_truth_plan.py::test_the_workflow_wires_the_plan_to_the_required_check
errors:
fail-on-cache-miss: false
tests/tools/test_ground_truth_plan.py:177: AssertionError
FAILED tests/tools/test_ground_truth_plan.py::test_the_workflow_wires_the_plan_to_the_required_check - assert '["ground-tru...-truth-part"]' == '"ground-truth"'
##[error]Process completed with exit code 1.
log tail:
SKIPPED [1] tests/tools/test_crucible_case.py:157: no cics-crucible checkout (CICS_CRUCIBLE_PATH)
SKIPPED [1] tests/tools/test_crucible_case.py:232: no cics-crucible checkout (CICS_CRUCIBLE_PATH)
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:35: ctags not on PATH
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:56: ctags not on PATH
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:75: ctags not on PATH
SKIPPED [1] tests/tools/test_evidence_report.py:60: #4703: per-PR CI is advisory (smoke-test.yml / full-suite-gate.yml print the level deltas); the evidence-refresh bot regenerates the reports on main and the release gate (publish.yml) runs
SKIPPED [1] tests/tools/test_cache_keys.py:62: owner-protected (#4935): hashes gitgalaxy/pyproject.toml alone
SKIPPED [2] tests/tools/test_cache_keys.py:62: owner-protected (#4935): hashes pyproject.toml alone
SKIPPED [1] tests/tools/test_call_graph_resolution_gate.py:107: no typescript with the JavaScript compiler API (<= 6.x) on NODE_PATH
SKIPPED [1] tests/tools/test_pin_requirements.py:28: uv executable not installed in this environment
SKIPPED [1] tests/tools/test_pin_requirements.py:94: uv executable not installed in this environment
SKIPPED [1] tests/tools/test_unicode_gauntlet_vs_treesitter.py:52: keyword-rosetta corpus not available
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_func_start_invalid[//SYSUDUMP DD DATA,DLM=$$\n//BAD EXEC PGM=X\n$$] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
FAILED tests/tools/test_ground_truth_plan.py::test_the_workflow_wires_the_plan_to_the_required_check - assert '["ground-tru...-truth-part"]' == '"ground-truth"'
- "ground-truth"
+ ["ground-truth", "ground-truth-part"]
1 failed, 8103 passed, 20 skipped, 4 xfailed, 3 xpassed, 4 warnings in 640.21s (0:10:40)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/0369ae52-b6bc-4b46-8c0d-50699ba7215d' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 15, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5177 @ 3ecbc8f: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38677842752/job/116235404050
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_port_tickets.py::test_every_program_with_business_logic_gets_a_ticket: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_refraction_differential.py::test_excerpt_no_new_unexplained[cics-banking-sample-application-cbsa]: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_refraction_differential.py::test_excerpt_no_new_unexplained[zopeneditor-sample]: 13.8s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_trunc_opt.py::test_a_value_past_the_picture_stops_by_name[ADD 9999 TO K7-10006 into a signed 4-digit binary item-True]: 10.5s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_ti
FAIL tests/core_engine/test_lazy_re.py::test_every_rule_still_compiles: 13.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/core_engine/test_nfc_paths.py::test_an_nfd_checkout_stores_nfc_paths: 12.2s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
7634 passed, 367 skipped, 5 xfailed, 16 warnings, 9 subtests passed in 367.03s (0:06:07)
##[group]Run python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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
##[endgroup]
FAIL tests/cobol_mainframe/test_port_tickets.py::test_every_program_with_business_logic_gets_a_ticket: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_refraction_differential.py::test_excerpt_no_new_unexplained[cics-banking-sample-application-cbsa]: 10.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_refraction_differential.py::test_excerpt_no_new_unexplained[zopeneditor-sample]: 13.8s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_trunc_opt.py::test_a_value_past_the_picture_stops_by_name[ADD 9999 TO K7-10006 into a signed 4-digit binary item-True]: 10.5s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_ti
FAIL tests/core_engine/test_lazy_re.py::test_every_rule_still_compiles: 13.3s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/core_engine/test_nfc_paths.py::test_an_nfd_checkout_stores_nfc_paths: 12.2s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
8006 tests checked, 6 over the per-test limit
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/2c8c1f7e-7fbc-45f8-b6f3-a4d7370967c5' 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-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 15, 2026
…5176)

test_java_subprocess_utf8, test_lifted_binary_trunc (3 params) and
test_nfc_paths run over 10s in CI and are not covered by #5179.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (c315ded) 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-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 05:56
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5177 @ 6d8f43a: 2 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38689467059/job/116271770752
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
E NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
##[error]Process completed with exit code 1.
log tail:
SKIPPED [1] tests/cobol_mainframe/test_regional_options.py:300: needs Docker (GnuCOBOL)
SKIPPED [1] tests/cobol_mainframe/test_rounding.py:112: needs Docker (GnuCOBOL)
SKIPPED [2] tests/cobol_mainframe/test_trunc_opt.py:196: needs Docker and a JDK 17 (JAVA_HOME / JDK_17)
SKIPPED [2] tests/cobol_mainframe/test_sql_unit_of_work.py:366: needs Docker (GnuCOBOL, Db2) and a JDK + Maven
SKIPPED [1] tests/cobol_mainframe/test_td_queue_e2e_5079.py:116: needs Docker (GnuCOBOL) and a JDK + Maven
SKIPPED [1] tests/core_engine/test_language_strictness.py:122: keyword-rosetta corpus not checked out as a sibling (set KEYWORD_ROSETTA_PATH)
SKIPPED [1] tests/cultural_gauntlet/test_cultural_gauntlet.py:478: collation_h2: its database is not on this machine
SKIPPED [1] tests/cultural_gauntlet/test_cultural_gauntlet.py:478: collation_postgresql_en_us: its database is not on this machine
SKIPPED [1] tests/core_engine/test_aperture_workflow_blob.py:166: evidence-refresh.yml not found
SKIPPED [1] tests/core_engine/test_bms_symbolic.py:108: the pinned CardDemo corpus is not cloned
SKIPPED [1] tests/estate_crucible/test_estate_crucible_scorer.py:193: no estate-crucible checkout at /home/runner/work/gitgalaxy/estate-crucible (set ESTATE_CRUCIBLE_PATH)
SKIPPED [1] tests/extraction/languages/test_dart.py:405: got empty parameter set for (payload)
SKIPPED [1] tests/extraction/languages/test_dart.py:441: got empty parameter set for (payload)
XFAIL tests/core_engine/test_aperture.py::test_aperture_embedded_hex_shield - Engine currently allows hex arrays if has_intent=True. Pending engine patch.
XFAIL tests/extraction/languages/test_dart.py::test_dart_func_start_xfail_invalid[/* \n void main() { \n /] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_dependency_capture_xfail_invalid[// import 'package:test/test.dart';] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_dependency_capture_xfail_invalid[/
\n import 'package:foo/foo.dart'; \n */] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_class_start_xfail_invalid[var query = '''\nclass FakeClass {\n''';] - String/comment lookalikes lack AST block shielding
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
7633 passed, 367 skipped, 5 xfailed, 16 warnings, 4 errors, 9 subtests passed in 248.31s (0:04:08)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f0ba8946-5896-4a97-9d86-d31d65801a09' 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

== full-suite part 3/3 (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/38689467059/job/116271770812
repro: fails on main too: fix main (then merge origin/main here)
errors:
fail-on-cache-miss: false
E NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
##[error]Process completed with exit code 1.
log tail:
SKIPPED [1] tests/tools/test_crucible_case.py:103: no cics-crucible checkout (CICS_CRUCIBLE_PATH)
SKIPPED [1] tests/tools/test_crucible_case.py:157: no cics-crucible checkout (CICS_CRUCIBLE_PATH)
SKIPPED [1] tests/tools/test_crucible_case.py:232: no cics-crucible checkout (CICS_CRUCIBLE_PATH)
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:35: ctags not on PATH
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:56: ctags not on PATH
SKIPPED [1] tests/tools/test_ctags_reader_qualify.py:75: ctags not on PATH
SKIPPED [1] tests/tools/test_evidence_report.py:60: #4703: per-PR CI is advisory (smoke-test.yml / full-suite-gate.yml print the level deltas); the evidence-refresh bot regenerates the reports on main and the release gate (publish.yml) runs
SKIPPED [1] tests/tools/test_call_graph_resolution_gate.py:107: no typescript with the JavaScript compiler API (<= 6.x) on NODE_PATH
SKIPPED [1] tests/tools/test_pin_requirements.py:94: uv executable not installed in this environment
SKIPPED [1] tests/tools/test_unicode_gauntlet_vs_treesitter.py:52: keyword-rosetta corpus not available
SKIPPED [1] tests/tools/test_pin_requirements.py:28: uv executable not installed in this environment
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_func_start_invalid[//SYSUDUMP DD DATA,DLM=$$\n//BAD EXEC PGM=X\n$$] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
ERROR tests/test_source_reads.py - NameError: name 'pytest' is not defined
8103 passed, 20 skipped, 4 xfailed, 3 xpassed, 4 warnings, 4 errors in 353.94s (0:05:53)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/498df8f9-165d-4ba7-a887-a718ea37e990' 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-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 15, 2026
The slow marks added for the time ratchet used pytest without importing it,
so collection failed with NameError and full-suite parts 2/3 and 3/3 errored.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (38533b4) 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-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 06:24
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5177 @ 38533b4: 1 failed check(s)

== suite time budget (#5166) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38692191873/job/116284420825
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]Process completed with exit code 1.
log tail:
Download artifact has finished successfully
##[group]Run parts=$(find times -name 'times-part-.json' | sort)
parts=$(find times -name 'times-part-
.json' | sort)
test "$(printf '%s\n' "$parts" | grep -c .)" = 3 || { echo "expected 3 parts' test times:"; echo "$parts"; exit 1; }
enforce=()
if [ "$EVENT" = "schedule" ]; then enforce=(--enforce); fi
status=0
python3 tests/tools/time_ratchet.py budget --times $parts "${enforce[@]}" | tee report.txt || status=$?
{ echo "### Suite time budget"; echo; cat report.txt; } >> "$GITHUB_STEP_SUMMARY"
if [ "$status" = 1 ] && [ "$EVENT" = "schedule" ]; then
body="The nightly full suite is over its time budget (tests/test_time_baseline.json): $(tail -n 2 report.txt | head -n 1). Run: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
n=$(gh issue list --repo "$GITHUB_REPOSITORY" --state open --search 'in:title "Suite time over budget"' --json number -q '.[0].number')
if [ -n "$n" ]; then gh issue comment "$n" --repo "$GITHUB_REPOSITORY" --body "$body"
else gh issue create --repo "$GITHUB_REPOSITORY" --title "Suite time over budget (nightly)" --body "$body"; fi
fi
exit $status
shell: /usr/bin/bash -e {0}
env:
EVENT: pull_request
GH_TOKEN: ***
##[endgroup]
find: ‘times’: No such file or directory
expected 3 parts' test times:
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/489ab03e-ec4b-4065-88dd-ec334c1b59c7' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 15, 2026
@squid-protocol
squid-protocol merged commit 0a6f3c6 into main Oct 15, 2026
38 of 39 checks passed
@squid-protocol
squid-protocol deleted the churn/5176-20261015T0311Z branch October 15, 2026 06:38
squid-protocol added a commit that referenced this pull request Oct 15, 2026
…5178) (#5179)

* tests: ten tests over the 10 s per-test limit are faster, same checks (Closes #5178)

ReDoS sweeps run one child per language (ownership 2882, high-risk execution 2878),
source-reads walks each tree once, evidence-report fixtures fingerprint each case once.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* tests: mark the 13 tests still over 10 s on CI as slow with a reason (Closes #5178)

CI runners are slower than the box: full-suite parts 2/3 and 3/3 failed the per-test
time ratchet on tests that ran under 10 s locally. Each now carries
@pytest.mark.slow(reason=...); no baseline entry was added or raised.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* tests: slow marks for the 4 CI-slow tests, drop the posix baseline entry (Closes #5178)

Full-suite parts 1/3 and 3/3 failed the per-test time ratchet. Three tests ran over
10 s on the runner with no slow mark; the posix-only-imports test was slow-marked but
still baselined at 13.19 s, and a baselined test is checked at 2x and ignores the mark.
The two utf8/binary-trunc marks match PR #5177 byte for byte.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* tests: slow mark for test_decimal_comma's fixture-paying test (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* CI: upload the parts' test times (hashFiles never sees runner.temp) (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* tests: slow marks for the 4 tests the times artifact now shows at 10.0-10.5 s (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* tests: slow marks for the failing 10.1 s test and the two unmarked 9.4-9.5 s ones (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* tests: slow marks for the 4 tests CI shows at 10.0-10.9 s and 11 more at 7 s+ locally (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* tests: slow mark for the 14.6 s pointer-lane test from main (Closes #5178)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* CI: soften the per-test time ratchet; drop slow marks that only dodged runner noise (Part of #5166, Closes #5178)

An unmarked test fails only over 15 s, 10-15 s is a job-summary warning, a baselined
test fails over 2.5x; the nightly lists tests over 10 s in the suite-time issue.
Owner decision 2026-10-15. Removes the 26 slow marks this PR added on tests the
latest CI times file shows at 0-9 s; the posix-imports mark (20.7 s) stays.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant