Skip to content

[Automated] Draft docs (kagent): controller/push: hot reload signing keys with staged activation - #750

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
pr-tracker-draft-kagent-3726
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
pr-tracker-draft-kagent-3726

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

kagent-dev/kagent#3726 — controller/push: hot reload signing keys with staged activation

Docs versions: main

No code-path rule covers 5 touched file(s). The planner could route these only by identifier search, so the candidate pages may miss what they changed, including in the other mode:

  • go/api/gen/kagent/config/v1/config.pb.go
  • go/core/internal/service/session/push_jwt.go
  • go/core/pkg/app/app.go
  • go/core/pkg/config/defaults.go
  • proto/kagent/config/v1/config.proto

What changes for users: Operators can rotate A2A push callback signing keys without restarting the controller. The new config.push.signingKeyActivationDelay field defaults to 300s, allows up to 86400s, and delays new-key signing long enough for receivers to refresh JWKS caches; callback retries now use 20 durable attempts with 5-second to 60-second backoff.

What the docs now say: The operational considerations page now documents staged signing-key rotation, the activation-delay field, and the restart tradeoff. The A2A example now corrects the callback retry budget and tells receiver operators how to tune the activation delay.

How kagent-3726 was drafted

Plan, and what changed it

  • Planned: Update the push callback signing and delivery sections for config.push.signingKeyActivationDelay and the changed callback retry behavior.
  • Learned: The dossier target copies already had two pages that own this subject: operational-considerations.md for production signing settings and a2a-agents.md for receiver-facing callback behavior; reference/helm.md is generated and was left alone.
  • Did: Updated those two pages, and did not edit the generated Helm reference.

Why a documentation change is necessary

The pull request adds config.push.signingKeyActivationDelay, reloads mounted signing keys every 15 seconds, stages replacement keys in JWKS before use, and changes callback retry behavior. The operations page said rotating a key required restarting all controller pods, which is now wrong except for the documented restart tradeoff. The A2A page said kagent made ten callback attempts, but the diff raises that limit to 20 and adds bounded exponential backoff.

How to verify this change

  1. Apply the signed-callback Helm values from the operations page, including controller.push.signing.secretName, config.push.issuer, and config.push.signingKeyActivationDelay: 300s.
  2. Replace the Secret's private-key.pem entry and wait at least 15 seconds. The controller's /.well-known/jwks.json response should include the replacement public key before callbacks are signed with it.
  3. Use a receiver that fails callback deliveries before it succeeds. The receiver should see retries that start after 5 seconds, back off up to 60 seconds, and continue through 20 attempts before the delivery is dropped.

Proposed release note

Push signing keys hot reload with staged rotation and faster callback retries.

Files in this pull request

  • docs-site/content/kagent/main/examples/a2a-agents.md
  • docs-site/content/kagent/main/operations/operational-considerations.md
How the pages were chosen (triage report)

Draft a documentation change

kagent-dev/kagent#3726 — controller/push: hot reload signing keys with staged activation

  • Product: kagent (upstream) → kagent-dev/website
  • Docs version: main
  • Release note: Push signing keys hot reload with staged rotation and faster callback retries.
  • Not tested: no cluster was available, so every command in this diff is unrun
  • No rule covers 5 touched file(s). The candidate pages below come from the files that DID match a rule, so they may scope this narrower than the change is. Read these before deciding the change is only about the pages listed:
    • go/api/gen/kagent/config/v1/config.pb.go
    • go/core/internal/service/session/push_jwt.go
    • go/core/pkg/app/app.go
    • go/core/pkg/config/defaults.go
    • proto/kagent/config/v1/config.proto

Draft branch: pr-tracker-draft-kagent-3726

…keys with staged activation

Signed-off-by: GitHub Action <action@github.com>
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.

1 participant