Skip to content

Speed up CI: fast PR checks, heavy tests on main only#452

Merged
bmbouter merged 2 commits intomainfrom
speed-up-ci
Apr 23, 2026
Merged

Speed up CI: fast PR checks, heavy tests on main only#452
bmbouter merged 2 commits intomainfrom
speed-up-ci

Conversation

@bmbouter
Copy link
Copy Markdown
Owner

Problem

CI runs 6 parallel jobs on every PR taking ~6 min. Cross-platform builds, k3s setup, full Podman stack — rarely catch real bugs but always slow everything down.

Fix

  • PRs: ONE job — make build + go vet + go test. Should be ~2 min.
  • Main only: functional-tests-podman, functional-tests-k8s, dev-container-tests run post-merge. Cross-platform builds removed entirely (they're redundant with make build).

What changed

  • Merged unit-tests + build into single check job
  • Added if: github.event_name == 'push' to heavy jobs
  • Removed cross-platform-build matrix (release workflow handles this)

🤖 Generated with Claude Code

bmbouter and others added 2 commits April 23, 2026 12:58
The sessions endpoint silently ignored the agent_definition field
because TaskRequest had no such field. This caused executable agents
dispatched by name to run as Claude Code instead.

Now POST /api/v1/sessions accepts agent_definition (name or ID) and
looks up the full definition including executable config, credentials,
profiles, and all other fields. An optional prompt field overrides the
definition's prompt.

Tested end-to-end locally: executable agent dispatched by name runs
the binary (not Claude Code), prompt override works, 404 for unknown
definitions, backwards-compatible prompt-only dispatch preserved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR checks now run ONE job: build + vet + test (~2 min).
Functional tests (podman, k8s), dev-container tests, and cross-platform
builds only run on pushes to main (post-merge). They don't block PRs.

Before: 6 parallel jobs on every PR (~6 min wall time, lots of overhead)
After: 1 job on PRs (~2 min), heavy tests on main only

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bmbouter bmbouter merged commit 18fc736 into main Apr 23, 2026
4 checks passed
@bmbouter bmbouter deleted the speed-up-ci branch April 23, 2026 17:41
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