Skip to content

harness_report: resolve nested COPY in the case's copy_dirs (Part of #4493) - #6410

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4493-20261024T0743Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4493-20261024T0743Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Checklist: done [c:eb807448]

The REDEFINES "chosen by another field" detection already shipped in #5506 (redefines_choices, wired into record_limit / input_blockers, tests present). Verifying it, test_burned_generated_inputs_need_no_class_1_or_3_cause failed on main: record_limit and that test laid the record out without the case's copy_dirs, so CardDemo PAUDBLOD's nested COPY CIPAUSMY (#5233) read as "unresolved copy". New copy_dirs() helper mirrors the generator's lookup order; used by record_limit (layout and REDEFINES read) and the test. Added a regression test.

Gates: pytest tests/tools/test_harness_report.py 18 passed; audit_check.py all clear.

Cross-repo: none.

🤖 Generated with Claude Code

Class / Sibling gaps

Copied from the worker's report by promoter-bot's precheck.

Sibling gaps: none for a burned program. Two things could matter later:

  • The selector-name heuristic in redefines_choices only recognises names containing TYPE, CODE, ID, REQUEST, FLAG, IND, KIND, STATUS, SW or SWITCH.
  • REDEFINES in programs without @generate rules is not examined.

…s, as the generator does (Part of #4493)

record_limit read the layout with only the copybook's directory and the corpus, so a COPY the
generator finds via the case's copy_dirs (#5233, CardDemo PAUDBLOD/CIPAUSMY) was reported as
"unresolved copy", and test_burned_generated_inputs_need_no_class_1_or_3_cause failed on it.

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 24, 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 24, 2026 07:52
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 07:59
@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