Repository navigation
CLI: Update Go SDK to 47914f683b2ee9414fba387299f0894e67b2ae2c - #304
Open
kernel-internal[bot] wants to merge 1 commit into
Open
kernel-internal[bot] wants to merge 1 commit into
kernel-internal[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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
47914f683b2ee9414fba387299f0894e67b2ae2c.Coverage
Kernel CLI SDK coverage report
Generated: 2026-10-27T12:52:30Z
Summary
github.com/kernel/kernel-go-sdkfromv0.131.0tov0.132.0.v0.132.0resolves from the requested SDK commit47914f683b2ee9414fba387299f0894e67b2ae2c.APIKey.LastUsedAt(last_used_at). Added it to human-readable API-key list/get output and synchronized help with the field's OpenAPI caveats.SDK delta review
The supplied
/tmp/sdk-diff.patchcontains no method or parameter changes, and/tmp/openapi-diff.patchreports that its baseline is unavailable. An independent comparison of the resolved SDK modules found:api.md: unchanged, with 175 methods in both versions.APIKey.LastUsedAt time.Timeplus its response metadata field.The SDK changelog describes this release as returning
last_used_aton API keys.Full coverage disposition
x-cli-skipEnumeration artifacts were generated outside the checkout under
/home/runner/work/_temp/cli-scratch/:sdk-coverage-matrix.tsvsdk-param-structs.tsvcli-coverage-matrix-final.tsvcli-coverage-matrix-final.jsonGap report
Missing commands
None.
Missing flags
None. The complete v0.132.0 request-parameter surface is identical to v0.131.0, whose non-skipped methods are already covered by the CLI.
Response/output gap addressed
APIKey.LastUsedAt/ OpenAPIcomponents.schemas.ApiKey.properties.last_used_atkernel api-keys listnow includes a Last Used At column.kernel api-keys getnow includes a Last Used At row.-, avoiding the inaccurate claim that the key was never used before tracking began.Help text synchronized with OpenAPI
Updated
kernel api-keys listandkernel api-keys getlong help to reflectApiKey.last_used_at:-means no use has been recorded since last-use tracking began.The wording is adapted for CLI output while preserving the OpenAPI field's accuracy and null-value semantics.
Intentional exclusions
The following generated SDK methods are explicitly marked
x-cli-skip: trueand remain intentionally excluded:client.ConfigRegistry.ListGET /config-registryclient.ConfigRegistry.LookupPOST /config-registry/lookupclient.ConfigRegistry.ResolvePOST /config-registry/resolveclient.ConfigRegistry.Analyses.ListGET /config-registry/analysesclient.ConfigRegistry.Analyses.GetGET /config-registry/analyses/{id}client.ConfigRegistry.Analyses.CancelPOST /config-registry/analyses/{id}/cancelFour additional OpenAPI operations are both
x-cli-skipandx-stainless-skip, so they have no generated SDK method:POST /mpp/browsersGET /vault/card-captures/currentPOST /vault/card-captures/currentPOST /auth/connections/{id}/exchangeFiles changed
go.modgo.sumcmd/api_keys.gocmd/api_keys_test.goValidation
Passed:
go mod tidygo test ./...go vet ./...go build ./...git diff --checkReal-API read-only smoke tests passed using the scratch-built CLI:
kernel api-keys list --limit 1rendered the Last Used At column.kernel api-keys list --limit 1 --output jsonincludedlast_used_at.kernel api-keys get <id>rendered the Last Used At row.No API resources were created, modified, or deleted during smoke testing.
Limitations
Because the supplied OpenAPI diff had no baseline, description synchronization was checked against the current OpenAPI document and the independently verified SDK v0.131.0-to-v0.132.0 source delta. No unrelated help text was changed.
Validation
Note
Low Risk
Display-only CLI and dependency bump for a new read-only API field; no auth or mutation paths changed.
Overview
Bumps
github.com/kernel/kernel-go-sdkfrom v0.131.0 to v0.132.0, which addslast_used_aton API key responses.Human-readable
kernel api-keys listandkernel api-keys getnow show Last Used At (formatted locally, or-when the API has no recorded use).formatAPIKeyLastUsedAtmirrors the existing expires-at handling. List/get long help documents ~20-minute accuracy and that-means no use since tracking started. Tests cover list/get rendering and the null case. JSON output picks up the new SDK field without extra CLI changes.Reviewed by Cursor Bugbot for commit 1f9ef54. Bugbot is set up for automated code reviews on this repo. Configure here.