Skip to content

fix: lowercase git ssh signing logs - #980

Merged
skevetter merged 1 commit into
mainfrom
pkg-ssh-git/lowercase-logs
Aug 10, 2026
Merged

skevetter merged 1 commit into
mainfrom
pkg-ssh-git/lowercase-logs

Conversation

@devsy-app

@devsy-app devsy-app Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Package reviewed

pkg/gitsshsigning (within the SSH/git/credentials category scope).

Issue found

Several log strings in pkg/gitsshsigning used uppercase first letters (e.g. "Creating helper script", "Error retrieving git ssh signature", "Failed to write signature to file"). This violates the repo convention documented in AGENTS.md:

Logs: Log messages and logging strings are lowercase.

Change

Lowercased the affected log strings in two files so the package conforms to the repo logging convention. No behavioral change.

  • pkg/gitsshsigning/client.go — 3 log strings lowercased (writeSignatureToFile, sendSignatureRequest, parseSignatureResponse).
  • pkg/gitsshsigning/helper.go — 5 log strings lowercased (ConfigureHelper flow: create/make-executable/get-config-path/update-config).

Verification

  • task cli:format — clean (gofmt/gci/gofumpt via golangci-lint fmt, exit 0).
  • task cli:lint:ci — 0 new issues.
  • task cli:test — pkg/gitsshsigning passes (ok, ~63% coverage). The only failures are the known pre-existing pkg/git TestRepoClone* tests on origin/main, which this change does not touch.
  • go build ./pkg/gitsshsigning/ — builds cleanly.

Commit is app-signed and verified (committer: GitHub, verification: valid).

This PR was created by an AI agent as part of an automated daily package review job.

Lowercase log strings in pkg/gitsshsigning (client.go, helper.go) to follow the repo convention that log messages are lowercase (AGENTS.md). No behavior change.
@netlify

netlify Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit 3fd942c
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a79abc40362010008c9a0d6

@netlify

netlify Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit 3fd942c
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a79abc40c02db00087cd577

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@skevetter
skevetter marked this pull request as ready for review August 10, 2026 13:43
@skevetter
skevetter merged commit 904837b into main Aug 10, 2026
67 checks passed
@skevetter
skevetter deleted the pkg-ssh-git/lowercase-logs branch August 10, 2026 13:44
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.

1 participant