Repository navigation
refactor(fact-channels): migrate vsam_define and job_flow to the FactChannel registry (Part of #3383) - #7334
Merged
Conversation
…Channel registry (Part of #3383) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
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 18 (after #7324). Moves the last two legacy IR tables,
vsam_define_dataandjob_flow_data, into theFactChannelregistry (vsam_define,job_flow). Behaviour is unchanged: same DDL text,_ensure_columnsheal order, indexes, insert columns and restore payload keys, so no golden or ledger moves._UNMIGRATED_IR_TABLESis now empty.Changes
gitgalaxy/core/fact_channels.py: two DDL constants,_job_flow_select(NULL-aliases each healed column the baseline lacks, same order as before) and two channels;job_flowdeclares its five heal groups inextra_columns.gitgalaxy/recorders/record_keeper.py,gitgalaxy/core/state_rehydrator.py: the hand-written create / insert / restore / node blocks removed (net -350 lines).gitgalaxy/recorders/README.md: a section per table.tests/core_engine/test_fact_channels.py: round-trip over every payload key (set and NULL values), a pre-heal baseline restore test,_UNMIGRATED_IR_TABLESemptied,_HEALED_ONLYentry forjob_flow.Class / Sibling gaps
Class: IR tables that
galaxy_irloads with a hand-written insert and restore instead of a registry channel (_UNMIGRATED_IR_TABLES). Members handled here:vsam_define_data(clean per-file),job_flow_data(per-file plus five heal groups and_has_columnrestore guards, covered byextra_columnsand a callablerestore_select). With these, every tablegalaxy_irloads is registered. Sibling gaps: none: every member handled. (_UNMIGRATED_RECIPE_TABLESstill listswrapper_data/file_data, which are not channels by design.)Gates
pr_gates --fast9/9,--ratchets9 pass 0 skipped,crucible_check.py(both legs, no update) PASS, so the golden output is byte-identical.tests/tools_recorders,test_galaxy_ir,test_fact_channels, job_flow and file_control tests: 485 passed, 1 skipped.🤖 Generated with Claude Code