Skip to content

List Lambda types a cloud peer has no errand build for as unavailable - #50

Merged
lydakis merged 1 commit into
mainfrom
claude/errand-lambda-dev-arch
Oct 6, 2026
Merged

lydakis merged 1 commit into
mainfrom
claude/errand-lambda-dev-arch

Conversation

@lydakis

@lydakis lydakis commented Oct 6, 2026

Copy link
Copy Markdown
Owner

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=arm64 from 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_binary of another architecture is now listed the same way, instead of being left out of the offers.

How: one rule, buildProblem(arch) in internal/cloud/lambda_binary.go, decides whether the cloud peer has a build for an architecture: errand_binary for 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

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
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T02:46:33.918720Z 51a4bab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

lydakis commented Oct 6, 2026

Copy link
Copy Markdown
Owner Author

github-advanced-security fails on GitHub's side on every PR in this repo (Copilot code scanning: unsupported model / monthly quota), not because of this change; a re-run returns 403. The repo's own checks (tests on Linux, macOS and Windows, CodeQL, GitGuardian) decide this PR.


Generated by Claude Code

@lydakis
lydakis merged commit afbd88a into main Oct 6, 2026
8 of 9 checks passed
@lydakis
lydakis deleted the claude/errand-lambda-dev-arch branch October 6, 2026 02:47
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.

2 participants