Skip to content

reject requests for API versions older than the oldest supported one - #2061

Merged
davepacheco merged 2 commits into
mainfrom
dap/update-dropshot
Oct 31, 2026
Merged

davepacheco merged 2 commits into
mainfrom
dap/update-dropshot

Conversation

@davepacheco

Copy link
Copy Markdown
Contributor

I recently discovered that the way we do versioning with Dropshot servers, servers do not properly reject requests with version numbers older than the oldest supported version. This change uses a new Dropshot helper to reject these requests. (See oxidecomputer/dropshot#1754.) This should not come up in practice since both MUPdate and self-service update ensure that we always have matched client and server versions. But if they ever do mismatch, we want it to fail crisply and explicitly.

@davepacheco
davepacheco requested a review from leftwo October 30, 2026 23:06
@davepacheco davepacheco assigned jmpesp and unassigned jmpesp Oct 30, 2026
@davepacheco
davepacheco requested a review from jmpesp October 30, 2026 23:07

@leftwo leftwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be fine, because we only have one version so far for these APIs.

@davepacheco
davepacheco merged commit 44fedff into main Oct 31, 2026
17 checks passed
@davepacheco
davepacheco deleted the dap/update-dropshot branch October 31, 2026 02:18
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