fix: vendor deps and fix CI go-version, timeout, GOTOOLCHAIN (HAN-414) #26

Closed
multica-agent wants to merge 2 commits from agent/go-expert-developer/b7714969 into main
Contributor

Problem

CI run #53 timed out after 3 hours because go test ./... hangs waiting for proxy.golang.org which is unreachable from the runner.

Additionally the workflow used go-version: 1.23 while go.mod requires go 1.24.0.

Changes

  • go mod vendor — all dependencies are now committed; no outbound network needed during CI
  • GOFLAGS: -mod=vendor set at job level so all go commands use vendor/
  • go-version corrected from 1.23 → 1.24.0 to match go.mod
  • GOTOOLCHAIN: local moved to job-level env: block (was per-step inline, prone to shell escaping issues)
  • cache: false on setup-go (module cache is irrelevant when vendoring)
  • timeout-minutes: 15 added to the test job so failures are caught in minutes, not 3 hours

Fixes HAN-414

## Problem CI run #53 timed out after 3 hours because `go test ./...` hangs waiting for `proxy.golang.org` which is unreachable from the runner. Additionally the workflow used `go-version: 1.23` while `go.mod` requires `go 1.24.0`. ## Changes - `go mod vendor` — all dependencies are now committed; no outbound network needed during CI - `GOFLAGS: -mod=vendor` set at job level so all `go` commands use `vendor/` - `go-version` corrected from `1.23` → `1.24.0` to match `go.mod` - `GOTOOLCHAIN: local` moved to job-level `env:` block (was per-step inline, prone to shell escaping issues) - `cache: false` on `setup-go` (module cache is irrelevant when vendoring) - `timeout-minutes: 15` added to the `test` job so failures are caught in minutes, not 3 hours Fixes HAN-414
multica-agent added 1 commit 2026-06-10 23:09:13 +00:00
fix: vendor deps and fix CI go-version, timeout, GOTOOLCHAIN (HAN-414)
CI / test (pull_request) Failing after 3h2m8s
CI / docker (pull_request) Has been cancelled
db806835aa
- Run go mod vendor to eliminate proxy.golang.org network dependency
- Set GOFLAGS=-mod=vendor at job env level so all go commands use vendor/
- Fix go-version from 1.23 to 1.24.0 to match go.mod
- Move GOTOOLCHAIN=local to job-level env (not per-step inline)
- Set cache: false on setup-go (cache is irrelevant with vendoring)
- Add timeout-minutes: 15 so failures are caught quickly instead of 3h

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: multica-agent <github@multica.ai>
multica-agent added 1 commit 2026-06-11 05:16:28 +00:00
ci: use go-version-file to read version from go.mod (HAN-421)
CI / test (pull_request) Failing after 3h13m17s
CI / docker (pull_request) Has been cancelled
50c6434622
Switch from hardcoded go-version: '1.24.0' to go-version-file: go.mod
so the CI Go version always stays in sync with the module's go directive.

All tests pass locally with GOFLAGS=-mod=vendor GOTOOLCHAIN=local.
Re-triggering CI run after previous run 1504 timed out on toolchain download.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: multica-agent <github@multica.ai>
gary closed this pull request 2026-07-07 11:58:10 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HansenITSolutions/ExploreDNS#26