v0.9.5 — fix infinite loop on name-pool exhaustion (server freeze) (#21) #26

Merged
kamilkrzywda merged 1 commits from ui-layout-fix into master 2026-09-29 11:22:07 +02:00
Owner

Fixes the production freeze: makeName/makeCrewName fall back to numbered variants when the finite name pool is exhausted, so generation always terminates.

Fixes the production freeze: makeName/makeCrewName fall back to numbered variants when the finite name pool is exhausted, so generation always terminates.
kamilkrzywda added 1 commit 2026-09-29 11:22:06 +02:00
Production freeze reported after the v0.9.3 (#21) deploy: every API route
hung and all panels stayed at LOADING. Root cause was not the #21 layout
(verified healthy across all 7 tabs/viewports) but makeName's unbounded
rejection loop over a finite 16x8=128 system-name pool — once a save grew
past ~128 systems, any jump into an undiscovered system spun forever on
Node's single thread (sql.js is synchronous), blocking the whole process.

makeName and makeCrewName now fall back to numbered variants ('Kepler Drift 2')
once their pools are exhausted, so they always terminate.
kamilkrzywda scheduled this pull request to auto merge when all checks succeed 2026-09-29 11:22:06 +02:00
kamilkrzywda merged commit 4b030716f7 into master 2026-09-29 11:22:07 +02:00
kamilkrzywda deleted branch ui-layout-fix 2026-09-29 11:22:07 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/SpaceWanderer#26