Skip to content

Print rerun command for failed parallel_rspec shards - #5339

Merged
philippthun merged 1 commit into
mainfrom
ci-verbose-rerun-command
Aug 3, 2026
Merged

Print rerun command for failed parallel_rspec shards#5339
philippthun merged 1 commit into
mainfrom
ci-verbose-rerun-command

Conversation

@philippthun

@philippthun philippthun commented Aug 3, 2026

Copy link
Copy Markdown
Member

Add --verbose-rerun-command to the parallel_rspec invocations so a failing shard prints a copy-pasteable command with its exact file list and seed. This makes order-dependent flakes reproducible locally, since RSpec order depends on both the seed and the shard's file set and the latter was not previously recoverable from CI output.

The flag only emits output on failure, so green runs are unaffected.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Add --verbose-rerun-command to the parallel_rspec invocations so a
failing shard prints a copy-pasteable command with its exact file list
and seed. This makes order-dependent flakes reproducible locally, since
RSpec order depends on both the seed and the shard's file set and the
latter was not previously recoverable from CI output.

The flag only emits output on failure, so green runs are unaffected.
@philippthun
philippthun merged commit 1be6a47 into main Aug 3, 2026
11 checks passed
@philippthun
philippthun deleted the ci-verbose-rerun-command branch August 3, 2026 15:41
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Aug 3, 2026
Changes in cloud_controller_ng:

- Print rerun command for failed parallel_rspec shards
    PR: cloudfoundry/cloud_controller_ng#5339
    Author: Philipp Thun <philipp.thun@sap.com>
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