ci: repeat the tests three times on main only #1821

Merged
adriadam10 merged 1 commit from upstream-pr/1821 into main 2026-10-08 20:35:30 +00:00
adriadam10 commented 2026-10-08 20:32:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T20:32:12Z.


What

Pull requests run ctest once. Pushes to main keep --repeat until-fail:3.

On 2026-10-08 there were 399 open pull requests and 31 ready-PR builds queued behind the 20 concurrent jobs this repository gets. Every PR push ran the whole suite three times, which roughly triples the ctest step of every job: about 4-5 min of the Linux job and 2-3 min of the Windows job, measured on the runs in #1744. A single pass still fails the PR on any failing test. The repeats only catch intermittent tests, which main keeps doing on every merge, and #1744 now flags tests over 30 s, the usual source of the timeouts.

Tested

The expression is ${{ github.event_name == 'push' && '--repeat until-fail:3' || '' }} in both ctest steps. This PR's own run is a pull_request, so its ctest log should show each test once; I'll check that in the job log.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4792452418 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1821). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-08T20:32:12Z. --- ### What Pull requests run ctest once. Pushes to `main` keep `--repeat until-fail:3`. On 2026-10-08 there were 399 open pull requests and 31 ready-PR builds queued behind the 20 concurrent jobs this repository gets. Every PR push ran the whole suite three times, which roughly triples the ctest step of every job: about 4-5 min of the Linux job and 2-3 min of the Windows job, measured on the runs in #1744. A single pass still fails the PR on any failing test. The repeats only catch intermittent tests, which `main` keeps doing on every merge, and #1744 now flags tests over 30 s, the usual source of the timeouts. ### Tested The expression is `${{ github.event_name == 'push' && '--repeat until-fail:3' || '' }}` in both ctest steps. This PR's own run is a `pull_request`, so its ctest log should show each test once; I'll check that in the job log. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!1821
No description provided.