Skip to content

Bump hey-sdk/go to v0.37.0 - #687

Closed
jeremy wants to merge 1 commit into
mainfrom
sdk-bump/go-v0.37.0
Closed

jeremy wants to merge 1 commit into
mainfrom
sdk-bump/go-v0.37.0

Conversation

@jeremy

@jeremy jeremy commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Bumps github.com/basecamp/hey-sdk/go from v0.35.1 to v0.37.0. Opened by coworker's sdk-bump, the backstop for Dependabot: no Dependabot PR 15h after the release. It opens whether or not the bump builds: what broke is the to-do list.

Build

  • bump: passes — go get github.com/basecamp/hey-sdk/go@v0.37.0, go mod tidy, scripts/sync-mcp-model.sh SDK_CHECKOUT
  • Nix vendorHash: passes — refreshed and the flake builds
  • go build: passes
  • go vet: passes

Tests run in this PR's CI.

SDK changes since v0.35.1

Releases: v0.36.0, v0.37.0. Read MIGRATING.md for the breaks a clean build won't show.

Other SDK bumps


Summary by cubic

Bumps github.com/basecamp/hey-sdk/go from v0.35.1 to v0.37.0 and syncs the bundled API model. This makes two new operations available: restoring a trashed entry and calling back a delayed send. The Nix vendor hash and module checksums were refreshed, and the build, vet, and tests pass.

Written for commit 2d92f67. Summary will update on new commits.

View guided diff Turn on auto-fix

@jeremy
jeremy requested a review from a team as a code owner November 24, 2026 15:27
Copilot AI balanced review requested due to automatic review settings November 24, 2026 15:27
@github-actions github-actions Bot added the deps label Nov 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Undo dispatch can lose mutation acknowledgements and cause retries to recall another message, while restore can trigger delivery without required send confirmation.

2 open issues
What changed in this PR

Updates hey-cli’s Go SDK from v0.35.1 to v0.37.0 and synchronizes its bundled MCP API models and Nix dependency hash.

Changes:

  • Upgrades the SDK and module checksums.
  • Adds entry restoration and delayed-send undo operations to the MCP models, and updates the documented Undo Send scope.
  • Refreshes model provenance and the Nix vendor hash.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
nix/​package.nix Refreshes the dependency vendor hash.
internal/​mcpserver/​model/​PROVENANCE.json Records the v0.37.0 model source.
internal/​mcpserver/​model/​openapi.json Adds restore and undo endpoints; updates scope documentation.
internal/​mcpserver/​model/​behavior-model.json Adds behavior metadata for both operations.
go.sum Updates SDK checksums.
go.mod Pins the SDK to v0.37.0.

Review effort: Balanced

"destructive": false,
"idempotent": true,
"no_redirect": false,
"open_world": false,
"/topics/{topicId}/undo_send.json": {
"post": {
"description": "Call back the last message the caller sent on a topic, while Undo Send still holds it\n(Topics::UndoSendsController#create). The message returns to Drafts, unsent. HEY picks\nthe message: the caller's last delayed entry on the topic, which need not be the one a\ncaller has in mind when two were sent to one thread within the delay. A reply that broke\nout into a thread of its own is called back on that thread, the one SentMessage's\ntopic_id names, and returns to the thread it answered.\n\nHEY answers a success with a redirect and no body, 303 to the draft: /messages/{entryId}/edit\nfor a new message, /topics/{topicId}?expanded_draft={entryId} for a reply. That Location\nis the only place HEY names the entry it called back. A generated client follows the\nredirect and reads the draft or its thread, which says the undo went through and not\nwhich entry it was; the Go, Rust, Kotlin and Swift conveniences send it without\nfollowing and answer the entry. TypeScript's client follows no redirect: there the 303\narrives as an error whose status is 303, and that status is the undo having gone through.\nWith nothing left to call back (the delay ran out and the message went, or none was held)\nHEY answers 400 and changes nothing. A scoped token needs write.\n\nNever sent again after a failure: a second undo calls back the next delayed entry.",
"operationId": "UndoTopicSend",
@jeremy jeremy closed this Nov 25, 2026
@jeremy

jeremy commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

🤖 main already requires hey-sdk/go v0.37.0, so this bump is no longer needed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants