Skip to content

runtime options: judge db2.precompile.PARM token by token (Part of #4707) - #6152

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4707-20261023T0413Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4707-20261023T0413Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4707 (follow-up to #6130).

db2.precompile.PARM was one policy: None row, so any token string passed unjudged. It is now split into per-token rows (PRECOMPILE_OPTIONS, precompile_tokens, _precompile_hits in gitgalaxy/core/runtime_options.py), the same shape as the CICS translator split.

class member status
db2.precompile.PARM per-token rows: listing/delimiter tokens recorded only; DATE/TIME/DEC/DECPT/CCSID/HOST/SQL/STDSQL refused unless the argument is the honoured IBM default; QUOTESQL/GRAPHIC refused; unknown token refused by name
cics.translator.options, le.source.* done in #6130
db2.precompile.coprocessor, db2.bind.* not token lists; unchanged

Estate check: only CardDemo records a PARM (HOST(IBMCOB),XREF,SOURCE,FLAG(I),APOST); every token has a row and none is refused (test per estate). CBSA/GenApp/DBB record the integrated coprocessor only; CICS-async and zECS record no PARM.

Register C18 gains the rendered token table; a test pins the page to it. No parsing logic touched, so no golden bless.

Lessons for agents

  • DATE/TIME/DEC are listed because the issue names them; IBM documents some as bind/install options rather than precompiler options. The row reasons point at db2.format.*.

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 23, 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 23, 2026 04:30
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 04:31
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@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