Skip to content

refactor(interop): move log helpers into op-core/interop/messages#20946

Queued
ajsutton wants to merge 1 commit into
developfrom
aj/refactor/move-interop-log-helpers-to-op-core
Queued

refactor(interop): move log helpers into op-core/interop/messages#20946
ajsutton wants to merge 1 commit into
developfrom
aj/refactor/move-interop-log-helpers-to-op-core

Conversation

@ajsutton
Copy link
Copy Markdown
Contributor

Moves MessageFromLog, DecodeExecutingMessageLog, and LogToLogHash out of op-supervisor/supervisor/backend/processors and into op-core/interop/messages. These are pure log-decoding helpers over op-core/interop/messages types with no coupling to supervisor backend state.

After this change there are no external imports of op-supervisor/supervisor/backend/processorsop-interop-filter, op-interop-mon, op-supernode, and op-program now reach the helpers via op-core/interop/messages alongside the rest of the interop vocabulary. The processors package remains as the supervisor's internal log-ingestion pipeline (chain_processor, log_processor, client) and consumes the helpers like any other caller.

EventDecoderFn is consolidated into log_processor.go since that's the only file that uses it.

A small step in the larger op-supervisor removal effort, alongside #20896.

Moves MessageFromLog, DecodeExecutingMessageLog, and LogToLogHash out of
op-supervisor/supervisor/backend/processors and into
op-core/interop/messages. These functions are pure log-decoding helpers
that operate entirely on op-core/interop/messages types; they have no
coupling to supervisor backend state. Several non-supervisor consumers
(op-interop-filter, op-interop-mon, op-supernode, op-program) were
reaching into the supervisor processors package just for these helpers.

After this change there are no external imports of
op-supervisor/supervisor/backend/processors. The processors package
remains as the supervisor's internal log-ingestion pipeline
(chain_processor, log_processor, client) and consumes the helpers via
op-core/interop/messages alongside the rest of its callers.

EventDecoderFn is consolidated into log_processor.go since it is only
used there.
@ajsutton ajsutton requested a review from a team as a code owner May 21, 2026 04:45
@ajsutton ajsutton enabled auto-merge May 21, 2026 19:29
@ajsutton ajsutton added this pull request to the merge queue May 22, 2026
Any commits made after this event will not be merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants