Skip to content

DBB zBuilder dbb-app.yaml impactQueryPatterns read into the declared copy-library order (Part of #8412) - #8984

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-20261122T0443Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-20261122T0443Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Part of #8412

Checklist: done [c:19982422]

What

The DBB application-conf / file.properties reader landed in #8573, #8869 and #8968. The burned DBB estate (dbb-mortgage-application) uses the DBB 3.x zBuilder layout instead, where the copybook directories are named in dbb-app.yaml, and nothing read them. This reads the impactQueryPatterns variable (any task): the dependencyPatterns of a COBOL languageExt entry (cbl, cob, cobol, pco) whose file mask is a copybook extension (cpy, copy, cpb, cobcpy, cobcopy, dcl, inc), in declaration order, into the declared copy-library order (declared_dirs_in_folder). A same-name member then resolves in the declared order instead of being refused as ambiguous.

Real estate: declared_dirs_in_folder(zBuilder/MortgageApplication) now returns the copybook directory.

Class / Sibling gaps

Class: a build/IDE configuration file that names the SYSLIB order of a COBOL workspace (proc_grps.json, cpy-manager paths, zapp.yaml, zapp named libraries, DBB application-conf, DBB dbb-app.yaml, JCL SYSLIB / JCLLIB). Members: proc_grps, settings.json, zapp.yaml SYSLIB and named libraries, application-conf (all three files, :: scoped values refused by design) are handled (#8111, #8850, #8573, #8869, #8968); dbb-app.yaml handled here. Sibling gaps: the zBuilder language YAMLs (copyLibraries-style dataset names in ${HLQ}.*.COPY) name MVS datasets, not local directories, and stay out of scope. The JCL SYSLIB / JCLLIB line of the issue is a separate checklist item.

Tests

tests/cobol_mainframe/test_copy_dbb_app_yaml_8412.py (authored fixtures, invented names): the reader over pattern forms (variable, literal and case-folded application name, recursive mask, other copybook extensions, repeats), entries that declare nothing (link card, other variable, unresolved variable, escaping path, missing dir, no mask, malformed, list, empty), and a real scan where the declared order picks the winner for two same-name members. 79 copy tests pass with the zapp and application-conf files.

Gates: pr_gates --fast was 8/9 (lint, secrets, xray, gen-docs, derived, workflows, gauntlet and affected passed; audits failed on one mypy finding). Fixed since, then mypy_audit, dead_key_audit, ruff format and the 54 copy tests (dbb-app.yaml and application-conf) re-run clean; the affected gate ran on the tree before that fix and was not re-run.

🤖 Generated with Claude Code

…copy-library order (Part of #8412)

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 Nov 22, 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 22, 2026 05:38
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 05:44
@squid-shepherd
squid-shepherd Bot merged commit 372ade1 into main Nov 22, 2026
105 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8412-20261122T0443Z branch November 22, 2026 06:12
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