Skip to content

fix: use Go module proxy instead of GitHub API to resolve client version#207

Open
taeold wants to merge 1 commit intomainfrom
fix-resolve-latest
Open

fix: use Go module proxy instead of GitHub API to resolve client version#207
taeold wants to merge 1 commit intomainfrom
fix-resolve-latest

Conversation

@taeold
Copy link
Copy Markdown
Contributor

@taeold taeold commented Feb 14, 2026

The resolve-latest action used an unauthenticated GitHub API call to resolve the latest client version. This is unreliable because:

  • Unauthenticated GitHub API requests are rate-limited to 60/hour
  • If the API call fails, curl --silent suppresses the error and jq returns the literal string null
  • This causes go install ...@null which fails with "invalid version: unknown revision null"

This has caused flaky conformance test failures in downstream functions-framework-* repos.

Replace with go list -m which resolves the version through Go's module proxy (proxy.golang.org). This is more reliable (no rate limiting) and purpose-built for version resolution.

Also fixes deprecated ::set-output syntax in favor of $GITHUB_OUTPUT.

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