Skip to content

Conversation

tbagrel1
Copy link

@amesgen amesgen added the Peras label Jul 31, 2025
@tbagrel1 tbagrel1 force-pushed the peras/object-diffusion branch from c132caf to 282c91a Compare August 6, 2025 17:00
@tbagrel1 tbagrel1 requested review from amesgen and Niols August 6, 2025 17:01
@tbagrel1
Copy link
Author

tbagrel1 commented Aug 6, 2025

Alright, I cleaned up most of the code, and separated it into 5 (hopefully) digestible commits. Ready for review!

@tbagrel1
Copy link
Author

tbagrel1 commented Aug 6, 2025

Important note: the definition of ObjectDiffusion in ouroboros-network relies on the InboundAgency and OutboundAgency types (see ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs). So far, they are aliases for hardcoded ServerAgency and ClientAgency. It doesn't bother us too much for now, as client/server roles are purely arbitrary and symmetrical from a typed-protocols PoV, but apparently for production they carry a particular meaning, so we should find a way to fix that.

Copy link
Member

@amesgen amesgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left a few comments/suggestions

Copy link
Member

@amesgen amesgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only minor comments

@amesgen
Copy link
Member

amesgen commented Aug 22, 2025

Also, there are some CI failures.

  • The x86_64-darwin and windows failures are flaky and can be ignored.
  • The fourmolu and hlint failures are legit.
  • The cabal-docspec failure can be fixed by rebasing on top of peras-staging.

Copy link
Contributor

@Niols Niols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Buncha comments.

Copy link
Contributor

@Niols Niols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few changes according to my own review. Feel free to revert them, obviously.

@amesgen amesgen force-pushed the peras/object-diffusion branch from 2524c4d to de3deab Compare August 29, 2025 17:22
@tbagrel1 tbagrel1 force-pushed the peras/object-diffusion branch from 8b0f277 to cd32fac Compare September 2, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design how to get certificates from PerasCertDB for diffusion Get a basic object diffusion working
3 participants