Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash with --parallel and --retries both enabled #5173

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Turns out there are no existing tests for the case of having both --parallel and --retries enabled. The problem is that the new circular-reference-breaking logic from #5032 was also being run on other properties in result - not just result.error.

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review July 11, 2024 00:29
@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team July 11, 2024 01:30
Copy link

@ReDemoNBR ReDemoNBR left a comment

Choose a reason for hiding this comment

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

I created #5170 . I made a patch file with the changes and applied to my project's CI environment which was failing at all times with 10.6.0 and they all are passing with the patch applied.
LGTM

@JoshuaKGoldberg JoshuaKGoldberg changed the title test case: crash with --parallel and --retries both enabled fix: crash with --parallel and --retries both enabled Jul 11, 2024
@ludo550
Copy link

ludo550 commented Jul 12, 2024

Can this please be merged soon?

Copy link
Member

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@JoshuaKGoldberg JoshuaKGoldberg merged commit d7013dd into mochajs:main Aug 6, 2024
24 of 25 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the parallel-and-retries branch August 6, 2024 16:12
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.

🐛 Bug: this.parent.titlePath is not a function during parallel execution with retries
4 participants