Skip to content

ci: fall back to secondary Go proxies in legacy Coverage UT - #509

Open
XuPeng-SH wants to merge 1 commit into
matrixorigin:mainfrom
XuPeng-SH:fix/coverage-go-proxy-fallback
Open

XuPeng-SH wants to merge 1 commit into
matrixorigin:mainfrom
XuPeng-SH:fix/coverage-go-proxy-fallback

Conversation

@XuPeng-SH

Copy link
Copy Markdown
Contributor

Problem

An HTTP 500 from the internal Go proxy stopped legacy Coverage UT during package discovery in MatrixOne #33388. Go's comma-separated GOPROXY only falls back on HTTP 404 or 410. Failed job

Change

Use Go's | separator in the shared legacy Coverage UT step so failed requests can fall back to the next configured proxy. The mirror order and checksum configuration stay the same. A healthy first proxy still serves the request on its own.

Validation

  • Go 1.26.4 with cold module caches and controlled proxies reproduced the HTTP 500 failure on the previous configuration. The new value passed six cases covering a healthy first proxy, 404 and 500 fallback, successful recovery through the final proxy, failure when all proxies fail, and rejection of a checksum mismatch.
  • The 132 relevant Coverage workflow tests, actionlint 1.7.12, the workflow disablement guard, the coverage step shell syntax check, and git diff --check passed.

Rollout

MatrixOne pins the shared Coverage workflow. Adopt the merged CI revision in the consumer before checking a new MatrixOne coverage run for this fix. Current pin

This branch has not been deployed

No deployments
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