Route Bazel build operations through Xcode - #19
Conversation
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
33d2805 to
fcecc93
Compare
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
21a53a3 to
42741bf
Compare
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
9031980 to
dc62d46
Compare
|
The existing implementation history is now exposed as an immutable draft review stack without rebasing or force-pushing this upstream rollup:
These review PRs live in the fork because the contributor cannot create upstream base branches. This PR remains the complete upstream rollup. After review, layers can be promoted upstream sequentially as prior bases merge, or maintainers can choose temporary upstream integration branches. Root epic and the companion five-PR rules_xcodeproj stack are tracked from rules_xcodeproj#1953. The current live-Xcode fixture evidence is retained, while compact execution-log adoption, production-graph latency/CPU/RSS, real remote cache, incremental streaming, Preview Canvas, IDE indexing, broader product coverage, and adjacent-Xcode compatibility remain explicit release gates. |
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
|
The immutable review stack now has a ninth layer: The upstream rollup branch was fast-forwarded to proxy commit Independent adversarial review returned SHIP for the compact pair. Final Xcode 26.5 source-changing acceptance used the exact release binary and showed 18 native-style Bazel action rows (4 executed, 3 completed with unavailable cache status, 11 up to date) with sanitized command detail. Production-shaped latency/RSS, a real remote-cache compact artifact, interactive previews/indexing, and the broader product matrix remain explicit release gates. |
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Summary
Build with Bazeltask.The proxy implementation is split into fork draft PRs #1 through #21. Live progress is isolated in #16, production-output limits in #17, recorded timing in #18, live task lifecycle in #19, build metadata in #20, and production-scale output backpressure in #21. Companion rules changes are stacked through rules_xcodeproj#3336.
Validation
6ecb5b29f07bf4e3db6279555678e8cc25847455cbcdd67bcde29ced17573998.standardOutput event buffer limit was exceededafter Bazel reported 16,349 actions.SUCCESSwith 17,064 live action starts and 27,466 successful action completions, with no wrapper or buffer failure. Starts included 2,884 Swift compiles, 634 Objective-C compiles, 601 C++ compiles, 15 C++ links, and 6 Objective-C links.RedditApp.appexisted. The candidate handled a 6.9 MB start ledger, 377.8 MB BEP, and 15.8 MB compact execution log.Testing
Build the proxy with
swift build -c release --product ModernBuildServiceProxy, configure the executable and SHA-256 on an opt-in rules_xcodeproj target, generate the project, and launch Xcode through the generated launcher. Use Product > Build on a production-sized target. Verify Compile/Link rows appear in progress before completion, their final durations reflect the open task interval, the BuildBuddy metadata is visible, noBuild with Bazelwrapper exists, and the report reaches the real terminal result without dropping adapter output.Remaining risk
prepareForIndexingstill follows rules_xcodeproj's generated native index path. Interactive SwiftUI previews, broader framework/extension/test/archive/dSYM coverage, concurrent operations, cancellation/failure at consumer scale, Bazel 8, and adjacent-Xcode compatibility remain separate release gates.