Repository navigation
feat(leasing): a worker refuses the iOS modes it does not serve (ios.modes, MODE_UNAVAILABLE) #1697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
98cd522
test: an iOS lease whose resolved mode ios.modes does not list is ref…
V3RON 831ec58
feat(daemon): a worker refuses an iOS lease whose mode ios.modes does…
V3RON c19165a
test: a slim request below iOS 18.5 is refused on a worker without fu…
V3RON b9ecbea
feat(leasing): a slim request iOS cannot slim is refused on a worker …
V3RON 8caf54e
test: a baseline of a mode ios.modes does not list is refused, and th…
V3RON 880f0b9
feat(leasing): a baseline of a mode the worker does not serve is refu…
V3RON 9ac3397
test: config set writes ios.modes and refuses what it does not allow …
V3RON 6b7b3fc
feat(core): ios.modes lists the iOS modes a worker serves, and a defa…
V3RON ac8f48e
test: ios.modes defaults, follows a one-mode list and is ignored on a…
V3RON fc1846e
test: a worker without full reports a full warm target mode-unavailab…
V3RON 93c4097
feat: the catalog names the iOS modes a worker serves, docs for ios.m…
V3RON 87ab99e
refactor(cli): the catalog's modes line is its own function (#1651)
V3RON ddc5ad1
test: ios.modes bounds on the wire, and the docs a mode-unavailable s…
V3RON fd20509
test: ios.modes reaches a started worker's leasing, and an Android le…
V3RON 55fde2a
fix(core): doctor names the mode a warm target was refused for, not t…
V3RON 9c9aaca
test: an explicit slim lease on a slim-only worker is granted; drop t…
V3RON b8b2015
Merge remote-tracking branch 'origin/feature/1645-adr' into HEAD
V3RON File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep
status.getcompatible with protocol 95.A protocol-95 gateway still negotiates version 95. If the worker is slim-only and has a full warm target, the worker sends
warmPool.targets[].short: "mode-unavailable"without translating it for version 95. The old client rejects the entire status response withBAD_FRAME. If this is the first status read, the gateway closes the worker uplink. (raw.githubusercontent.com)Send a version-95 reason such as
unresolvableto older peers and keepmode-unavailablefor version 96. As per coding guidelines, “Movemintoo, unless a compatibility path stays side by side.”Source: Coding guidelines