Skip to content

chore(deps): remove orphaned cloudflare-go/v7 from go.mod#141

Merged
jacaudi merged 1 commit into
mainfrom
fix/cloudflare-go-cleanup
May 27, 2026
Merged

chore(deps): remove orphaned cloudflare-go/v7 from go.mod#141
jacaudi merged 1 commit into
mainfrom
fix/cloudflare-go-cleanup

Conversation

@jacaudi
Copy link
Copy Markdown
Owner

@jacaudi jacaudi commented May 27, 2026

Summary

  • Removes the orphan github.com/cloudflare/cloudflare-go/v7 v7.3.0 require entry from go.mod (and corresponding go.sum line) via go mod tidy.
  • Commit 5551e67 added v7 to go.mod but migrated zero code — every internal/cloudflare/*.go still imports cloudflare-go/v6. The v7 entry was a stale leftover from an incomplete migration.

Context

PR #140 (Renovate: v6 → v7) tries to replace v6 with v7 by string substitution, which would (a) leave duplicate v7 v7.3.0 lines in go.mod and (b) break the build because v6 is still imported. This PR doesn't migrate the code — it just clears the orphan so the half-migration trap is gone. A real v6→v7 code migration remains separate work; PR #140 cannot merge until that's done.

Test plan

  • go build ./... clean
  • go vet ./... clean
  • CI green

Commit 5551e67 ("Update module github.com/cloudflare/cloudflare-go/v6
to v7") added v7 v7.3.0 to go.mod but did not migrate any source files
from v6. Every internal/cloudflare/*.go still imports v6 — nothing
imports v7 — so the v7 require was a stale artifact of an
incomplete migration.

`go mod tidy` removes it. This unblocks any in-flight tooling that
inspects go.mod for consistency and removes the trap that PR #140
walked into (Renovate tried to replace v6→v7 by substitution and
ended up with a duplicate v7 require line).

A real v6→v7 code migration remains a separate task.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jacaudi jacaudi merged commit 3aa2d24 into main May 27, 2026
7 checks passed
@jacaudi jacaudi deleted the fix/cloudflare-go-cleanup branch May 27, 2026 05:35
@wall-e-one
Copy link
Copy Markdown
Contributor

wall-e-one Bot commented May 27, 2026

🎉 This PR is included in version 0.19.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@wall-e-one wall-e-one Bot added the released label May 27, 2026
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