Skip to content

refactor(build): migrate construction and qualification to native Bazel - #295

Draft
f0rr0 wants to merge 223 commits into
mainfrom
f0rr0/native-bazel-release
Draft

f0rr0 wants to merge 223 commits into
mainfrom
f0rr0/native-bazel-release

Conversation

@f0rr0

@f0rr0 f0rr0 commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Construction, CI selection and releases currently infer ownership through separate mechanisms. This migration makes configured Bazel shipping exports declare production inputs, original delivered files, suppliers and required consumer tests. Release preparation compares qualified deliveries with authenticated completed publications before Release Please calculates necessary versions and changelogs.

Conventional manifests retain independent versions and compatibility requirements. Generated carriers inherit their declared release owner; a build dependency alone does not require a release. Packages can declare explicit production roots without a src directory. Held consumers retain their original published requirements and authenticated package bytes.

GitHub Actions retains separate platform jobs. WASIX construction follows Linux portable modules and LLVM AOT → Windows V8 and AOT → Linux final packaging → installed host consumers. Licensed SDK construction and native/device execution remain on their actual hosts. Each handoff binds source, configuration, producer, supplier and original file identity. No remote executor is required.

Core AOT and contrib Cargo packages transport complete parent/part families through packaging, capture, NAPI, host smoke and installed consumers. Parts retain their parent version and owner, exact manifest dependencies and the real archive-size limit. Final Cargo families are read from actual packed manifests, supporting singleton and multipart Trees and a scalar parent with sibling parts. An optional package index remains strictly validated. Swift declarations derive owners from delivered members and frozen runtime requirements, preserving independent extension versions.

CI uses the configured Bazel graph and action cache. Apple package construction and iOS ABI consumers now run together in an independent Apple job; native macOS behavior and final carriers run in parallel. This preserves 35 requests, 15 captures, 17 producer roles and 14 seed slots across 18 planned jobs. Both Apple jobs have distinct cache cohorts using the existing 4G tier. Required receipts and command logs precede cache saving; optional diagnostics follow. Capture projection now indexes shared graph data once while retaining byte-identical serialized results, duplicate rejection and physical lifetime checks.

Validation includes:

  • Real oversized core Cargo packages compiled for all four AOT templates, including missing/corrupted-part rejection. Actual contrib writer output with five parents and 111 parts reconstructs byte-identically. Capture/import and stock Bazel empty-Tree expansion pass.
  • The WASIX tools import failure reproduced locally and passes after moving native license lookup to the native writer. All five native crate outputs remain byte-identical. Actual singleton, multipart and scalar-parent Cargo archive fixtures reproduce and cover the family-reader failure.
  • Release checks passed with 1,367 tests and no failures, including pinned Release Please, controller and independent-version scenarios. The final historical-assurance regression passed 41 tests: current issuance enforces current job roles before transport, while authenticated signed publications retain their historical identities.
  • All 13 CI source checks plus formatting and lint passed through Bazel. Final formatting and lint reran successfully after the assurance change. Graph indexing tests passed; a same-input synthetic benchmark improved from 289ms to 118ms with an unchanged complete output fingerprint. Hosted capture savings remain to be measured.

Fresh full qualification of eebd526 has a failed final WASIX job. Dynamic V8 payload parts were misclassified as source packages, and a Cargo envelope rule expanded its output Tree as an input. Local fixes retain the exact closure check and add an actual Bazel-rule regression. All Linux runtime/postmaster jobs, installed Android behavior, Linux portable qualification, Windows native/V8 and macOS postmaster passed; useful Apple construction continues. This run remains ineligible, and the corrected source requires fresh full qualification. The preceding run’s license-import failure is fixed; its canceled combined Apple job did not preserve a cache.

This PR remains draft. A whole fresh Native success, Required’s 27-product construction/observation/supplier audit and Source CI must pass before acquiring the genuine fourteen-slot seed-adoption anchor. Legacy retirement and the remaining justified cleanup then land together, followed by one full Native-only qualification of that combined source before the PR becomes ready. No main merge or publication is included.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
oliphaunt-docs Ready Ready Preview Oct 27, 2026 4:35pm UTC

@f0rr0 f0rr0 changed the title build: establish native Bazel construction and qualification refactor(build): migrate construction and qualification to native Bazel Oct 11, 2026
f0rr0 added 30 commits October 26, 2026 17:32
Exercise packaged PostgreSQL roots and flushed WAL, keep probe logs outside managed databases, and preserve identical declared construction licenses. Validate frozen Windows providers against their authenticated receipts while retaining actual PE closure checks.

Use stock Bazel preemption for canceled cache writers, skip interrupted diagnostic queries, and share the existing repository cache with isolated conformance runs.

This branch was successfully deployed

1 active deployment
Preview — eebd5261 Deployed Oct 27, 2026 by vercel[bot]
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