Repository navigation
List Lambda types a cloud peer has no errand build for as unavailable - #50
Merged
Merged
Conversation
A development build of errand without errand_binary can install itself only on its own Linux architecture, but the Lambda catalog offered every architecture, so --where could pick an offer that was sure to fail at launch. One rule, buildProblem, now decides whether the cloud peer has a build for an architecture. The catalog lists types it has none for as unavailable with that reason, so placement passes over them and a request only they match says what to set; the launch reports the same reason. An errand_binary of another architecture is listed the same way instead of being left out. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
Generated by Claude Code |
9 tasks done
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.
Before: a cloud peer running a development build of errand, with no
errand_binary, offered every Lambda instance type in the catalog. Its build can install itself only on its own Linux architecture, so--where arch=arm64from a linux/amd64 dev peer, or a request where an ARM type was cheapest, picked an offer that was sure to fail at launch.After: types the cloud peer has no errand build for are listed as unavailable, with the reason the launch would give ("this cloud peer runs a development build of errand ... set errand_binary to a linux/arm64 errand build"). Placement passes over them for an offer that can launch, and a request only they match is refused with that reason. An
errand_binaryof another architecture is now listed the same way, instead of being left out of the offers.How: one rule,
buildProblem(arch)ininternal/cloud/lambda_binary.go, decides whether the cloud peer has a build for an architecture:errand_binaryfor it, this process when it is a Linux errand build for it, or a release of this version. The catalog checks each architecture once per refresh and marks offers unavailable from it. The launch path reports the same message. No network calls are added, and the catalog still refreshes in the background. This follows up Codex's comment on #47.🤖 Generated with Claude Code
https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Generated by Claude Code