Skip to content

Patch --> Workaround for leancodepl/patrol#2843: Dart side reported failure with no details — #3076

Open
prakhar-grexa wants to merge 3 commits into
leancodepl:masterfrom
GrexaAI:grexa/swallow-null-details-2843
Open

Patch --> Workaround for leancodepl/patrol#2843: Dart side reported failure with no details — #3076
prakhar-grexa wants to merge 3 commits into
leancodepl:masterfrom
GrexaAI:grexa/swallow-null-details-2843

Conversation

@prakhar-grexa

Copy link
Copy Markdown

known to fire as a phantom teardown even when every test step passed. Treat as success.

…reating failures with no details as passes. Update error handling in PatrolJUnitRunner.
@github-actions github-actions Bot added the package: patrol Related to the patrol package (native automation, test bundling) label May 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a workaround for issue #2843 in PatrolJUnitRunner.java. It modifies the runDartTest method to treat Dart test failures without details as successes, logging a warning instead of throwing an AssertionError. This addresses phantom teardown failures where all test steps passed. I have no feedback to provide.

prakhar-grexa added 2 commits May 18, 2026 15:32
…ccess for failures with null details. Update error handling in PatrolAppService.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: patrol Related to the patrol package (native automation, test bundling)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant