Decorate profile spans with Workspace Events
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 75
Description
### Description of the feature request:
It would improve the user experience by quite a bit if the repository rules's profile spans are decorated with the same content currently printed to `experimental_workspace_rules_log_file`.
The log file by itself is not that interesting because the timing (start, finish, duration) is not included with the events.
### Which category does this issue belong to?
External Dependency
### What underlying problem are you trying to solve with this feature?
Improve repository rule troubleshooting experience.
### 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?
_No response_
Contributor guide
Research direction
Start by tracing the repository rules' profile spans and the content currently written to experimental_workspace_rules_log_file. Determine how Workspace Events expose start, finish, and duration, then confirm that the spans include the same event content and timing needed for repository rule troubleshooting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100