chore(sdk-monitor): pin the published 5.8.0 / 2.5.0 client releases - #966
Merged
Conversation
The monitor exists to catch exactly one thing — a published client that is broken or behind — and it had drifted into that state itself. The pins sat at `e2a`/`@e2a/sdk` 5.4.0 and `@e2a/cli` 2.1.0 while PyPI and npm were four releases ahead at 5.8.0 / 2.5.0, so for four releases the monitor was certifying packages no user was installing. Its own docstring cites the failure this service was built to prevent: "the SDKs sat at 4.0.1 on PyPI/npm while `main` was at 5.2.0 and nothing caught it." The gap was invisible from CI, which is part of why it lasted. test.yml's harness job installs `./sdks/python` — repo source, already 5.8.0-equivalent — so the offline suite has been green against a 5.8.0 API surface this whole time while the deployed image ran 5.4.0. The tests were never evidence about the pin. Bump all three together, not just the stale-looking ones: `@e2a/cli@2.5.0` declares `@e2a/sdk: ^5.7.0`, so raising the CLI alone would leave the top-level `@e2a/sdk` at 5.4.0 and let npm satisfy the CLI from a nested second copy — the `cli` iface would then exercise an SDK version nothing pins and nobody reads from package.json. At 5.8.0 / 2.5.0 the tree resolves flat. Also drop the duplicated version numbers from the interface table. They were the second place every bump had to touch and the reason the docs said 5.4.0 in two spots; the bump-policy section stays the single place a version is written, matching the `python_sdk` row that never carried one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TZPjA3xV9hRmwsQQ6hhvFy
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.
Summary
Pins the sdk-monitor at the client releases users actually install:
e2aand@e2a/sdk5.4.0 → 5.8.0,@e2a/cli2.1.0 → 2.5.0. All three are live on PyPI/npm and are the currentlatest, so this follows the README's policy of bumping after the publish.The monitor exists to catch one thing — a published client that's broken or behind — and it had drifted into being that thing. For four releases it was certifying packages nobody was installing. Its own docstring names the failure it was built to prevent: "the SDKs sat at 4.0.1 on PyPI/npm while
mainwas at 5.2.0 and nothing caught it."Why CI never caught it:
test.yml's harness job installs./sdks/python— repo source, already 5.8.0-equivalent — so the offline suite has been green against a 5.8.0 API surface the whole time while the deployed image ran 5.4.0. The tests were never evidence about the pin, and still aren't; the image build is.Client surface checklist
Not applicable — no API, schema, or client-surface change. This bumps the versions of the published clients that
tests/sdk-monitorinstalls from PyPI/npm, and touches nothing undersdks/,cli/, ormcp/.Operational risk
Low. Nothing deploys from this change on its own — the sdk-monitor Cloud Run services (staging and prod) are pinned to explicit image tags in
terraform/{staging,prod}/sdk-monitor.tf, so this takes effect only when a new image is built and deployed.@e2a/cli@2.5.0declares@e2a/sdk: ^5.7.0. Raising the CLI alone would leave the top-level@e2a/sdkat 5.4.0 and let npm satisfy the CLI from a nested second copy — thecliiface would then exercise an SDK version nothing pins and nobody reads frompackage.json, which is the same class of blindness this PR fixes. Verified the tree resolves flat at 5.8.0 / 2.5.0.python_sdkrow that never carried one.Test plan
latest— PyPIe2a5.8.0, npm@e2a/sdk5.8.0, npm@e2a/cli2.5.0 — rather than trusting the repo's git tags, which are not proof of a publishpip install -r requirements.txtfrom PyPI into a clean venv resolves 5.8.0, and the offline suite passes against the real published package (191 checks) — the README's documented local checknpm installresolves@e2a/sdk@5.8.0+@e2a/cli@2.5.0flat, with the CLI's^5.7.0satisfied by the top-level copy and no nested duplicatenode --check js/monitor-helper.mjsclean against the 5.8.0 treemonitor_okonce it's deployed🤖 Generated with Claude Code
https://claude.ai/code/session_01TZPjA3xV9hRmwsQQ6hhvFy