Skip to content

Raise the Go toolchain baseline to 1.27.4 - #76753

Merged
pelikhan merged 3 commits into
mainfrom
copilot/workflow-health-fix-govulncheck
Nov 11, 2026
Merged

pelikhan merged 3 commits into
mainfrom
copilot/workflow-health-fix-govulncheck

Conversation

Copilot AI commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

govulncheck began failing across main and PR runs after reporting GO-2026-6859 in Go 1.27.3’s net/http; the advisory identifies Go 1.27.4 as the fixed version.

  • Update the baseline: Raise the Go version in both module files and align repository tooling, devcontainer configuration, release checks, and owned workflow pins.
    go 1.27.4
  • Keep generated workflows consistent: Regenerate locks for workflows with updated Go pins, and update the baseline tests and security architecture specification.

Copilot AI changed the title [WIP] Fix CGO govulncheck failure on main and PR branches Raise the Go toolchain baseline to 1.27.4 Nov 11, 2026
Copilot AI requested a review from gh-aw-bot November 11, 2026 05:20
@github-actions

Copy link
Copy Markdown
Contributor

Triage

  • Category: bug
  • Risk: high
  • Score: 82/100 (impact 42 + urgency 25 + quality 15)
  • Recommended action: fast_track
  • Notes: Go baseline bump addresses a security-related toolchain advisory and is already green on CI; this is the highest-value fix in the current batch.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~6 AIC · ⌖ ~2 AIC · ⊞ 14.9K · ◷

@pelikhan
pelikhan marked this pull request as ready for review November 11, 2026 08:29
Copilot AI adaptive review requested due to automatic review settings November 11, 2026 08:29
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.5K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt61 medium · ~3 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #76753

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

Commit pushed: 64388b7

Generated by PR Specification Reviewer for #76753

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the Go 1.27.4 toolchain baseline update. No actionable correctness, security, or maintainability issues found in the changed lines. The specialist pass was unavailable because its file-read tool invocation was denied; this review is based on the pre-fetched diff and metadata.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The security architecture sets TT-03 to 1.27.4 while the related ADR still documents 1.27.3, leaving the enforced baseline and decision records contradictory until the ADR is updated.

1 open issue
What changed in this PR

Raises the repository-wide Go toolchain baseline from 1.27.3 to 1.27.4 to address the reported net/http vulnerability and aligns runtime defaults, tooling, release checks, development containers, tests, security documentation, and owned workflows.

Changes:

  • Updates Go module directives, linting, devcontainer configuration, runtime defaults, and toolchain validation.
  • Updates owned workflow Go pins and regenerates their lock files.
  • Refreshes baseline tests and the security architecture specification.
File Description
specs/​security-architecture-spec.md Updates the documented TT-03 Go toolchain baseline and evidence requirement to 1.27.4.
scripts/​check-go-toolchain.sh Raises the minimum release toolchain version to Go 1.27.4.
scripts/​check-go-toolchain_test.sh Updates toolchain validation tests for the Go 1.27.4 minimum.
pkg/​workflow/​serena_go_runtime_test.go Updates the Serena Go tool-cache fixture to version 1.27.4.
pkg/​workflow/​runtime_setup_test.go Updates generated runtime setup expectations to use Go 1.27.4.
pkg/​workflow/​runtime_go_baseline_test.go Updates assertions for repository and owned-workflow Go baselines.
pkg/​workflow/​aider_discovery_test.go Updates the Aider workflow Go-version contract to 1.27.4.
pkg/​constants/​version_constants.go Sets the default generated Go runtime version to 1.27.4.
go.mod Raises the primary module Go directive to 1.27.4.
.golangci.yml Aligns the golangci-lint Go version with the 1.27.4 baseline.
.github/​workflows/​smoke-test-tools.md Updates the smoke-test-tools workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-test-tools.lock.yml Regenerates the smoke-test-tools lock file for the updated runtime pin.
.github/​workflows/​smoke-kiro.md Updates the Kiro workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-kiro.lock.yml Regenerates the Kiro workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-goose.md Updates the Goose workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-goose.lock.yml Regenerates the Goose workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-factory.md Updates the Factory workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-factory.lock.yml Regenerates the Factory workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-cursor.md Updates the Cursor workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-cursor.lock.yml Regenerates the Cursor workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-copilot.md Updates the Copilot workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-copilot.lock.yml Regenerates the Copilot workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-copilot-arm.md Updates the ARM Copilot workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-copilot-arm.lock.yml Regenerates the ARM Copilot workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-copilot-aoai-entra.md Updates the AOAI Entra Copilot workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-copilot-aoai-entra.lock.yml Regenerates the AOAI Entra Copilot workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-copilot-aoai-apikey.md Updates the AOAI API-key Copilot workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-copilot-aoai-apikey.lock.yml Regenerates the AOAI API-key Copilot workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-codex.md Updates the Codex workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-codex.lock.yml Regenerates the Codex workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-claude.md Updates the Claude workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-claude.lock.yml Regenerates the Claude workflow lock file for the updated runtime pin.
.github/​workflows/​smoke-atomic.md Updates the Atomic workflow Go runtime pin to 1.27.4.
.github/​workflows/​smoke-atomic.lock.yml Regenerates the Atomic workflow lock file for the updated runtime pin.
.github/​workflows/​go.mod Raises the workflow dependency module Go directive to 1.27.4.
.github/​workflows/​daily-go-test-stubs-aider.md Updates the daily Aider Go-test workflow runtime pin to 1.27.4.
.github/​workflows/​daily-go-test-stubs-aider.lock.yml Regenerates the daily Aider Go-test workflow lock file for the updated runtime pin.
.github/​workflows/​daily-code-debt-aider.md Updates the daily Aider code-debt workflow runtime pin to 1.27.4.
.github/​workflows/​daily-code-debt-aider.lock.yml Regenerates the daily Aider code-debt workflow lock file for the updated runtime pin.
.devcontainer/​upgrade-tools.sh Validates that the devcontainer provides Go 1.27.4.
.devcontainer/​devcontainer.json Pins the devcontainer Go feature to version 1.27.4.

