Skip to content

harness_report: per-record layout limits and non-VSAM inputs as input-generation blockers (Part of #4493) - #5391

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4493-20261017T2357Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4493-20261017T2357Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4493. Second slice: the sibling gaps of #5309 (blocker classes 1 and 2 of the issue, per-record status).

What

tests/tools/harness_report.py:

  • record_cause: per generated record, why its layout is limited: REDEFINES (no field rules stated), RENAMES (level 66), SYNC, unresolved COPY / COPY REPLACING (LayoutError), no such record, or "not read" (no corpus here).
  • non_vsam_kinds: per case, Db2 / MQ / IMS / RECFM V / GDG inputs.
  • input_blockers: both grouped by cause, stated as the fix, sorted by tests held back; rendered as "Input-generation blockers" and added to the JSON. The new keys (records, non_vsam, input_blockers) appear only when non-empty.
  • build/write_report take roots (the corpora); the CLI resolves them.
    Burned estates only; non-burned programs stay counted, never named. Checked against the real corpora: every current generated record is clean.

Tests

test_harness_report.py (+3): each layout limit lands under one cause and "not read" degrades; blockers are fixes, sorted, with tests held; keys only when non-empty.
Docs: docs/wiki/05-20-equivalence-harness.md limits paragraph.

Not decided

REDEFINES "chosen by another field" is not detected: any REDEFINES in a generated record without fields rules is listed (conservative).

Sibling gaps (no burned-estate program needs them yet)

Gates: pytest (plain, other cwd) 10 passed; pr_gates.py --fast 6/6; audit_check.py clear. No golden bless (tool only).

Cross-repo: none.

🤖 Generated with Claude Code

…-generation blockers (Part of #4493)

Each generated record is classified (REDEFINES, RENAMES, SYNC, unresolved COPY, not read); each case's Db2/MQ/IMS/RECFM V/GDG
inputs are listed; both are grouped by cause, stated as the fix, sorted by tests held back. Keys appear only when non-empty.

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 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 00:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 00:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5391 @ 5158ede: 1 failed check(s)

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39081288781/job/117538585554
repro: python -m pytest -q tests/test_source_reads.py::test_no_source_read_loses_a_byte
failing tests: tests/test_source_reads.py::test_no_source_read_loses_a_byte
errors:
fail-on-cache-miss: false
E AssertionError: #3813: decode through gitgalaxy.core.source_text (read_source / open_source / decode_bytes) instead of a lossy errors= handler or a text-mode read of an estate file:
tests/test_source_reads.py:146: AssertionError
FAILED tests/test_source_reads.py::test_no_source_read_loses_a_byte - AssertionError: #3813: decode through gitgalaxy.core.source_text (read_source / open_source / decode_bytes) instead of a lossy errors= handler or a text-mode read of an e
##[error]Process completed with exit code 1.
log tail:
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 171362
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is ddd022d8c3aa0904af24508e9f4789cd7139c71461de0a29d5de6e73a81f719f
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 12119240716
Artifact test-times-part-3 has been successfully uploaded! Final size is 171362 bytes. Artifact ID is 12119240716
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39081288781/artifacts/12119240716
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/dfb36cc4-b89d-4669-bc6b-3ae3fa64fc82' 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
Terminate orphan process: pid (10564) (sleep)

@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 18, 2026
@squid-protocol squid-protocol added shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md 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 squid-protocol removed 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

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 02:29
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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