FORGE-162: manifest builds report their declared verification suites #902

Merged
gmackie merged 1 commit from FORGE-162-manifest-suites into main 2026-10-19 06:16:11 +00:00
Owner

FORGE-162: changeset:manifest builds now report the verification suites their forge-ci.toml declares.

Bug. In agent/internal/agentci/dispatch.go, only the mise case copied mr.VerificationSuites into the CIReport. The manifest case parsed the suites through manifestci and then dropped them. As a result the server never synced suite definitions from manifest builds. Evidence: Chestr builds 50f28b0d (074709a) and 449ca386 (e23aad8, main) passed on agent 0.1.77 with 0 definitions synced, so production deployment 8a0723d6 queued no verification run (CHES-8). FORGE-149 (#896) added a server-side fallback, but only for default-branch builds.

Change.

  • A single manifestReport(buildID, mr, toolchain) builds the report for both runners and carries the suites.
  • The manifest and mise cases both use it, so they can't drift again.
  • New tests: both strategies ship a declared suite intact (key, adapter, command, required, capabilities, retention, config); a build without suites sends none.

Checks run locally. gofmt/go vet are clean on internal/agentci, go test ./internal/agentci/ passes, and go build ./... (agent module) passes.

Release. This takes effect once the nodes run the next agent version. Until then, FORGE-149's fallback covers default-branch builds.

🤖 Generated with Claude Code

FORGE-162: `changeset:manifest` builds now report the verification suites their forge-ci.toml declares. **Bug.** In `agent/internal/agentci/dispatch.go`, only the `mise` case copied `mr.VerificationSuites` into the `CIReport`. The `manifest` case parsed the suites through manifestci and then dropped them. As a result the server never synced suite definitions from manifest builds. Evidence: Chestr builds 50f28b0d (074709a) and 449ca386 (e23aad8, main) passed on agent 0.1.77 with 0 definitions synced, so production deployment 8a0723d6 queued no verification run (CHES-8). FORGE-149 (#896) added a server-side fallback, but only for default-branch builds. **Change.** - A single `manifestReport(buildID, mr, toolchain)` builds the report for both runners and carries the suites. - The `manifest` and `mise` cases both use it, so they can't drift again. - New tests: both strategies ship a declared suite intact (key, adapter, command, required, capabilities, retention, config); a build without suites sends none. **Checks run locally.** `gofmt`/`go vet` are clean on `internal/agentci`, `go test ./internal/agentci/` passes, and `go build ./...` (agent module) passes. **Release.** This takes effect once the nodes run the next agent version. Until then, FORGE-149's fallback covers default-branch builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(agent): manifest builds report their declared verification suites (FORGE-162)
All checks were successful
CI / superseded (pull_request) Successful in 0s
CI / gitleaks (pull_request) Successful in 10s
CI / unit-web (pull_request) Successful in 2m56s
CI / unit-api (pull_request) Successful in 5m14s
CI / checks (pull_request) Successful in 1m9s
CI / storybook (pull_request) Successful in 2m6s
CI / go (pull_request) Successful in 1m15s
CI / web-build (pull_request) Successful in 3m45s
CI / database (pull_request) Successful in 5m35s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 28s
CI / database-d1 (pull_request) Successful in 6m8s
Preview / deploy (pull_request) Has been skipped
Preview / e2e (pull_request) Has been skipped
Preview / cleanup (pull_request) Successful in 20s
fbd30e4a12
Only the mise case copied mr.VerificationSuites into the CI report, so
changeset:manifest builds (e.g. Chestr) never shipped [verification.suites]
and the server never synced them; FORGE-149's fallback covers only
default-branch builds. Both cases now build their report through one
manifestReport helper, so they can't drift again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Owner

Preview environment is live: https://pr-902-forgegraph.forgegraf.com

Deployed fbd30e4a with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Preview environment is live: https://pr-902-forgegraph.forgegraf.com Deployed `fbd30e4a` with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.
Author
Owner

Preview environment is live: https://pr-902-forgegraph.forgegraf.com

Deployed fbd30e4a with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Preview environment is live: https://pr-902-forgegraph.forgegraf.com Deployed `fbd30e4a` with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Worker Preview: https://pr-902.previews.forgegraf.com (updates on every push; behind Cloudflare Access, D1 fg-pr-902)

<!-- forgegraph-preview --> Worker Preview: https://pr-902.previews.forgegraf.com (updates on every push; behind Cloudflare Access, D1 `fg-pr-902`)
Sign in to join this conversation.
No description provided.