Skip to content

Reproduce V2: Fix platform flag transition reset#22

Open
deepalak56 wants to merge 1 commit into
clean-test-base-v2from
re-fix-platform-flags-v2
Open

Reproduce V2: Fix platform flag transition reset#22
deepalak56 wants to merge 1 commit into
clean-test-base-v2from
re-fix-platform-flags-v2

Conversation

@deepalak56

@deepalak56 deepalak56 commented May 18, 2026

Copy link
Copy Markdown
Owner

In Bazel, when you use Starlark transitions (which change the configuration of a target), the output directory name is updated with a hash (the ST-hash) to keep the files separate. However, there was a bug
where Starlark flags set by Platforms (using the platform() rule) weren't being correctly tracked during these transitions. This caused issues where flags weren't "reset" or "cleaned up" properly, leading
to inconsistent build outputs.

@deepalak56 deepalak56 added the bot:docs-needed Triggers the Docs RAG Bot to suggest documentation updates. label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review bot:docs-needed Triggers the Docs RAG Bot to suggest documentation updates. team-Configurability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant