fix(remote): guard start against seeding and count only alive seeds as in flight - #166
Merged
Merged
Conversation
outofcoffee
force-pushed
the
seed-progress
branch
from
September 8, 2026 19:29
009a47d to
048afb8
Compare
The seed surface's join and cap counted stopped instances too, while the start's gate counts only pending and running: a stopped seed answered "already running" to a fresh start for its weights and kept its slot against the cap. The alive judgement moves next to the discovery it interprets (seedAlive in shared/seed/discovery) and is used by both surfaces and the status join. The seed Lambda's handler gains its first tests, the weight-seeding spec gains scenarios for a ceased seed, and the Go tests cover a seeding reply that names no seed and the seeding-to-boot handoff.
outofcoffee
force-pushed
the
seed-progress
branch
from
September 8, 2026 20:49
6b82fd8 to
136c995
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spinloop remote start can no longer boot an instance against weights that are still being fetched: it checks the completeness record before any instance work, and while the weights are absent it reports the seed that is producing them.
Summary
Implementation details