Repository navigation
[meta] auto-replace iddqd in sled-agent-client - #11551
Merged
sunshowers merged 3 commits intoOct 22, 2026
Merged
sunshowers merged 3 commits into
sunshowers merged 3 commits into
Conversation
Contributor
Author
This was referenced Oct 22, 2026
bnaecker
approved these changes
Oct 22, 2026
| // | ||
| // We should: | ||
| // | ||
| // * Make the primary-NIC join 1:1 with a database constraint (e.g., a |
Collaborator
There was a problem hiding this comment.
Can you file an issue for this? We should have such a constraint.
sunshowers
added a commit
that referenced
this pull request
Oct 22, 2026
Similar to #11551, convert over the clickhouse-admin clients to iddqd. In particular, we get to share a common `Days` definition now, which is nicer. Also switch over automatic replacements to use the versions crate, as [required](https://rfd.shared.oxide.computer/rfd/0619#determinations-progenitor-matching) by RFD 619.
sunshowers
deleted the
sunshowers/spr/meta-auto-replace-iddqd-in-sled-agent-client
branch
October 22, 2026 21:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This required many other
replaces since we needed to pull in the appropriate key type impls. (This is a deliberate decision to make clients and servers agree on type semantics.)There are two places where duplicates are newly detected on the client:
list_all_probe_create_params_for_sled_batched.group_attached_subnets_by_sled_and_vmm.What happens if there were duplicates? Previously, with both 1 and 2:
Vecwith the duplicates.IdOrdMap.IdOrdMaprejects duplicates, so the server would return a 400.With this change, duplicates are now detected on the client before they're sent to the server.
For
list_all_probe_create_params_for_sled_batched, this doesn't change anything -- we previously fail closed and now continue to fail closed. I didn't investigate beyond that point.For
group_attached_subnets_by_sled_and_vmm, there is a change, because instead of failing with a 400, we now push duplicates to theSledSubnetDetails::errorslist and otherwise successfully create a config to send to the server. I did spend some time trying to figure out whether uniqueness was guaranteed (because if it is, then this isn't a functional change in practice). My understanding is that:I've tried capturing my understanding in code comments -- happy to take suggestions on improvements.