Skip to content

ci: add build-ocb job to catch upstream OCB / contrib drift#177

Merged
trilamsr merged 1 commit into
mainfrom
chore/ci-ocb-build-gate
May 31, 2026
Merged

ci: add build-ocb job to catch upstream OCB / contrib drift#177
trilamsr merged 1 commit into
mainfrom
chore/ci-ocb-build-gate

Conversation

@trilamsr

Copy link
Copy Markdown
Contributor

What this PR does

Adds a build-ocb job to ci.yml that builds tracecore via the OpenTelemetry Collector Builder on every CI run, then smoke-tests the resulting binary with --version + components.

Root cause

After PR #171 added make build-ocb, there was no continuous signal for OCB build health. Upstream contrib could yank a module version, move a path, or break a tag between our release cuts — and we'd only find out on the next release tag push, well after the breakage landed.

The new job catches this class of failure on every PR.

Cost

  • ~2 min added to CI wall time (OCB build downloads ~30 OTel modules and compiles them; first run on a fresh runner cache).
  • No impact on the required verify aggregator (independent job).

Release notes

NONE

Test plan

  • make actionlint passes
  • make zizmor passes
  • make build-ocb runs locally
  • ./_build/tracecore --version + ./_build/tracecore components work
  • First CI run on this PR exercises the new job

RFC-0013 PR-A side-by-side gate. Builds the OCB binary from
builder-config.yaml and runs --version + components on every CI run.
Catches upstream version pin breakage (contrib module path moves,
deleted modules, version yank) before it surfaces on a release tag.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Signed-off-by: Tri Lam <tri@maydow.com>
@trilamsr trilamsr enabled auto-merge (squash) May 31, 2026 01:48
@trilamsr trilamsr merged commit 8a1a637 into main May 31, 2026
11 checks passed
@trilamsr trilamsr deleted the chore/ci-ocb-build-gate branch May 31, 2026 01:52
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