Skip to content

referee panel: first dispatch fixes (cached Cobrix classpath, referee-wide parse failure is a note) (Part of #4438) - #6252

Merged
squid-protocol merged 6 commits into
mainfrom
churn/4438-20261023T1351Z
Oct 23, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/4438-20261023T1351Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4438 (item 1: first dispatch of referee-panel.yml; item 4 follow-up). Re-score stays local: nothing is published or posted (owner hold, 2026-10-05).

What the first dispatches showed

  1. Run 39964917889 (main): every install step passed (Cobrix Maven build on JDK 21, tree-sitter grammar generation, Che4z vsix path, mapa); the panel ran all six corpora and exited 1 on two false PROBLEMs: cobrix parsed none of 0 members (0 == 0) and tree-sitter failing all 6 CBL-card members of dbb-mortgage-application (reproduced locally: "no program_definition in the tree", the known upstream limit in Referee panel, round 2: re-score on current main, referee-majority column, Che4z over LSP, nightly run #4438 item 5).
  2. Run 39967270002 (branch, cache hit): preflight exit 2, COBRIX_CLASSPATH ... antlr4-runtime-4.9.3.jar does not exist. The Maven classpath names ~/.m2 jars, which the referee cache does not hold.

Changes (4 hand-written files)

  • run_panel.py: zero-member referees are skipped; a referee that parsed nothing in one corpus but something elsewhere is a notes entry in run.json (added only when non-empty); one that parsed nothing anywhere is still a problem (exit 1).
  • Tests: test_referee_panel_runner.py (note vs problem, zero members), README note.

Needs the owner: workflow change withheld

This item has no allow_workflows, so the referee-panel.yml fix is NOT in this PR. Without it a cache-hit run exits 2 at the preflight (the Cobrix classpath names ~/.m2 jars the cache lacks). The fix (Install Cobrix step: write the Maven classpath to cobrix.m2.cp, copy each jar into $REFEREES_DIR/cobrix-lib, rebuild cobrix.cp from those copies) was verified green on branch dispatches 39967941828 (cold) and 39969775489 (cache hit); the patch is saved at handoffs/handoff-4438-workflow-patch.diff with its test (_step("Install Cobrix") asserts the copy and the rewritten cobrix.cp). Note the nightly cron will fail on its second night until it lands.

Class / Sibling gaps

Class: a referee-wide parse failure on one corpus's dialect reported as a failed run. Handled here for every referee in the panel (cobrix, treesitter, che4z, mapa) via the shared run_panel accounting.
Sibling gaps: none in code. The referee-panel.yml cache-classpath fix is withheld (needs allow_workflows, owner), see above.

Verification

  • Branch dispatches 39967941828 (cold installs, 10m43s) and 39969775489 (cache hit): both green, with the withheld workflow patch applied. Local re-score record: /tmp/gitgalaxy-scratch/claude/referee-run-39967941828 (artifact, 3-day retention, not published).
  • pytest on both test files, audit_check.py all clear.

Cross-repo

None. No engine code changed; no golden re-bless.

Lessons for agents

  • The referee cache holds only $REFEREES_DIR: any path a referee env var names must live inside it (a cold run passes, a cache hit fails the preflight).
  • A referee-wide failure on one corpus is a finding, not a failed run; members == fail with members == 0 is true.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 23, 2026 10:09
…ote, not a failed run; zero-member referees are not a problem (Part of #4438)

First dispatch of referee-panel.yml on main (run 39964917889): every install step passed and the panel ran all six corpora, then exited 1 on 'cobrix parsed none of 0 members' (0 == 0) and on tree-sitter failing every CBL-card member of dbb-mortgage-application (reproduced locally, a documented referee limit).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d install dir (Part of #4438)

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 23, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (067b586) 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:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 14:41
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 14:41
@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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6252 @ 067b586: 2 failed check(s)

== full-suite (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/39971746843/job/120479411204
repro: fails on main too: fix main (then merge origin/main here)
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261012.601
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {f00b6635-6411-46aa-aaea-b390ac576afd}
Region: westus2
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)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && test "$SKIP" = "true"; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
##[endgroup]
full-suite parts: failure (tested-tree skip: )
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39971746843/job/120476779589
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
ERROR gw3 - Different tests were collected between gw2 and gw3. The difference is:
##[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-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 173
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d2454db219349c5069adfc0475610acd24e4c99dcfb467df4a41f187c61b2796
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 12509776447
Artifact test-times-part-3 has been successfully uploaded! Final size is 173 bytes. Artifact ID is 12509776447
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39971746843/artifacts/12509776447
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/8beb277d-7814-4469-bdff-6ab5ec4ef599' 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (cd49a9e) 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 14:59
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit e11e247 into main Oct 23, 2026
34 checks passed
@squid-protocol
squid-protocol deleted the churn/4438-20261023T1351Z branch October 23, 2026 15:11
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…6255 (#6257)

The windows 3.11 full-suite part died on "Different tests were collected" because a zip probe id carried a wall-clock timestamp (fixed in #6252). Pin that helper's bytes against the clock and fail any parametrize argument that calls a clock/random/uuid/tmp/pid API.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant