Skip to content

refactor(fact-channels): migrate entry_point, dli_call, ims_gen to the FactChannel registry (Part of #3383) - #7318

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/3383-20261031T1428Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/3383-20261031T1428Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3383 (slice 16). Migrates entry_point_data, dli_call_data and ims_gen_data to the fact-channel registry, following #7310 (special_names / compiler_options): DDL, indexes, insert row builder and restore select move into core/fact_channels.py; record_keeper.py calls create_channel_table, and the rehydrator's hand-wired restore blocks are gone (the generic loop restores them). Table schemas, column order and restored payload keys are unchanged (where_text -> where, start_pos -> start aliases kept).

Placement avoids #7310's hunks (mine go before the copy_statement DDL/channel and its README section), so the two should merge without textual conflict; both edit the _UNMIGRATED_IR_TABLES set in different lines.

Class / Sibling gaps

Class: the hand-wired fact tables still outside the registry (the _UNMIGRATED_IR_TABLES set). After #7310 and this PR the remaining members are those still listed in _UNMIGRATED_IR_TABLES (tests/core_engine/test_fact_channels.py, e.g. mq_call_data, job_submit_data); each follows the identical mechanism and is a candidate for the next slice. Members handled here: entry_point, dli_call, ims_gen, each with a round-trip test covering every payload key including NULLs.

Remaining slices: the rest of _UNMIGRATED_IR_TABLES (3-4 per PR; one fact_channels.py / record_keeper.py / state_rehydrator.py / README / test edit each).

Sibling gaps: none beyond the remaining slices above.

Evidence

  • pytest tests/core_engine/test_fact_channels.py tests/cobol_mainframe/test_galaxy_ir.py: 100 passed, 1 skipped.
  • pr_gates --fast: 9/9; pr_gates --ratchets: 9 pass, 0 fail, 0 skipped.
  • Hand-written files: 5 (fact_channels.py, record_keeper.py, state_rehydrator.py, recorders/README.md, test_fact_channels.py).

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 31, 2026 10:30
…e 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 14:51
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 14:57
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 28802e2 into main Oct 31, 2026
99 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/3383-20261031T1428Z branch October 31, 2026 15:32
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