bundle: export standalone AOT runtime sources for Bazel links#60
Merged
Merged
Conversation
meheff
approved these changes
May 22, 2026
Materialize the producer-published source asset beside the selected XLS runtime bundle and expose it through the runtime repo for Bazel consumers. Old release lanes remain loadable when the optional source asset is absent.
1452733 to
3552f7b
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.
This change makes the XLS runtime bundle expose the producer-published standalone AOT runtime source target when the selected XLS release includes it. Bazel consumers can depend on
@<name>_runtime//:xls_aot_runtime_source_depwhile older release lanes that do not carry the optional source asset still materialize normally.Problem Solved
The runtime bundle currently exports the flattened standalone archive for downstream native links. That archive is still useful for direct consumers, but a mixed Bazel final link needs a declared source dependency so Bazel owns the native link closure instead of importing a flattened archive with bundled native dependencies.
Minimized example:
What Changed
xls-aot-runtime-source.tar.gzbeside the selected XLS runtime payload when it exists.:xls_aot_runtime_source_depalias.Validation
bazel test //:artifact_resolution_test //:download_release_test //:external_bundle_exports_test