Skip to content

Retry macOS tests with pytest-rerunfailures - #508

Open
goodboy wants to merge 1 commit into
mainfrom
wkt/macos_ci_reruns
Open

Retry macOS tests with pytest-rerunfailures#508
goodboy wants to merge 1 commit into
mainfrom
wkt/macos_ci_reruns

Conversation

@goodboy

@goodboy goodboy commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Give only the macOS matrix leg two retries so actor/PTY timing flakes do not strand otherwise-green runs. Linux and Windows remain strict first-attempt jobs, while persistent macOS failures stay red after the final visible rerun.

Deats,

  • add the pytest-dev-maintained plugin to testing deps
  • keep a one-second delay between macOS attempts
  • validate the workflow, lock and both observed flaky test areas

Prompt-IO: ai/prompt-io/opencode/20260821T052052Z_3690e43a_prompt_io.md

(this patch was generated in some part by opencode using gpt-5.6-sol (openai))

Give only the macOS matrix leg two retries so actor/PTY timing
flakes do not strand otherwise-green runs. Linux and Windows remain
strict first-attempt jobs, while persistent macOS failures stay red
after the final visible rerun.

Deats,
- add the pytest-dev-maintained plugin to testing deps
- keep a one-second delay between macOS attempts
- validate the workflow, lock and both observed flaky test areas

Prompt-IO: ai/prompt-io/opencode/20260821T052052Z_3690e43a_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
Copilot AI lite review requested due to automatic review settings August 21, 2026 23:19
@goodboy goodboy added testing macos_related gotta tailor to them job bros i suppose labels Aug 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The only review comment is a non-blocking nit about the Windows failure-policy wording.

Pull request overview

Adds macOS-only pytest retries to reduce transient CI flakes while preserving final failures.

Changes:

  • Adds and locks pytest-rerunfailures.
  • Configures two macOS retries with a one-second delay.
  • Records prompt and generation metadata.
File summaries
File Summary
uv.lock Locks the new testing dependency.
pyproject.toml Adds pytest-rerunfailures.
ai/prompt-io/opencode/20260821T052052Z_3690e43a_prompt_io.raw.md Records raw generation and validation details.
ai/prompt-io/opencode/20260821T052052Z_3690e43a_prompt_io.md Records prompt and implementation metadata.
.github/workflows/ci.yml Adds conditional macOS retries; a minor nit notes Windows remains non-blocking despite the description.
Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml
--spawn-backend=${{ matrix.spawn_backend }}
--tpt-proto=${{ matrix.tpt_proto }}
--capture=fd
--reruns=${{ matrix.os == 'macos-latest' && 2 || 0 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

macos_related gotta tailor to them job bros i suppose testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants