ci: add build-ocb job to catch upstream OCB / contrib drift#177
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds a
build-ocbjob toci.ymlthat 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
verifyaggregator (independent job).Release notes
Test plan
make actionlintpassesmake zizmorpassesmake build-ocbruns locally./_build/tracecore --version+./_build/tracecore componentswork