Skip to content

Remove bulk commands, bump courier-go to v4.20.0 (C-19507)#73

Merged
mikemilla merged 1 commit into
mainfrom
mike/c-19507-remove-bulk-cli
Jul 23, 2026
Merged

Remove bulk commands, bump courier-go to v4.20.0 (C-19507)#73
mikemilla merged 1 commit into
mainfrom
mike/c-19507-remove-bulk-cli

Conversation

@mikemilla

Copy link
Copy Markdown
Contributor

Summary

The /bulk endpoints were removed from the Courier API spec (api-spec #171), so courier-go v4.20.0 no longer exposes the Bulk service or its param types. This bumps the SDK pin and removes the hand-written bulk command layer that wrapped it, which otherwise fails to compile (undefined: courier.BulkAddUsersParams, client.Bulk.* undefined).

Changes

  • Bump github.com/trycourier/courier-go/v4 v4.18.1v4.20.0 (+ go mod tidy).
  • Delete pkg/cmd/bulk.go (the bulk add-users / create-job / list-users / retrieve-job / run-job commands and handlers).
  • Remove the bulk resource registration block from pkg/cmd/cmd.go.
  • Delete pkg/cmd/bulk_test.go.

Validation

  • go build ./...
  • go vet ./...
  • go test ./... ✅ (all packages pass)
  • No residual client.Bulk / courier.Bulk* references.

Linear: C-19507

🤖 Generated with Claude Code

The /bulk endpoints were removed from the API spec, so courier-go
v4.20.0 no longer exposes the Bulk service. Bump the SDK pin and
drop the hand-written bulk command layer (pkg/cmd/bulk.go, its
registration in cmd.go, and bulk_test.go) that wrapped it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@linear

linear Bot commented Jul 23, 2026

Copy link
Copy Markdown

C-19507

@mikemilla
mikemilla merged commit 3997448 into main Jul 23, 2026
7 checks passed
@mikemilla
mikemilla deleted the mike/c-19507-remove-bulk-cli branch July 23, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant