Skip to content

refactor(fact-channels): migrate job_submit, mq_call, uow_handler, file_control to the FactChannel registry (Part of #3383) - #7324

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3383, slice 17 (after #7318). Moves four more legacy IR tables (DDL, insert, restore, delta-scan node assignment) into the FactChannel registry: 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 (aliases step/name, operand/queue/resolution/candidates, condition, assign kept in restore_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_ir loads 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_data and job_flow_data remain, each a clean per-file channel migration; not done here to stay inside the 5-file cap and because job_flow_data carries _ensure_columns heal steps and extra restore guards (_has_column) that need the channel's extra_columns mechanism.

Remaining slices

Slice 18: vsam_define_data (same pattern), then job_flow_data (extra_columns + the _has_column restore selects in state_rehydrator.py); files: fact_channels.py, record_keeper.py, state_rehydrator.py, README, test.

Gates

pr_gates --fast 9/9, --ratchets 9 pass 0 skipped, audit_check clear, tests/tools_recorders + test_galaxy_ir + test_fact_channels pass (431 passed). Golden not re-blessed: storage-only refactor.

🤖 Generated with Claude Code

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

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 16:06
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 16:15
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit d8a973d into main Oct 31, 2026
99 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/3383-20261031T1541Z branch October 31, 2026 16:43
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