Skip to content

ci: skip the flaky upstream heartbeat lease test in fork-ci - #236

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/issue-61-skip-upstream-flake
Nov 12, 2026
Merged

ibetitsmike merged 1 commit into
mainfrom
mike/issue-61-skip-upstream-flake

Conversation

@ibetitsmike

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Fixes #61

Supersedes #234, which fixed the synced upstream test file directly; the fork does not patch upstream code.

fork-ci's chat-tests job now skips TestRunnerManager_HeartbeatDoesNotReviveStaleLease. The upstream test is flaky under fork-ci timing, failed chat-tests on main, and blocked the autodeploy. Upstream CI still runs it.

The root cause is in the test's fake partition, not in production admission; #234 has the analysis.

Locally, go test -run TestRunnerManager_HeartbeatDoesNotReviveStaleLease -skip '^TestRunnerManager_HeartbeatDoesNotReviveStaleLease$' ./coderd/x/chatd/ reports [no tests to run], so the pattern matches the test and nothing else.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T08:06:14.990299Z 5a1da1a 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.

@ibetitsmike
ibetitsmike merged commit 73d4827 into main Nov 12, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/issue-61-skip-upstream-flake branch November 12, 2026 08:17
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merge evidence for head 5a1da1a49b29ae31a9b3b550869aca9221844bf7:

  • fork-ci run 43179938450 passed on this head. All checks on the head pass. The chat-tests job ran the chatd package with the -skip flag and it passed.
  • Codex summary 6818204221 is on this head with no findings. 0 unresolved threads.
  • This changes CI only. It doesn't patch the upstream test file, which stays byte-identical to coder/coder. Superseded test(coderd/x/chatd): fail partitioned admissions that straddle the partition #234, which keeps the root-cause analysis.

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.

test(coderd/x/chatd): fix flaky TestRunnerManager_HeartbeatDoesNotReviveStaleLease

1 participant