fix(game): a slow-starting builder no longer fails Play with "did not answer within 10 seconds" #390
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!390
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/builder-cold-start"
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?
Players on a slow-starting PC could build the game, close the launcher, open it again and then not be able to press Play: "Longshot's builder did not answer within 10 seconds". The builder's first start after a restart can take 12 to 15 s on Windows, and the launcher gave up at 10 s.
builder-protocols.json(the builder's path, size and modified time), so an unchanged builder is not asked again.Not fixed here: why the first start is slow. The likely cause (not confirmed) is the builder's
infochecking a dump-folder game by opening every romfs file (game_stampin Longshot); that is a change for Longshot.Tested:
cargo fmt, locked Clippy, and the new tests (one start for four concurrent asks; no second ask after a restart; an updated builder is asked again).cargo testhas 1-2 flaky "Close Longshot.x86_64" failures that also happen onmainin this environment.🤖 Generated with Claude Code