Skip to content

updater: boot recovery waits for a robot that is still starting, the way the gate does - #197

Open
Nixxx19 wants to merge 1 commit into
pollen-robotics:mainfrom
Nixxx19:boot-recovery-waits-for-a-robot-that-is-still-starting
Open

Nixxx19 wants to merge 1 commit into
pollen-robotics:mainfrom
Nixxx19:boot-recovery-waits-for-a-robot-that-is-still-starting

Conversation

@Nixxx19

@Nixxx19 Nixxx19 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

fixes #196

the apply gate polls robotd for the whole health timeout. boot recovery asks once with a 2s timeout and reverts on whatever it hears, so a robot that's still loading its policies reads as a release that failed.

pulled the gate's polling loop into a helper and had boot recovery ask through it too.

one cost: on a boot where the trial is exhausted and robotd isn't answering at all, recovery now waits the health timeout instead of 2s before reverting. that's the wait the apply gate already does on the same question. board-test is unaffected, its fixture uses probe = none.

@Nixxx19

Nixxx19 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

hi @pierre-rouanet, mind a look at this one when you get a chance? it stops the updater rolling back a release that was only slow to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

boot recovery reverts a release because robotd had not ticked yet

1 participant