Skip to content

SMOODEV-1526: ESO manifest generator parity (Go/Python/Rust/C#)#105

Merged
brentrager merged 2 commits into
mainfrom
SMOODEV-1526-eso-parity
Jun 2, 2026
Merged

SMOODEV-1526: ESO manifest generator parity (Go/Python/Rust/C#)#105
brentrager merged 2 commits into
mainfrom
SMOODEV-1526-eso-parity

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Ports the ESO manifest generator (buildClusterSecretStore + buildExternalSecret) from the TS reference to all four other SDK languages for parity.

Each emits the same ClusterSecretStore (webhook → real api.smoo.ai config-values endpoint, org+env baked, bearer from the bootstrap Secret) and per-workload ExternalSecret (secret-tier config keys → UPPER_SNAKE_CASE env vars via each language's native snakecase util, with overrides + duplicate guard + distinct-target support).

Tests: Go 8 · Python 9 · Rust 6 · C# 7 — all green.

Epic SMOODEV-1522. The eso-refresher sidecar parity is the next commit on this branch.

🤖 Generated with Claude Code

Port buildClusterSecretStore + buildExternalSecret from the TS reference to all
four other SDK languages. Each emits the same ClusterSecretStore (webhook → real
api.smoo.ai config-values endpoint, org+env baked, bearer from the bootstrap
Secret) and per-workload ExternalSecret (secret-tier config keys → UPPER_SNAKE
env vars via each language's native snakecase util, with env-var overrides +
duplicate guard + distinct-target support). Tests: Go 8, Python 9, Rust 6, C# 7.

Epic SMOODEV-1522. Refresher sidecar parity tracked separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ee27bfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smooai/config Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Port the refresh algorithm + SecretWriter abstraction from the TS reference to
all four other SDKs. Each mirrors: invalidate-then-mint each cycle (so the
bootstrap Secret always holds a near-full-TTL token), fail-loud initial write,
non-fatal loop-tick retries — driven by the language's own TokenProvider and
unit-tested with a fake writer (no live cluster).

The k8s-backed writer is intentionally an optional adapter (NOT in core) so base
SDK consumers don't pull a heavy k8s client (client-go/kube/kubernetes/
KubernetesClient are all absent from these SDKs today); the TS sidecar remains
the canonical deployable. Tests: Go 5, Python 7, Rust 4, C# 5.

Epic SMOODEV-1522.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@brentrager brentrager merged commit ad2c77f into main Jun 2, 2026
1 check failed
@brentrager brentrager deleted the SMOODEV-1526-eso-parity branch June 2, 2026 20:10
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