close
Skip to content

fix(ci): bypass Go module proxy in submodule dependency workflow#181

Merged
vishalg0wda merged 1 commit into
mainfrom
fix/submodule-deps-goproxy-direct
Mar 13, 2026
Merged

fix(ci): bypass Go module proxy in submodule dependency workflow#181
vishalg0wda merged 1 commit into
mainfrom
fix/submodule-deps-goproxy-direct

Conversation

@vishalg0wda
Copy link
Copy Markdown
Member

@vishalg0wda vishalg0wda commented Mar 13, 2026

Summary

  • Adds GOPROXY: direct to the update-submodule-dependencies workflow to bypass the Go module proxy cache
  • Fixes failed run where go get @main resolved to the stale tagged v1.20.0 instead of the just-pushed commit containing the new graph and oq packages

Root cause

The workflow triggers immediately on push to main, but proxy.golang.org hasn't indexed the new commit yet. So go get github.com/speakeasy-api/openapi@main resolves to the cached v1.20.0 tag, which doesn't contain packages added in c8d5d3a.

Test plan

  • Re-run the update-submodule-dependencies workflow after merge and verify it passes

🤖 Generated with Claude Code


Open with Devin

The update-submodule-dependencies workflow runs immediately on push to
main, but `go get @main` through proxy.golang.org resolves to the
latest cached tagged version (v1.20.0) instead of the just-pushed
commit. This caused failures when new packages (graph, oq) were added
but not yet indexed by the proxy.

Setting GOPROXY=direct fetches directly from GitHub, ensuring @main
resolves to the actual branch tip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vishalg0wda vishalg0wda requested a review from a team as a code owner March 13, 2026 15:26
@vishalg0wda vishalg0wda enabled auto-merge (squash) March 13, 2026 15:27
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@vishalg0wda vishalg0wda merged commit 9f34eda into main Mar 13, 2026
13 checks passed
@vishalg0wda vishalg0wda deleted the fix/submodule-deps-goproxy-direct branch March 13, 2026 15:34
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants