Skip to content

feat(security): the COBOL controllers take --offline (Part of #8624) - #8684

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8624-20261119T1807Z
Nov 19, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8624-20261119T1807Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Part of #8624, slice 15: the two root-level COBOL controllers (cobol_refractor_controller, cobol_to_java_controller) take the shared --offline flag via readiness.offline.add_flag / enforce right after parsing. enforce sets GITGALAXY_ASSESS_OFFLINE, so the --scan galaxyscope child of the refractor inherits it. New test: tests/core_engine/test_offline_controllers_8624.py (flag guards the process; env var alone guards; without either nothing is guarded).

Class / Sibling gaps

Class: every __main__ / CLI entry point outside gitgalaxy/tools/ and whether it honours readiness.offline. Members: cli.py (assess: already enforced), galaxyscope.py (own --offline, handled), recorders/audit_recorder.py (already add_flag/enforce), cobol_refractor_controller.py and cobol_to_java_controller.py (fixed here, each tested), core/detector.py and standards/stdlib_modules.py (only the string __main__, no CLI; nothing to guard). gitgalaxy/standards/cics and standards/cobol have no __main__ / argparse entry points. Sibling gaps: none: every member handled.

Remaining slices

README rows for slices 6-10 and 15 (docs only; a module.py --offline row form trips doc-refs).

Gates: ruff format/check on changed files clean; audit_check.py all clear; tree-wide guards + offline flag tests pass (86 passed, 1 skipped); pr_gates --fast/--ratchets not run (small non-parsing change).

🤖 Generated with Claude Code

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 19, 2026 18:12
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 19, 2026 18:13
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 19, 2026 18:22
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8684 @ 9845ace: 2 failed check(s)

== crucible (failure) -- flake
https://github.com/squid-protocol/gitgalaxy/actions/runs/44585395734/job/135781253219
repro: tests/tools/box/heavy-run.sh python -m pytest -q tests/cics_crucible && tests/tools/box/heavy-run.sh python tests/tools/cics_crucible.py --ci --out /tmp/gitgalaxy-scratch/ci-digest/cics
errors:
CICS crucible: 557 pass, 700 fail, 51 unsupported (1308 cells, 4 shards)
NEW FAIL: ca-address-commarea//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-bll-cells/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-container-ccsid//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/alloc/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/alloc/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/zero-length/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/zero-length/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-send-text-terminal//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-in-time/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-in-time/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-too-late/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-too-late/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/staggered/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/staggered/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/three-in-one/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/three-in-one/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-extract-scheme-type//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-query-form/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-server-receive/*/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-server-receive/extract/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-server-receive/extract/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-web-server-receive/header/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
... 40 more
log tail:
Beginning upload of artifact content to blob storage
Uploaded bytes 46758
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is b3d1354ed79cea2fc90ec1c66670b9a5f3a4be583cc64fee0956322afede05e7
Finalizing artifact upload
Artifact cics-crucible-results successfully finalized. Artifact ID 14559134823
Artifact cics-crucible-results has been successfully uploaded! Final size is 46758 bytes. Artifact ID is 14559134823
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44585395734/artifacts/14559134823
##[group]Run echo "measure: failure, runner-tests: success"
echo "measure: failure, runner-tests: success"
[ "failure" = "success" ] && [ "success" = "success" ]
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
measure: failure, runner-tests: success
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/9e7243fe-9cc4-45e9-b7e9-bca79cac2503' 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/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

== measure (shard 4/4) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44585395734/job/135776976907
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
cobol-stub:fail 1, cobol-stub:pass 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 1, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 1, java-ported:fail 1, java:fail 1
cobol-stub:pass 4, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 4, java-ported:fail 4, java:fail 4
cobol-stub:unsupported 2, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 3, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:unsupported 3, engine-facts:pass 1, forge-compile:fail 1, java-facade:unsupported 3, java-ported:unsupported 3, java:unsupported 3
cobol-stub:pass 5, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 5, java-ported:fail 5, java:fail 5
cobol-stub:pass 6, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 6, java-ported:fail 6, java:fail 6
cobol-stub:pass 7, engine-facts:pass 1, forge-compile:fail 1, java-facade:fail 7, java-ported:fail 7, java:fail 7
CICS crucible: 85 pass, 219 fail, 14 unsupported (318 cells)
NEW FAIL: ca-address-commarea//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-bll-cells/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-container-ccsid//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/alloc/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/alloc/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/zero-length/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: ca-getmain-pointer/zero-length/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-send-text-terminal//forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/
/forge-compile: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-in-time/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-in-time/java-ported: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
NEW FAIL: gt-terminal-coalesce/cancel-too-late/java-facade: the ported project: mvn compile: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
... 51 more
log tail:
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: cics-crucible-shard-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 15386
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 8a0997df40bf7557d2ea4def72e79779cc55b66895dd184d2db9244e4431b143
Finalizing artifact upload
Artifact cics-crucible-shard-4 successfully finalized. Artifact ID 14561392484
Artifact cics-crucible-shard-4 has been successfully uploaded! Final size is 15386 bytes. Artifact ID is 14561392484
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44585395734/artifacts/14561392484
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/74fdbedf-1157-4583-8102-5ff2fbd537b6' 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/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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. 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 Nov 19, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 19, 2026 18:40
@squid-shepherd squid-shepherd Bot removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Nov 19, 2026
@squid-shepherd
squid-shepherd Bot merged commit ae0ece9 into main Nov 19, 2026
108 of 111 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8624-20261119T1807Z branch November 19, 2026 18:51
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