Prioritize scheduling an action while ensuring dependency relationships
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
Assuming I have a compilation task with over 10000 actions, and a few of them are particularly time-consuming, but in order of execution, they are ranked last (although these actions are also the root nodes in the build graph), can we prioritize executing these actions so that the total time will be shorter. Can it even be prioritized to build locally?
Contributor guide
Research direction
No file, test, or entry point is named. Start by tracing Bazel's action scheduler and build-graph handling for root actions, then determine whether prioritizing long-running actions can preserve dependency relationships and improve total build time. Done should include a defined scheduling behavior and coverage for the reported large-compilation scenario.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100