Skip to content

[3/n] [wicketd-commission-types] reject unknown fields in UserSpecifiedPortConfig#10808

Merged
sunshowers merged 5 commits into
mainfrom
sunshowers/spr/3n-wicketd-commission-types-reject-unknown-fields-in-userspecifiedportconfig
Jul 14, 2026
Merged

[3/n] [wicketd-commission-types] reject unknown fields in UserSpecifiedPortConfig#10808
sunshowers merged 5 commits into
mainfrom
sunshowers/spr/3n-wicketd-commission-types-reject-unknown-fields-in-userspecifiedportconfig

Conversation

@sunshowers

Copy link
Copy Markdown
Contributor

serde(untagged) is a bit fragile here. I'm not sure if we're going to switch this to internal tagging in the future, but this code can be removed if we make that change.

Depends on:

Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1

@andrewjstone andrewjstone 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.

Great fix. Thank you!

@andrewjstone

Copy link
Copy Markdown
Contributor

FYI, the main reason I used untagged here was so that the TOML config would be backwards compatible. Does that still hold with this change?

@sunshowers

Copy link
Copy Markdown
Contributor Author

FYI, the main reason I used untagged here was so that the TOML config would be backwards compatible. Does that still hold with this change?

Yeah. There's no change for correct configs. It's just incorrect ones now fail properly rather than silently becoming "auto".

@sunshowers
sunshowers changed the base branch from sunshowers/spr/main.3n-wicketd-commission-types-reject-unknown-fields-in-userspecifiedportconfig to main July 13, 2026 23:22
Created using spr 1.3.6-beta.1
@sunshowers
sunshowers enabled auto-merge (squash) July 13, 2026 23:23
@sunshowers
sunshowers disabled auto-merge July 13, 2026 23:50
Created using spr 1.3.6-beta.1
@sunshowers
sunshowers enabled auto-merge (squash) July 14, 2026 00:08
@sunshowers
sunshowers merged commit 5e2a6a6 into main Jul 14, 2026
20 checks passed
@sunshowers
sunshowers deleted the sunshowers/spr/3n-wicketd-commission-types-reject-unknown-fields-in-userspecifiedportconfig branch July 14, 2026 06:59
sunshowers added a commit that referenced this pull request Jul 15, 2026
The `CertKeyDuplicateIgnored` variant was added in #3326 but was never
returned.

We could do something fancier here like try and key on some notion of
certificate identity, but I figure what really matters here is an
operator retry.

Depends on:

* #10806
* #10807
* #10808
sunshowers added a commit that referenced this pull request Jul 16, 2026
…10810)

We're going to make this a published API, so let's add a little bit of
documentation. There are no functional changes.

Depends on:

* #10806
* #10807
* #10808
* #10809
sunshowers added a commit that referenced this pull request Jul 16, 2026
…-common re-exports (#10811)

Remove the temporary shims added in #10807.

Depends on:

* #10806
* #10807
* #10808
* #10809
* #10810
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