feat(buck2): build otel-scrape natively - #1081
Draft
schickling wants to merge 3 commits into
Draft
Conversation
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
2 times, most recently
from
August 13, 2026 02:32
71db2fe to
33a605b
Compare
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
from
August 13, 2026 02:41
e93e4cd to
d34a6d9
Compare
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
2 times, most recently
from
August 13, 2026 02:48
197adf2 to
c52738d
Compare
8 tasks
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
2 times, most recently
from
August 13, 2026 03:34
059be69 to
1ad22ed
Compare
Storybook Previews
Report historyPR 1081 · 2026-08-13 08:38 UTC
PR 1081 · 2026-08-13 08:31 UTC
PR 1081 · 2026-08-13 04:13 UTC
PR 1081 · 2026-08-13 03:50 UTC
|
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
from
August 13, 2026 03:58
12acc6c to
1dea534
Compare
Build the real megarepo CLI through the final Buck2 foundation and strict Buck-to-Nix product admission seam. Co-authored-by: AI assistant of @schickling <261620128+schickling-assistant@users.noreply.github.com>
Build, test, package, and admit the real otel-scrape Rust CLI through native Buck2 targets and the shared Cargo/Reindeer authority. Co-authored-by: AI assistant of @schickling <261620128+schickling-assistant@users.noreply.github.com>
schickling
force-pushed
the
schickling/2026-08-13-buck2-otel-product
branch
from
August 13, 2026 08:31
78f857b to
44a0895
Compare
This was referenced Aug 13, 2026
schickling-assistant
marked this pull request as ready for review
August 13, 2026 08:41
schickling-assistant
marked this pull request as draft
August 13, 2026 10:03
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.
Problem
otel-scrapestill needs a real fine-grained native Rust build that reuses the shared Cargo authority and crosses the strict Buck-to-Nix admission seam.Goal
Build, test, package, and admit the
otel-scrapeCLI through native Buck2 targets on the final shared foundation and TypeScript vertical slice.Decisions
Verification
The restack commit
44a0895617eebbce871a534d59a5591f7e179f37has treec71807cec820c6a9af422a22abd4538992ed06df, byte-identical to the prior #1081 tip. Focused generator freshness, benchmark RED/unit controls, JavaScript and shell syntax, Nix parsing, and diff hygiene were green before the ancestry-only restack. Fresh exact-head CI owns the native build/test, import/runtime E2E, and invalidation benchmark.Complexity
Most additional surface is the generated Reindeer dependency graph. Handwritten complexity stays in the reusable Rust product rule, toolchain binding, and admission E2E.
Concerns
Execution remains local x86_64 Linux; remote cache and execution are intentionally disabled.
Friction & bottlenecks
The heavy exact build and benchmark were delegated to self-hosted CI because local disk was below the repository admission floor during implementation.
Follow-ups
Configured cross-host platforms, remote trust/execution, and production activation remain outside this PR.
References
Part of #1050 and #1063. Native stack #1083, position 3 of 3. Base: #1080. Supersedes stale prototype #1059.