Repository navigation
refactor(fact-channels): migrate special_names_data and compiler_options_data to the registry (Part of #3383) - #7310
Merged
Conversation
…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]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3383 (slice 15). Follows #7303 (copy_statement_data).
What
special_names_data(#3820) andcompiler_options_data(#3828) move into theFactChannelregistry: DDL, indexes, insert and delta-scan restore come from two entries infact_channels.py. The hand-wired blocks inrecord_keeper.py(create + insert) andstate_rehydrator.py(restore + node assignment) are removed; the generic loops cover them.galaxy_irloaders 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
FactChannelregistry (the_UNMIGRATED_IR_TABLESset intest_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.pypass.🤖 Generated with Claude Code