Skip to content

docs(sdk): gate the dependent-admission examples with proxy.auth - #4797

Merged
dr-bonez merged 1 commit into
live-docsfrom
docs/sdk-proxy-auth-examples
Nov 18, 2026
Merged

dr-bonez merged 1 commit into
live-docsfrom
docs/sdk-proxy-auth-examples

Conversation

@helix-red

@helix-red helix-red commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

This corrects the published packaging guide (SDK 4.1.0) in the five places that still named addSsl.auth. SDK 4.0.0 replaced it with proxy.auth, and addSsl now carries only TLS settings; its options type has no auth field.

  • interfaces.md § Admitting dependent services: both examples now bind with proxy: { auth: … }. As published, a package copying either one fails to typecheck on SDK 4.x. The examples behave as before. An http binding that omits addSsl still gets its TLS wrapper, and proxy.auth gates both the plaintext and the TLS addresses, as § Authenticating at the Proxy on the same page already shows.
  • Prose: recipe-dependent-auth.md, its row in recipes.md, and service-to-service.md § Reaching a gated dependency now name proxy.auth. The recipes.md row now reads "a proxy.auth gate". Prettier re-pads that table because the edited cell was its widest.

Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).

Rollout. The PR targets live-docs because it corrects text that is already published. It deploys on merge, and docs-backport.yml then copies the commit to master.

Testing.

  • I ran the repo's pinned Prettier (3.8.3, .prettierrc.json) with --check on the four files directly, not through the whole-repo format:check recipe. It passes.
  • CI on 4d24f64: the live-docs guard (Docs-only), Prettier and Conflict Markers passed. The code jobs were skipped because the change is docs-only.
  • I read the SDK behavior the text relies on from the start-core source. AddSslOptions has only preferredExternalPort, alpn and upstreamCertValidation, and MultiHost.bindPort adds the TLS wrapper for http unless addSsl is null.
  • The book was not rebuilt. The edits change text inside existing paragraphs, one table cell and two code blocks, and the one edited link keeps its target interfaces.md#authenticating-at-the-proxy.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5

SDK 4.0.0 moved proxy authentication from `addSsl.auth` to `proxy.auth`,
and `AddSslOptions` no longer has an `auth` field. The two "Admitting
dependent services" examples in interfaces.md still bound with
`addSsl: { auth }`, so a package copying them fails to typecheck, and the
dependent-auth recipe, its recipes.md entry and service-to-service.md
still named the retired field. "Authenticating at the Proxy" on the same
page already uses `proxy.auth`.

An `http` binding that omits `addSsl` keeps its TLS wrapper, so the
examples still gate both the plaintext and TLS legs.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 4d24f64. Both examples now use the SDK 4.x proxy.auth contract; protocol: 'http' still creates its TLS wrapper when addSsl is omitted. The updated prose matches the binding-wide auth policy and the existing reference section. No correctness findings.

The PR merges cleanly into live-docs, and the automatic cherry-pick onto current master is conflict-free. Existing Prettier, Conflict Markers, and Docs-only checks passed; the remaining checks were skipped for this docs-only change. No builds or tests run during review.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@helix-red
helix-red requested a review from dr-bonez November 18, 2026 21:26
@dr-bonez
dr-bonez merged commit a5f53c5 into live-docs Nov 18, 2026
20 checks passed
@dr-bonez
dr-bonez deleted the docs/sdk-proxy-auth-examples branch November 18, 2026 22:19
start9-docs-bot Bot added a commit that referenced this pull request Nov 18, 2026
Backports the following from live-docs:

- a5f53c5 docs(sdk): gate the dependent-admission examples with proxy.auth (#4797)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants