Skip to content

chore(deps): update Go dependencies - #151

Merged
appleboy merged 1 commit into
masterfrom
chore/update-go-dependencies
Nov 8, 2026
Merged

appleboy merged 1 commit into
masterfrom
chore/update-go-dependencies

Conversation

@appleboy

@appleboy appleboy commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Summary

Update direct and indirect dependencies listed in go.mod to the latest versions for their current module paths, then tidy module metadata. Preserve Go 1.26.10 and the separately pinned go.tools.mod toolchain. All 22 retained requirements were checked individually with go list -m -u; none reported an update on 2026-11-08.

Related issues

N/A — no GitHub or Jira issue was supplied.

AI authorship

  • AI was used: OpenAI Codex.
  • AI-authored files: go.mod, go.sum.
  • Human line-by-line reviewed: None — not yet reviewed by a human.

Change classification

Core — runtime dependencies affect the plugin's CI operations. Request two reviewers including the module owner.

Plan reference

Update existing module paths, resolve compatibility failures, validate, and open one focused dependency PR per repository. Cross-major import/API migrations are outside this update.

Verification

Checkout chore/update-go-dependencies in appleboy/drone-telegram and run from the repository root. Prerequisites: Go 1.26.10, a C compiler for race tests, Git, Make, and network access for module downloads. Local checks ran on macOS arm64; SSH/SCP tests ran in isolated Linux Alpine containers.

Command Expected result Observed result
go mod verify Cached module checksums match Passed
make lint No lint errors Passed, 0 issues
make fmt-check No formatting diff Passed
go vet ./... No diagnostics Passed
go build -o /tmp/drone-telegram-review . Binary builds Passed (local output stored outside repo)
git diff --check and git diff --cached --check No whitespace errors Passed
go test -race -count=1 -v ./... Available tests pass without races Passed

Not run: seven live Telegram integration tests were skipped by existing guards because TELEGRAM_TOKEN and TELEGRAM_TO were absent. They require an authorized test bot/chat; the proxy test additionally requires SOCKS5. No real messages were sent.

Dependency freshness scenario

  1. Run go mod edit -json and take each Require[].Path.
  2. Run go list -m -u <module-path> for each. Expected: no [new-version] suffix at the time of this update. Passed: every retained direct/indirect go.mod requirement was checked, including dependencies introduced during the update.
  3. Run the test/build commands above. Expected: existing plugin behavior remains covered by the suite. Passed, subject to explicitly noted credential-dependent skips.

This scope is the requirements in go.mod, not every upstream module's own test dependencies appearing in go list -m all. Go 1.27 and remote CI jobs were not run locally; review GitHub checks before merging. Cleanup: remove the /tmp/ review binary if created.

Evidence

Web screenshots: N/A — no UI changes.
Performance: N/A — no performance claim; correctness and race checks are the relevant evidence.

Security check

No credentials or secrets are included in the diff. This dependency update is not a security audit. Review changed runtime libraries and any API adaptations before merging.

Risk and rollback

Dependency behavior may change despite unchanged module paths, especially v0 SDKs. Roll back by reverting this PR's commit and rebuilding with the prior module files; no persistent data migration is involved.

Reviewer guide

Review runtime dependency versions and any source/config changes first; go.sum is generated metadata. Two reviewers including the module owner should review the AI-authored change. Observe the stated integration-test gaps and wait for CI checks. No human line-by-line review has been performed.

- Update direct and indirect Go dependencies to their latest versions
- Refresh module checksums and remove unused requirements
@appleboy
appleboy merged commit 6a3e28a into master Nov 8, 2026
12 checks passed
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

⌂ 换网址