SMOODEV-1526: ESO manifest generator parity (Go/Python/Rust/C#)#105
Merged
Conversation
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 detectedLatest commit: ee27bfb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 → realapi.smoo.aiconfig-values endpoint, org+env baked, bearer from the bootstrap Secret) and per-workloadExternalSecret(secret-tier config keys →UPPER_SNAKE_CASEenv 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