Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 1, 2026

GitHub Actions workflows were failing when the Go module proxy (storage.googleapis.com) returned HTTP 403 errors during module downloads, blocking builds and test runs.

Changes

Added GOPROXY=https://proxy.golang.org,direct to all Go build and test steps:

  • .github/actions/daily-test-improver/coverage-steps/action.yml - module download, build, test steps
  • .github/actions/daily-perf-improver/build-steps/action.yml - build and test steps
  • .github/actions/cache-ksail-binary/action.yaml - binary build step
  • .github/workflows/ci.yaml - coverage generation step

The direct fallback instructs Go to fetch modules directly from source repositories when the proxy is unavailable.

- name: 📦 Download Go modules
  shell: bash
  env:
    GOPROXY: https://proxy.golang.org,direct
  run: |
    go mod download 2>&1 | tee -a coverage-steps.log
Original prompt

Fix this issue #2037

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: devantler <26203420+devantler@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue 2037 in ksail repository Add GOPROXY fallback for Go module proxy failures Feb 1, 2026
Copilot AI requested a review from devantler February 1, 2026 09:04
@devantler devantler marked this pull request as ready for review February 1, 2026 12:17
Copilot AI review requested due to automatic review settings February 1, 2026 12:17
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

⚠️MegaLinter analysis: Success with warnings

⚠️ MARKDOWN / markdownlint - 46 errors
.github/aw/create-agentic-workflow.md:88 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Read the gh-aw instructions"]
.github/aw/create-agentic-workflow.md:248 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/create-shared-agentic-workflow.md:16 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Build on agentic workflows"]
.github/aw/create-shared-agentic-workflow.md:23 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Prefer Docker Solutions"]
.github/aw/create-shared-agentic-workflow.md:30 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Support Read-Only Tools"]
.github/aw/create-shared-agentic-workflow.md:37 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Move Write Operations to Safe ..."]
.github/aw/create-shared-agentic-workflow.md:44 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Process Agent Output in Safe J..."]
.github/aw/create-shared-agentic-workflow.md:57 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Documentation"]
.github/aw/create-shared-agentic-workflow.md:67 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:70 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:306 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:310 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:411 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:415 error MD003/heading-style Heading style [Expected: atx; Actual: setext]
.github/aw/create-shared-agentic-workflow.md:442 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Good - specific version"]
.github/aw/create-shared-agentic-workflow.md:447 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Good - SHA for immutability"]
.github/aw/create-shared-agentic-workflow.md:452 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Acceptable - latest for develo..."]
.github/aw/create-shared-agentic-workflow.md:458 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]
.github/aw/create-shared-agentic-workflow.md:462 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Read-only workspace mount"]
.github/aw/create-shared-agentic-workflow.md:472 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]
.github/aw/create-shared-agentic-workflow.md:476 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Pattern: Pass through Docker w..."]
.github/aw/debug-agentic-workflow.md:19 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Example: Debugging from a work..."]
.github/aw/debug-agentic-workflow.md:25 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:39 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:53 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Prerequisites"]
.github/aw/debug-agentic-workflow.md:60 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Key Commands Available"]
.github/aw/debug-agentic-workflow.md:91 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:124 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:162 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:199 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:208 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:218 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:256 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/debug-agentic-workflow.md:468 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/update-agentic-workflow.md:48 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Read the gh-aw instructions"]
.github/aw/update-agentic-workflow.md:240 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/update-agentic-workflow.md:509 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/aw/upgrade-agentic-workflows.md:13 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Prerequisites"]
.github/aw/upgrade-agentic-workflows.md:20 error MD036/no-emphasis-as-heading Emphasis used instead of a heading [Context: "Key Commands Available"]
.github/aw/upgrade-agentic-workflows.md:265 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/skills/refactor/SKILL.md:37 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/skills/refactor/SKILL.md:563 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
.github/workflows/update-docs.md:152 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/src/content/docs/faq.md:204 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "``````"]
pkg/svc/chat/docs/faq.md:204 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "``````"]
vsce/README.md:98 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]

✅ Linters with no issues

actionlint, bash-exec, git_diff, hadolint, jscpd, jsonlint, lychee, markdown-table-formatter, prettier, prettier, shellcheck, shfmt, stylelint, syft, trivy-sbom, trufflehog, v8r, v8r, yamllint

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses Go module proxy failures (HTTP 403 errors from storage.googleapis.com) that were blocking GitHub Actions workflows by adding GOPROXY=https://proxy.golang.org,direct environment variable to all Go build and test steps in the affected workflows.

Changes:

  • Added GOPROXY fallback configuration to Go module download, build, and test steps across CI workflows and composite actions
  • Uses the standard Go proxy (https://proxy.golang.org) with direct fallback to fetch from source when proxy is unavailable

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yaml Added GOPROXY to coverage generation step
.github/actions/daily-test-improver/coverage-steps/action.yml Added GOPROXY to module download, build, and test steps
.github/actions/daily-perf-improver/build-steps/action.yml Added GOPROXY to build and test steps
.github/actions/cache-ksail-binary/action.yaml Added GOPROXY to binary build step (covers both go generate and go build)

@devantler devantler added this pull request to the merge queue Feb 1, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 1, 2026
@devantler devantler added this pull request to the merge queue Feb 1, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 1, 2026
@botantler botantler bot enabled auto-merge February 1, 2026 15:07
@github-project-automation github-project-automation bot moved this from 🏃🏻‍♂️ In Progress to 🚀 In Finalization in 🌊 Project Board Feb 1, 2026
Signed-off-by: Nikolai Emil Damm <nikolaiemildamm@icloud.com>
@devantler devantler disabled auto-merge February 1, 2026 15:09
@devantler devantler enabled auto-merge February 1, 2026 15:09
@devantler devantler added this pull request to the merge queue Feb 1, 2026
Merged via the queue into main with commit f2e4565 Feb 1, 2026
28 checks passed
@devantler devantler deleted the copilot/fix-issue-2037 branch February 1, 2026 15:25
@github-project-automation github-project-automation bot moved this from 🚀 In Finalization to ✅ Done in 🌊 Project Board Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants