feat(builder): report end-to-end build and reload progress #2680
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2680
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:feat/builder-progress-plan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The launcher can reach 99% while shader preparation still has minutes left because the builder reports the compiler estimate and individual stage progress separately. A launch or reload now gets a builder-owned plan and one percentage and ETA for the whole operation.
The builder announces its work before starting, uses local timing history, and revises the estimate as object-cache checks and live compile and shader progress arrive. It accounts for shader work that overlaps compilation and signals when it has spawned the game after a Play or Reload. The new JSON events are additive.
Launcher counterpart: MagicBeanDev/LongshotLauncher#304
Testing
Tested: Linux, game-free reporter and CLI tests. The tests cover plan order, compile-cache adjustments, overlapping shaders, the shader-to-launch handoff, and standalone build completion. Formatting passed. Scoped Clippy passed with the three existing
needless_borrowwarnings inbuild-driver/src/play.rsexcluded.Still to test:
Measurements
Estimate accuracy on real hardware still needs measurement. The synthetic tests verify which work appears in the total.
Risks
Initial estimates use defaults when the builder has no timing history. They can change when the builder learns how much work actually needs to run. The game-started event confirms that the game process was spawned.
Checklist
Ready for review
main, with a Conventional Commit title.mise run testsuite completed.When it applies
Ready to merge
Possibly related, for context:
WIP: feat(builder): report end-to-end build and reload progressto feat(builder): report end-to-end build and reload progress