Skip to content

refactor(fact-channels): migrate special_names_data and compiler_options_data to the registry (Part of #3383) - #7310

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/3383-20261031T1348Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/3383-20261031T1348Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3383 (slice 15). Follows #7303 (copy_statement_data).

What

special_names_data (#3820) and compiler_options_data (#3828) move into the FactChannel registry: DDL, indexes, insert and delta-scan restore come from two entries in fact_channels.py. The hand-wired blocks in record_keeper.py (create + insert) and state_rehydrator.py (restore + node assignment) are removed; the generic loops cover them. galaxy_ir loaders are unchanged. Both leave _UNMIGRATED_IR_TABLES. Added recorders README sections (the registry test requires them) and a round-trip test for every payload key.

Hand-written files (5): fact_channels.py, record_keeper.py, state_rehydrator.py, recorders/README.md, tests/core_engine/test_fact_channels.py. The recipe table rows for both tables already existed.

Class / Sibling gaps

Class: per-file COBOL/mainframe fact tables whose DDL, insert and restore are hand-wired outside the FactChannel registry (the _UNMIGRATED_IR_TABLES set in test_fact_channels.py). Handled here: special_names_data, compiler_options_data (same mechanism: plain per-file child table, restore via _restore_child_table). Sibling gaps, 9 per-file tables remain hand-wired: ims_gen_data, dli_call_data, entry_point_data, job_flow_data, file_control_data, vsam_define_data, uow_handler_data, mq_call_data, job_submit_data. Not here: each has its own columns/healing (_ensure_columns) and restore quirks, and the 5-file cap. Source: _UNMIGRATED_IR_TABLES.

Remaining slices

Migrate the 9 tables above, a few per PR, in the same pattern (fact_channels entry, remove record_keeper + state_rehydrator blocks, README section, test).

Evidence

  • pr_gates --fast: 9/9 pass. --ratchets: 9 pass, 0 fail, 0 skipped (golden/ground-truth/fact-crosscheck/completeness unchanged; no scan output changes).
  • test_fact_channels.py, test_regional_options.py, test_currency_pictures.py pass.

🤖 Generated with Claude Code

…ons_data to the FactChannel registry (Part of #3383)

DDL, indexes, insert and delta-scan restore now come from two registry entries; the hand-wired
record_keeper and state_rehydrator blocks are gone. README sections and a round-trip test added.

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 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 14:05
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 14:05
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 6afd671 into main Oct 31, 2026
99 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/3383-20261031T1348Z branch October 31, 2026 14:34
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