Repository navigation
Conversation
…r a failure The worker read the host's identity once at start with a 1 s deadline and never again, so a host busy at start left the whole run without the slide to register until the app restarted. A timed-out read now hands back the same read, whose late answer still counts; a failed read, or a late answer that fails, is tried again from the next poll until one succeeds. Signed-off-by: Hadi Khairallah <hadikhairallah@outlook.com>
|
dim2-pr51-sandbox00 · logs
No Paseo preview: add the deploy-paseo label to deploy one. |
This was referenced Nov 24, 2026
This branch has not been deployed
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.
The worker read the host's identity once at start, with a 1 s deadline, and never again. A host that was busy at start left the whole run without the slide to register until the app restarted.
Now a read that times out hands back the same read, so its late answer still counts. A read that fails, or a late answer that fails, is tried again on the next poll until one succeeds.
Tested with new cases for a host that answers after the deadline, a late answer taken without reading the host again, a failed read retried on the next poll, and no more reads once the identity is known, plus the worker's full test suite.
How it looks
Before on the left and after on the right, both from a cold start, with the host answering its identity 15 s late. Before, the worker has already given up and the docked card keeps the "I'll be there" button. After, the worker takes the answer when it arrives and the card turns into "Slide to register", about 19 s after the app started.
3-before-and-after-side-by-side.mp4
The same two runs about 29 s after the app started:
<img width="720" alt="Before: the "I'll be there" button. After: "Slide to register"" src="https://github.com/user-attachments/assets/6f3e09d7-b440-42aa-a131-6280dbd32bc5" />
Control: when the host answers on time, the build from before the fix docks "Slide to register" straight away, so the button in the before clip comes only from the late answer.
The recordings use a local 15 s delay on the host's identity answer and a local list entry for the slide, since
mainlists no platform for the slide yet. On today'smainthe fault shows only in telemetry until a platform is listed.