Skip to content

Fix the cloud tests broken or flaky on main - #41

Merged
lydakis merged 2 commits into
mainfrom
claude/errand-cloud-30mg5f
Oct 6, 2026
Merged

lydakis merged 2 commits into
mainfrom
claude/errand-cloud-30mg5f

Conversation

@lydakis

@lydakis lydakis commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Before: internal/cloud fails on main. TestBrokerWithLambdaProvider (from #26) builds a broker without AdmitKeys, which #35 made required, so cloud.New refuses it. Two #32 tests also fail under a full -race run on a loaded Mac: TestFailedLaunchesAreReleased (200ms acquire timeout) and TestReleaseRetriesUntilItSucceeds (fixed 100ms sleep).

After: the Lambda test passes the fake machine's key admitter, like the other broker tests, and the two timing tests wait for the broker instead of a fixed time. Six concurrent runs of the race-built internal/cloud tests pass.

How: test-only changes in internal/cloud. #26 and #35 were each green on their own and merged within a minute of each other, so neither ran against the other.

🤖 Generated with Claude Code

https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6


Generated by Claude Code

#35 made the broker require one, and #26's test was written before it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
@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-06T00:39:00.564716Z df2df60 New commits
🔒 Security Review ✅ Completed 2026-10-06T00:41:13.287552Z df2df60 New commits
ℹ️ 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.

TestFailedLaunchesAreReleased gave the acquire command 200ms, which a
loaded machine can exceed before readiness is ever checked, and
TestReleaseRetriesUntilItSucceeds assumed the first release attempt had
failed after a fixed 100ms. Both failed under a full -race run on a Mac.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
@lydakis lydakis changed the title Fix the Lambda broker test after #35 Fix the cloud tests broken or flaky on main Oct 6, 2026
@lydakis
lydakis merged commit 334fe16 into main Oct 6, 2026
9 checks passed
@lydakis
lydakis deleted the claude/errand-cloud-30mg5f branch October 6, 2026 00:42
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