Repository navigation
refactor(fact-channels): migrate job_submit, mq_call, uow_handler, file_control to the FactChannel registry (Part of #3383) - #7324
Merged
Conversation
…le_control to the FactChannel 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 17 (after #7318). Moves four more legacy IR tables (DDL, insert, restore, delta-scan node assignment) into the
FactChannelregistry:job_submit_data,mq_call_data,uow_handler_data,file_control_data. Behaviour is unchanged: same DDL, columns, indexes, aliases and payload keys, so no golden or ledger moves.Changes
gitgalaxy/core/fact_channels.py: four DDL constants and four channels (aliasesstep/name,operand/queue/resolution/candidates,condition,assignkept inrestore_select).gitgalaxy/recorders/record_keeper.py,gitgalaxy/core/state_rehydrator.py: the hand-written create / insert / restore / node blocks removed.gitgalaxy/recorders/README.md: a section per table.tests/core_engine/test_fact_channels.py: round-trip test over every payload key (set and NULL values); the four tables leave_UNMIGRATED_IR_TABLES.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:job_submit_data,mq_call_data,uow_handler_data,file_control_data. Sibling gaps:vsam_define_dataandjob_flow_dataremain, each a clean per-file channel migration; not done here to stay inside the 5-file cap and becausejob_flow_datacarries_ensure_columnsheal steps and extra restore guards (_has_column) that need the channel'sextra_columnsmechanism.Remaining slices
Slice 18:
vsam_define_data(same pattern), thenjob_flow_data(extra_columns + the_has_columnrestore selects instate_rehydrator.py); files:fact_channels.py,record_keeper.py,state_rehydrator.py, README, test.Gates
pr_gates --fast9/9,--ratchets9 pass 0 skipped,audit_checkclear,tests/tools_recorders+test_galaxy_ir+test_fact_channelspass (431 passed). Golden not re-blessed: storage-only refactor.🤖 Generated with Claude Code