You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(security): the COBOL controllers take --offline (Part of #8624) - #8684
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).
== 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shepherd:mergeMaintainer: merge when green (auto-merge, squash). Guide: docs/ci.md
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of #8624, slice 15: the two root-level COBOL controllers (
cobol_refractor_controller,cobol_to_java_controller) take the shared--offlineflag viareadiness.offline.add_flag/enforceright after parsing.enforcesetsGITGALAXY_ASSESS_OFFLINE, so the--scangalaxyscope 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 outsidegitgalaxy/tools/and whether it honoursreadiness.offline. Members:cli.py(assess: already enforced),galaxyscope.py(own--offline, handled),recorders/audit_recorder.py(already add_flag/enforce),cobol_refractor_controller.pyandcobol_to_java_controller.py(fixed here, each tested),core/detector.pyandstandards/stdlib_modules.py(only the string__main__, no CLI; nothing to guard).gitgalaxy/standards/cicsandstandards/cobolhave 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 --offlinerow form trips doc-refs).Gates: ruff format/check on changed files clean;
audit_check.pyall clear; tree-wide guards + offline flag tests pass (86 passed, 1 skipped);pr_gates --fast/--ratchetsnot run (small non-parsing change).🤖 Generated with Claude Code