Skip to content

refactor(fact-channels): migrate vsam_define and job_flow to the FactChannel registry (Part of #3383) - #7334

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3383, slice 18 (after #7324). Moves the last two legacy IR tables, vsam_define_data and job_flow_data, into the FactChannel registry (vsam_define, job_flow). Behaviour is unchanged: same DDL text, _ensure_columns heal order, indexes, insert columns and restore payload keys, so no golden or ledger moves. _UNMIGRATED_IR_TABLES is 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_flow declares its five heal groups in extra_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_TABLES emptied, _HEALED_ONLY entry for job_flow.

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: vsam_define_data (clean per-file), job_flow_data (per-file plus five heal groups and _has_column restore guards, covered by extra_columns and a callable restore_select). With these, every table galaxy_ir loads is registered. Sibling gaps: none: every member handled. (_UNMIGRATED_RECIPE_TABLES still lists wrapper_data / file_data, which are not channels by design.)

Gates

pr_gates --fast 9/9, --ratchets 9 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

…Channel 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 18:09
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 18:14
@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 68f2b88 into main Oct 31, 2026
99 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/3383-20261031T1722Z branch October 31, 2026 18:38
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