Skip to content

objectsigner/auto: Bump gpg/ssh to v0.2.0 and add context to Sign#12

Merged
pjbgf merged 1 commit into
mainfrom
auto-bump
Jun 24, 2026
Merged

objectsigner/auto: Bump gpg/ssh to v0.2.0 and add context to Sign#12
pjbgf merged 1 commit into
mainfrom
auto-bump

Conversation

@pjbgf

@pjbgf pjbgf commented Jun 24, 2026

Copy link
Copy Markdown
Member

The gpg and ssh signer modules gained a context parameter on Sign in v0.2.0 so callers can cancel external/remote signing (e.g. an external program or agent). Bump auto to those releases and thread the context through its own Signer interface to match, updating the tests to pass t.Context().

The gpg and ssh signer modules gained a context parameter on Sign in
v0.2.0 so callers can cancel external/remote signing (e.g. an external
program or agent). Bump auto to those releases and thread the context
through its own Signer interface to match, updating the tests to pass
t.Context().

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>

Signed-off-by: Paulo Gomes <paulo@entire.io>
Entire-Checkpoint: 3628d6eded27
Copilot AI review requested due to automatic review settings June 24, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the objectsigner/auto module to align with gpg/ssh signer v0.2.0, which adds context.Context support to Sign so callers can cancel signing operations.

Changes:

  • Bump github.com/go-git/x/plugin/objectsigner/{gpg,ssh} dependencies to v0.2.0.
  • Update auto.Signer to Sign(ctx context.Context, message io.Reader) and document context behavior.
  • Update tests to pass t.Context() into Sign.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
plugin/objectsigner/auto/go.mod Bumps gpg/ssh signer module dependencies to v0.2.0.
plugin/objectsigner/auto/go.sum Adds checksums for the v0.2.0 gpg/ssh modules.
plugin/objectsigner/auto/auto.go Updates exported Signer interface to include context.Context.
plugin/objectsigner/auto/auto_test.go Updates all signer invocations to pass t.Context().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pjbgf pjbgf requested a review from hiddeco June 24, 2026 10:59
@pjbgf pjbgf merged commit 382b290 into main Jun 24, 2026
7 checks passed
@pjbgf pjbgf deleted the auto-bump branch June 24, 2026 12:24
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.

3 participants