acme: support standards-compliant order finalization (cherry-pick b4dcfb54b) #9
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 189 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.314
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9"
general
weight: 0.35
hjoshi123
This cherry-picks golang/crypto b4dcfb54b ("acme: support standards-compliant order finalization") onto our fork. It adds
Client.CreateCertFromOrder, which polls the order's own URI after finalize instead of the finalize response'sLocationheader. RFC 8555 does not require that header, and Pebble v2.9.0+ omits it.cert-manager needs this now. Its e2e Pebble omits the header, so every ACME finalize in e2e first fails with
Post "": unsupported protocol scheme ""and is retried. The retry sometimes finalizes the same order twice and fails the test. The cert-manager PR that consumes this commit is cert-manager/cert-manager#9430.The cherry-pick applied cleanly. A full sync with golang/crypto master is a bigger job, because upstream has since added its own ACME profiles support (4e01a8447c), which overlaps with this fork's profiles patch.
Please merge with a merge commit, not squash or rebase. cert-manager's
third_party/klone.yamlpins a0b1a2dbb1f7046e8c15802bf251c282ce86e849, which must stay reachable frommaster.<details>
<summary>How this was tested</summary>
go test ./acme/...passes on this branch, includingTestWithPebbleagainst Pebble v2.10.1.masterwith only the Pebble version bumped to v2.10.1,TestWithPebblefails with the same error cert-manager sees:</details>
[with Claude]