Skip to content

Get sockets from manifest#608

Merged
mkeeter merged 1 commit intomasterfrom
mkeeter/net-config
Apr 6, 2026
Merged

Get sockets from manifest#608
mkeeter merged 1 commit intomasterfrom
mkeeter/net-config

Conversation

@mkeeter
Copy link
Copy Markdown
Contributor

@mkeeter mkeeter commented Mar 30, 2026

We previously hard-coded socket ports (fine) and sizes (ehhhhh) based on expected services.

This isn't particularly robust – we expect ports to be stable (because they're assigned in OANA), but buffer sizes may vary from image to image.

This PR parses socket data into our HubrisManifest, then uses it when talking to the SP. It also removes repeated code in socket construction, and does other miscellaneous cleanups.

As always, most of the LOC changes are in snapshot tests, because I've added socket printing to humility manifest.

Copy link
Copy Markdown
Contributor

@labbott labbott left a comment

Choose a reason for hiding this comment

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

I had looked at this before my trip and still LGTM

This comment was marked as resolved.

@mkeeter mkeeter enabled auto-merge (rebase) April 6, 2026 19:42
@mkeeter mkeeter disabled auto-merge April 6, 2026 19:43
@mkeeter mkeeter force-pushed the mkeeter/net-config branch from 1e9b4c2 to e708703 Compare April 6, 2026 19:44
@mkeeter mkeeter merged commit f45d046 into master Apr 6, 2026
12 checks passed
@mkeeter mkeeter deleted the mkeeter/net-config branch April 6, 2026 20:33
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.

3 participants