Skip to content

ci(go): compile the Go analysis driver - #369

Merged
tbhb-agent merged 1 commit into
mainfrom
agent/r20-nogo-onmain
Nov 23, 2026
Merged

tbhb-agent merged 1 commit into
mainfrom
agent/r20-nogo-onmain

Conversation

@tbhb-agent

Copy link
Copy Markdown
Contributor

Why

An incompatible golang.org/x/tools bump (v0.53.0, #349) passed rules CI, then broke the build of a consumer's nogo driver. No rules target compiled the driver, so CI couldn't catch it.

Behavior change

  • go/e2e/smoke gains a nogo_smoke target built against the shared x/tools. A new CI step builds it on the go-smoke leg.
  • go/tests exports an inspect analyzer alias for that target.
  • The Renovate cap comment now starts with Rule: and says when to lift it.

Decisions

  • The target only builds. It doesn't run a subprocess, so it doesn't need a Windows exclusion.
  • The change leaves out a govulncheck gate. Its existing test needs live advisories from vuln.go.dev and has no offline database input in the Bazel sandbox. Tracker row added.

Risk

The new step runs on every go-smoke leg, so a driver build failure now fails CI. That's the intent.

Verification

  • With x/tools at v0.53.0, bazelisk build --config=ci //:nogo_smoke from go/e2e/smoke exits 1 with not enough arguments in call to facts.NewDecoder. It passes at v0.52.0.
  • The run's gate passed 277 of 277 tests, and //... from go/ passed 61 of 61.

Opened-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli
Generated-by: LLM harness=codex;model=openai:gpt-6.2-sol
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:0cf977f160699318;surface=exec
Assisted-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli

Generated-by: LLM harness=codex;model=openai:gpt-6.2-sol
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:0cf977f160699318;surface=exec
@tbhb-agent
tbhb-agent merged commit b51a151 into main Nov 23, 2026
58 checks passed
@tbhb-agent
tbhb-agent deleted the agent/r20-nogo-onmain branch November 23, 2026 12:47
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