Review effort: Lite (auto)

| **TT-01 TLS policy** | The following hardened bootstrap curl paths MUST restrict both initial and redirected URLs to HTTPS and MUST retain hostname/chain validation: `install_awf_binary.sh`, `install_copilot_cli.sh`, `install_threat_detect_binary.sh`, the GitHub CLI key installer (`install_gh_cli.sh`), Cloud Hypervisor setup downloads (including `cloud_hypervisor_setup_bundle.sh`'s latest-release API probe), and the generated Compose installer in `copilot_engine_installation.go`. No insecure certificate override or HTTP retry is permitted on these paths. The inline Maven bootstrap in `copilot_engine_installation.go` remains outside this TLS policy and TT-02's independent archive-integrity guarantees. |
| **TT-02 Independent release integrity** | AWF and downloaded Copilot CLI archives MUST authenticate their checksum manifest against a release-bound SHA256 digest before consuming it. The trusted setup action's `release_integrity.sh` supplies built-in pins; literal workflow `sandbox.agent.checksums-sha256` (AWF `checksums.txt`) and `engine.checksums-sha256` (Copilot `SHA256SUMS.txt`) MUST allow independently provisioned overrides for explicit semantic release versions. Missing, duplicate or malformed trusted pins and mismatched bytes MUST fail installation before archive extraction, installation or execution. Explicit Copilot pins MUST bypass toolcache activation and verify both host and requested musl guest archives. Pins MUST propagate with their versions to matching detection/eval installations; engine normalization MUST NOT carry another engine's version or pin. Replacing both the artifact and its network-served checksum MUST NOT bypass authentication. A bundle integrity failure MUST NOT trigger an AWF binary fallback. Threat-detect retains compiler-supplied asset digests; Compose retains architecture-specific compiler digests and an inline verifier in the generated installer, without sourcing a job-writable helper; `install_gh_cli.sh` authenticates the GitHub CLI apt signing key before installation. Cloud Hypervisor/NVX attestation checks remain independent requirements. |
| **TT-03 Toolchain evidence** | Release builds MUST reject Go toolchains older than 1.27.3 and development/prerelease toolchains. `scripts/check-go-toolchain.sh` checks the actual compiler; `scripts/build-release.sh` inspects each native binary's embedded toolchain and records `dist/build-toolchain.txt`. Repository modules, lint tooling, the devcontainer and owned workflow Go pins use 1.27.3; user-selected Go runtimes remain author-controlled and are not attested by compilation. Generated root capture and Serena setup MUST clear inherited `GOROOT` when discovering the selected local toolchain and refresh the host environment before subsequent builds. |
| **TT-03 Toolchain evidence** | Release builds MUST reject Go toolchains older than 1.27.4 and development/prerelease toolchains. `scripts/check-go-toolchain.sh` checks the actual compiler; `scripts/build-release.sh` inspects each native binary's embedded toolchain and records `dist/build-toolchain.txt`. Repository modules, lint tooling, the devcontainer and owned workflow Go pins use 1.27.4; user-selected Go runtimes remain author-controlled and are not attested by compilation. Generated root capture and Serena setup MUST clear inherited `GOROOT` when discovering the selected local toolchain and refresh the host environment before subsequent builds. |

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed PR head 2111350 against security-architecture-spec.md v1.1.9 and the updated TT-03 contract. The intentional Go 1.27.3 → 1.27.4 baseline change is consistently reflected in the implementation, owned workflow pins, and baseline tests, and preserves the existing toolchain-evidence obligations.

Queued same-repository specification synchronization: commit 234cf7f updates security-architecture-spec.md to v1.1.10, records the November 11, 2026 publication date, and adds the TT-03 baseline change log entry. No blocking conformance findings. Static review only; tests were not run per review policy.

Generated by PR Specification Reviewer for #76753 · copilot · gpt50 · ~4 AIC · ⌖ ~4 AIC · ⊞ 1.6K
Comment /review-specs to run again

@pelikhan
pelikhan merged commit d82cce8 into main Nov 11, 2026
2 of 3 checks passed
@pelikhan
pelikhan deleted the copilot/workflow-health-fix-govulncheck branch November 11, 2026 08:40
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[workflow-health] CGO govulncheck failing on main and PR branches since 03:31Z

4 participants