Skip to content

Raise discovery response limit to 3 MiB - #121

Merged
j0sh merged 1 commit into
mainfrom
ja-codex/discovery-response-3mib
Dec 5, 2026
Merged

j0sh merged 1 commit into
mainfrom
ja-codex/discovery-response-3mib

Conversation

@j0sh

@j0sh j0sh commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Raise the shared discovery inventory response limit from 1 MiB to 3 MiB and update the error and documentation.
  • Verify that the signer accepts a 3 MiB inventory and rejects one that is one byte over.

Validation

  • go test ./discovery/... ./orchestrator ./signer

Copilot AI balanced review requested due to automatic review settings December 5, 2026 06:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified for the change increasing the shared discovery inventory response limit to 3 MiB.

No open issues 🎉

What changed in this PR

Raises the shared discovery inventory response limit from 1 MiB to 3 MiB, allowing larger inventories.

Changes:

  • Updates the shared limit and error message.
  • Adds signer tests for accepting exactly 3 MiB and rejecting one byte over.
  • Updates discovery and signer documentation.
File Description
signer/​discovery_test.go Tests the new response-size boundaries.
docs/​signer.md Documents the 3 MiB inventory limit.
docs/​discovery.md Updates collector and signer limit descriptions.
discovery/​shared/​inventory.go Raises the shared limit and updates its error message.

Review effort: Balanced

@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 06:49 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 06:49 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 06:49 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 06:50 — with GitHub Actions Inactive
@j0sh
j0sh merged commit 1f93abe into main Dec 5, 2026
13 checks passed
@j0sh
j0sh deleted the ja-codex/discovery-response-3mib branch December 5, 2026 06:58

This branch was previously deployed

1 inactive deployment
docker-publish — 849e8d37 Deployed Dec 5, 2026 by j0sh via docker-pr / promote #240
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