Repository navigation
Raise the Go toolchain baseline to 1.27.4 - #76753
Conversation
Co-authored-by: gh-aw-bot <[email protected]>
Triage
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ 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: 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.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Specification Reviewer completed successfully! Commit pushed:
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: 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.
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
🟡 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. | |
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
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
|
🎉 This pull request is included in a new release. Release: |

govulncheckbegan failing across main and PR runs after reportingGO-2026-6859in Go 1.27.3’snet/http; the advisory identifies Go 1.27.4 as the fixed version.