Repository navigation
remove-apikey-self: stop reading the API key from meshStack, show the client version hint - #65
Merged
Merged
Conversation
meshStack removes the endpoint that let an API key read itself. The status of a credential now comes from the stored credential and the claims of its cached token, so it makes no network call. For a new API key it shows that no token is cached yet. ReadSelf and the permission grouping that only the status used are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
grubmeshi
marked this pull request as ready for review
November 2, 2026 13:14
grubmeshi
force-pushed
the
feature/remove-apikey-self
branch
3 times, most recently
from
November 2, 2026 13:33
d654503 to
f24f71a
Compare
…hint The CLI reads the error body of meshStack strictly. A known body shows its message, errorCode and errorId, and its clientVersionHint on a line of its own. A body in any other format shows the status and the raw body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
grubmeshi
force-pushed
the
feature/remove-apikey-self
branch
from
November 2, 2026 13:34
f24f71a to
d6de970
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Coverage of the acceptance run against the meshStack backend, on
Uncovered functions
|
nroi
approved these changes
Nov 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…list Co-Authored-By: Claude Opus 5.5 <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.



remove-apikey-self
meshStack removes the preview endpoint
GET /api/meshobjects/meshapikeys/self(ClickUp). Its only caller wasmeshstack auth status. meshStack also addsclientVersionHintto every 4xx error body under/apiwhen the meshStack CLI is older than v0.9.0 or the Terraform provider is older than its minimum version.clientVersionHintreplacesterraformProviderVersionHint, which no client read.ReadSelfis removed fromclient.MeshApiKeyClient, andApiKeyPermissions.Onlywith it. This changes the public Go client; the Terraform provider only had a mock forReadSelf.auth status,profile showandprofile editread only the stored credential and its cached token. They no longer show the display name, owning workspace, expiry or permissions of an API key, andprofile showno longer waits for meshStack.errorCodeanderrorId, andclientVersionHinton its own line. Any other body shows the status and the raw body. The Terraform provider shows errors through this client, so it shows the hint too.Merge this PR before meshcloud/terraform-provider-meshstack#371, which pins this branch.
Cross-repo PRs
GET /self, addclientVersionHintfor outdated CLI and Terraform provider versionsReadSelf, status reads only local files, showclientVersionHintReadSelfmock, pin the CLI branch🤖 Generated with Claude Code