Skip to content

det: refuse COMP-5 / COMP-1/2 bytes of file and sort records by name (Part of #4271) - #5475

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4271-20261018T1241Z
Oct 18, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4271-20261018T1241Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4271 (next slice after #4571, #4288, #5316, #5377).

What

A file or sort record is named by its FD, so READ, WRITE, REWRITE, SORT USING / GIVING and RETURN reached its bytes without Gen.field_expr's guard. A record holding a COMP-5 item of 2+ bytes (C7) or a COMP-1 / COMP-2 item (C6) was written in the oracle's byte order and still translated. Gen.check_record_bytes now refuses it by name (a Hole), with the same messages the other byte uses give. Register C6 already listed "a record written" as refused; this makes that true.

Class

Byte observation of a COMP-5 / float item that bypasses field_expr.

Member Status
group MOVE, REDEFINES, refmod, 88 handled (#5316)
READ / WRITE / REWRITE record, SORT USING / GIVING, RETURN this PR
elementary COMP-5 BY REFERENCE to a CALLed program / COMMAREA sibling gap
SQLCA MOVEd as bytes; INITIALIZE / group VALUE images sibling gap (no burned program)

Evidence

  • test_record_io_* (9 cases + sort RETURN + 2 not-refused): 7 fail without the fix, all pass with it.
  • det_port.py check: 122/122 ports unchanged (no burned program writes such a record).
  • pr_gates --fast 6/6, --ratchets 8/8, tree-wide guards pass, time ratchet 0 over.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 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 18, 2026 13:03
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 13:10
@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 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5475 @ be46eda: 2 failed check(s)

== full-suite (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/39129877768/job/117686627069
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: {48fe8ef9-e067-4973-ab5c-a299acde9f82}
Region: eastus
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 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39129877768/job/117683427835
repro: python -m pytest -q tests/core_engine/test_ci_install_pins.py::test_workflows_build_without_isolation
failing tests: tests/core_engine/test_ci_install_pins.py::test_workflows_build_without_isolation
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
E AssertionError: [('java-base-generation.yml', 'pip install -e .')]
tests/core_engine/test_ci_install_pins.py:179: AssertionError
FAILED tests/core_engine/test_ci_install_pins.py::test_workflows_build_without_isolation - AssertionError: [('java-base-generation.yml', 'pip install -e .')]
##[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-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 174793
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is e8e1be15441519e69812ee44b401878cdf52712ea0bc6ef88208640c9660b518
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 12137738881
Artifact test-times-part-1 has been successfully uploaded! Final size is 174793 bytes. Artifact ID is 12137738881
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39129877768/artifacts/12137738881
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/5807e541-e3bb-4135-b707-2cefdde65ecb' 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 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 labels Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 18, 2026
@squid-protocol
squid-protocol merged commit c88d6c4 into main Oct 18, 2026
45 checks passed
@squid-protocol
squid-protocol deleted the churn/4271-20261018T1241Z branch October 18, 2026 15:03
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