Skip to content

Bump hey-sdk to v0.30.0 - #428

Merged
jeremy merged 1 commit into
mainfrom
heyrel-bump-hey-sdk-0.30.0
Sep 10, 2026
Merged

Bump hey-sdk to v0.30.0#428
jeremy merged 1 commit into
mainfrom
heyrel-bump-hey-sdk-0.30.0

Conversation

@jeremy

@jeremy jeremy commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

Pins hey-sdk v0.30.0 (go/v0.30.0, 9b16fc7).

What it brings the CLI:

Alongside the pin:

  • internal/mcpserver/model/ resynced from go/v0.30.0 via make update-mcp-model: PROVENANCE moves to 9b16fc7, and the model gains GetWorkflowStage under the Workflows tag, which the catalog already pins as unmapped, so TestCatalogUnmappedTagsArePinned is unchanged.
  • github.com/oapi-codegen/runtime v1.6.0 → v1.7.0 (indirect, pulled by the SDK).
  • nix/package.nix vendorHash recomputed with make update-nix-hash and verified by a full Nix build.

Test plan

  • make check (fmt, vet, lint, unit tests, tidy, surface, release lockstep)
  • make update-nix-hash built the flake against the new go.sum
  • go.mod carries a single github.com/basecamp/hey-sdk/go v0.30.0 requirement and no replace

Summary by cubic

Pins hey-sdk from v0.29.0 to v0.30.0, so draft sends and edits HEY rejects with a 422 now surface the validation message instead of a bare "validation error", and a failed draft edit no longer reads as applied.

Changes

  • The MCP model resyncs to go/v0.30.0, adding GetWorkflowStage under the Workflows tag, which the catalog already pins as unmapped.
  • github.com/oapi-codegen/runtime bumps to v1.7.0 as an indirect dependency.
  • nix/package.nix vendorHash is recomputed via make update-nix-hash and verified with a full Nix build.
  • Other SDK additions like the workflow stage reader and retry policy fixes are not called by the CLI yet.

Written for commit 5e34a4f. Summary will update on new commits.

Review in cubic

Draft sends and edits that HEY rejects with a 422 now surface the
validation message instead of a bare "validation error", and a draft
edit that fails no longer reads as applied (hey-sdk#133). The pin also
brings the workflow stage reader, generated retry policies and the
Retry-After rounding fix, none of which the CLI calls yet.

The vendored MCP model moves to go/v0.30.0 with it, gaining the
GetWorkflowStage operation under the already-unmapped Workflows tag, and
the Nix vendorHash follows go.sum.
Copilot AI balanced review requested due to automatic review settings September 10, 2026 05:54
@jeremy
jeremy requested a review from a team as a code owner September 10, 2026 05:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T05:58:42.375317Z 5e34a4f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

🟢 Approval recommended

The changes are a straightforward dependency/model snapshot bump with no local behavioral logic modifications in hey-cli beyond the expected version pin updates.

Pull request overview

This PR updates hey-cli’s HEY SDK dependency to github.com/basecamp/hey-sdk/go v0.30.0 and resyncs the embedded MCP OpenAPI/behavior model snapshot to match the new SDK release, plus updates the Nix vendor hash for reproducible builds.

[!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.

Changes:

  • Bump github.com/basecamp/hey-sdk/go from v0.29.0v0.30.0 (and refresh go.sum).
  • Resync internal/mcpserver/model/* (OpenAPI + behavior model + provenance) to go/v0.30.0.
  • Update Nix vendorHash to match the new module graph.
File summaries
File Description
nix/package.nix Updates vendorHash for Nix builds after the dependency bump.
internal/mcpserver/model/PROVENANCE.json Updates provenance to the hey-sdk go/v0.30.0 commit.
internal/mcpserver/model/openapi.json Resynced OpenAPI snapshot; includes new/updated operation and schema metadata.
internal/mcpserver/model/behavior-model.json Resynced behavior model (retry/pagination metadata, new operation entry).
go.mod Pins hey-sdk to v0.30.0 and updates indirect oapi-codegen/runtime to v1.7.0.
go.sum Records new module checksums corresponding to the updated dependencies.
Review details
  • Files reviewed: 5/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread internal/mcpserver/model/openapi.json
@jeremy
jeremy merged commit 1ac3ef0 into main Sep 10, 2026
34 checks passed
@jeremy
jeremy deleted the heyrel-bump-hey-sdk-0.30.0 branch September 10, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hey draft send always fails with bare "validation error" (HTTP 422 body discarded); draft edit 422s but applies anyway

2 participants