feat(build): add noop BuildManager implementation#168
Closed
behinddwalls wants to merge 1 commit into
Closed
Conversation
## Summary Adds `extension/build/noop`, the first implementation of the `build.BuildManager` interface. It performs no real work: `Trigger` hands back a unique build ID and `BuildStatusSucceeded` without contacting any provider, `Status` always reports succeeded, and `Cancel`/`Close` are no-ops. An atomic counter generates unique IDs and keeps the type safe for concurrent use. Intended as a stub for wiring tests and as a best-case baseline where every build passes instantly — mirrors the role of `extension/conflict/none` for the conflict analyzer. ## Test Plan - ✅ \`make gazelle && make fmt && make lint\` - ✅ \`make check-gazelle && make check-tidy\` - ✅ \`bazel test //extension/build/noop/...\` ## Issues (none)
308686a to
53bfaa7
Compare
39d6643 to
81d6537
Compare
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.
Summary
Adds
extension/build/noop, the first implementation of thebuild.BuildManagerinterface. It performs no real work:Triggerhands back a unique build ID and
BuildStatusSucceededwithoutcontacting any provider,
Statusalways reports succeeded, andCancel/Closeare no-ops. An atomic counter generates unique IDsand keeps the type safe for concurrent use.
Intended as a stub for wiring tests and as a best-case baseline where
every build passes instantly — mirrors the role of
extension/conflict/nonefor the conflict analyzer.Test Plan
Issues
Stack