Skip to content

[WIP][Immutable Models M2] messages.BlockResponse, messages.ClusterBlockResponse: message/internal split + validation #7740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: andron/7696-define-UntrustedMessage-interface
Choose a base branch
from

Conversation

UlyanaAndrukhiv
Copy link
Contributor

@UlyanaAndrukhiv UlyanaAndrukhiv commented Aug 18, 2025

Closes: #7709, #7703

Context

  • Added flow.BlockResponce and cluster.BlockResponce as internal types.
  • Implemented ToInternal() for messages.BlockResponse, messages.ClusterBlockResponse to convert to internal model.
  • Changed from messages.BlockResponse/messages.ClusterBlockResponse to flow.BlockResponce/cluster.BlockResponce where they used as internal.
  • Updated components and tests according to changes.

@UlyanaAndrukhiv UlyanaAndrukhiv self-assigned this Aug 18, 2025
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2025

Codecov Report

❌ Patch coverage is 57.14286% with 21 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
utils/unittest/fixtures.go 0.00% 18 Missing ⚠️
engine/common/synchronization/engine.go 81.81% 1 Missing and 1 partial ⚠️
engine/collection/synchronization/engine.go 83.33% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@UlyanaAndrukhiv UlyanaAndrukhiv changed the base branch from feature/immutability-networking-layer to andron/7696-define-UntrustedMessage-interface August 19, 2025 13:54
@UlyanaAndrukhiv UlyanaAndrukhiv marked this pull request as ready for review August 20, 2025 08:23
@UlyanaAndrukhiv UlyanaAndrukhiv requested a review from a team as a code owner August 20, 2025 08:23
@UlyanaAndrukhiv UlyanaAndrukhiv marked this pull request as draft August 20, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants