Skip to content

test(mesh): check a server stepped down to etcd-only gives the Lease back - #138

Merged
Mearman merged 1 commit into
mainfrom
test/regrade-lease-release
Oct 21, 2026
Merged

Mearman merged 1 commit into
mainfrom
test/regrade-lease-release

Conversation

@Mearman

@Mearman Mearman commented Oct 21, 2026

Copy link
Copy Markdown
Member

Stepping a server down to etcd-only does release the fleet-regrade Lease, from another server's API through KUBE_SERVER, so the suspicion in the issue does not hold: the regrade scenario now passes with the Lease free after both a watcher step and a step by hand. Breaking release_lease makes the scenario fail on the new wait, so the check discriminates.

The harness inventory also sets github_runner_cluster_runtime_autostart: false: a run against a Colima Docker context otherwise installs a launchd login item for the host's profile.

Fixes #131

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 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 ⚠️ Failed 2026-10-21T07:55:53.222675Z
We couldn’t complete this review. Comment @codex review to try again.
68c5fe2 Manual request
🔒 Security Review ⚠️ Failed 2026-10-21T06:47:56.805043Z
We couldn’t complete this review. Comment @codex security review to try again.
5d2e53d 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

…back

The stepped-down server has no API server, so the release goes through
another server's. The scenario now waits for the Lease to be free
rather than expired, and fails if the service logged that it could not
release it. The harness inventory also turns the runtime autostart
off, so a run against a Colima profile installs no login item.
@Mearman
Mearman force-pushed the test/regrade-lease-release branch from 5d2e53d to 68c5fe2 Compare October 21, 2026 07:16
@Mearman

Mearman commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Mearman
Mearman merged commit d976df7 into main Oct 21, 2026
23 checks passed
@Mearman
Mearman deleted the test/regrade-lease-release branch October 21, 2026 08:25
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.7.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release the regrade Lease when the stepped-down server has no API server

1 participant