Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface toolchain and platform information through Build Event #22240

Open
sluongng opened this issue May 6, 2024 · 0 comments
Open

Surface toolchain and platform information through Build Event #22240

sluongng opened this issue May 6, 2024 · 0 comments
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: feature request untriaged

Comments

@sluongng
Copy link
Contributor

sluongng commented May 6, 2024

Description of the feature request:

Toolchains and Platforms and the automatic resolution system could get quite confusing for users who are new to RBE.

It would be nice if we could surface the toolchains, platforms (host, exec, target), related constraint_{setting,value} being used, and the auto-resolution result through Build Event Stream. This way, Build Event Service providers could surface this information to end users in an easier-to-consume format. Users could then share the events with relevant build teams to help debug common issues.

Which category does this issue belong to?

Core

What underlying problem are you trying to solve with this feature?

Platforms and Toolchains matrixes are hard to learn and debug.

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

I think we could start with an event proto message for automatic toolchain resolution.

Ultimately, I think detailed information (Providers) from CC, Java, and/or any Starlark toolchains would be super useful to have as dedicated events as well.

@github-actions github-actions bot added the team-Core Skyframe, bazel query, BEP, options parsing, bazelrc label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: feature request untriaged
Projects
None yet
Development

No branches or pull requests

4 participants