Skip to content

ci: optimize Docker Smoke Test — build openab binary once, share across agent images #981

@thepagent

Description

@thepagent

Problem

The Docker Smoke Test workflow builds the same openab Rust binary 12 times in parallel (once per agent Dockerfile). Each build takes several minutes compiling identical code.

Proposal

  1. Add a build-binary job that compiles openab once (or uses a cached artifact)
  2. Each smoke-test job downloads the pre-built binary and only builds the agent-specific layer
  3. This should cut total CI minutes by ~10x

Context

Noticed in PR #980 — the workflow triggers on any file change touching the PR paths and runs all 12 builds.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions