Skip to content

fix(deps): pin onepassword-sdk-go to v0.3.1 to unbreak release#24

Merged
Drumato merged 1 commit into
mainfrom
fix/onepassword-sdk-cgo
May 14, 2026
Merged

fix(deps): pin onepassword-sdk-go to v0.3.1 to unbreak release#24
Drumato merged 1 commit into
mainfrom
fix/onepassword-sdk-cgo

Conversation

@Drumato
Copy link
Copy Markdown
Collaborator

@Drumato Drumato commented May 14, 2026

Summary

  • onepassword-sdk-go を v0.4.0 → v0.3.1 にダウングレードして goreleaser のクロスコンパイル失敗を解消
  • v0.4.0 で追加された WithDesktopAppIntegration//go:build !cgo && (darwin || linux) の分岐で意図的なコンパイルエラー (ERROR_WithDesktopAppIntegration_requires_CGO_To_Cross_Compile_See_README_CGO_Section) を埋め込んでおり、CGO_ENABLED=0 のクロスビルドが失敗する
  • 失敗 run: https://github.com/pepabo/tazuna/actions/runs/25846462267
  • helmfile/vals v0.44.0 の onepassword provider は v0.3.1 で十分 (WithServiceAccountToken / WithIntegrationInfo のみ利用) のため、ダウングレードしても影響なし。#23 update-all で v0.4.0 に上がったのが原因

Test plan

  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build を確認
  • CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build を確認
  • マージ後に v0.1.0 タグを付け直し、release workflow が成功することを確認

🤖 Generated with Claude Code

…mpile

v0.4.0 introduced WithDesktopAppIntegration that emits a deliberate
compile error under !cgo on darwin/linux, breaking goreleaser builds.
helmfile/vals only requires v0.3.1, so downgrade.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Drumato Drumato requested a review from takutakahashi as a code owner May 14, 2026 08:02
@Drumato Drumato merged commit 5487e2c into main May 14, 2026
4 checks passed
@Drumato Drumato deleted the fix/onepassword-sdk-cgo branch May 15, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant