You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send the NArk SDK's own version as X-SDK-VERSION: dotnet-sdk/{version} on every gRPC and REST request, alongside the existing X-Build-Version. Value derived from Nerdbank.GitVersioning with +commit metadata stripped.
Copy file name to clipboardExpand all lines: docs/articles/signer-rotation.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,12 @@ Reconciliation calls `ISingleKeyDefaultEnsurer.EnsureDefaultAsync` to upsert the
43
43
44
44
## Version and Digest Headers
45
45
46
-
Every outgoing gRPC and REST request carries two headers:
46
+
Every outgoing gRPC and REST request carries these headers:
47
47
48
48
| Header | Value | Purpose |
49
49
|--------|-------|---------|
50
50
|`X-Build-Version`|`ArkdVersion.TargetBuild` (e.g. `0.9.9`) | Lets arkd reject SDKs that are too old (`BUILD_VERSION_TOO_OLD`) |
51
+
|`X-SDK-VERSION`|`ArkdVersion.SdkVersionHeaderValue` (e.g. `dotnet-sdk/1.0.327-beta`) | Identifies the SDK and its own package version (from Nerdbank.GitVersioning) in `name/version` form, so arkd can distinguish the .NET SDK from other SDKs |
51
52
|`X-Digest`| Current server-info digest | Lets arkd detect stale cached configuration (`DIGEST_MISMATCH`) |
52
53
53
54
The headers are injected by `BuildVersionInterceptor` (gRPC) and `BuildVersionHandler` (REST). Both throw typed exceptions on rejection:
0 commit comments