Skip to content

fix(reporter): print inline failure for non-retriable errors#41026

Merged
yury-s merged 4 commits into
microsoft:mainfrom
yury-s:fix-list-reporter-nonretriable
May 28, 2026
Merged

fix(reporter): print inline failure for non-retriable errors#41026
yury-s merged 4 commits into
microsoft:mainfrom
yury-s:fix-list-reporter-nonretriable

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented May 28, 2026

Summary

  • The list reporter's printFailuresInline consulted willRetry() to decide whether to print a failure inline. willRetry() only checked the retry budget, so non-retriable failures (e.g. a missing snapshot that was just written) were neither printed inline nor in the suppressed epilogue — the error body was dropped entirely.
  • List reporter now prints inline whenever the current result is itself a failure, instead of predicting retries via willRetry().

yury-s added 2 commits May 27, 2026 19:12
The list reporter's printFailuresInline relies on willRetry() to decide
whether to print a failure now or wait for the retry. willRetry() only
looked at the retry budget and did not account for non-retriable errors
(e.g. a missing snapshot that was just written), which are never retried.
As a result the failure was neither printed inline nor in the suppressed
epilogue, so the error body was dropped from the output entirely.

Surface the non-retriable flag onto the test result (live and blob paths)
and consult it in willRetry().
The golden for "should work with file path" was missing for the
webkit-webview project, causing the test to fail in CI.
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

yury-s added 2 commits May 28, 2026 10:22
The list reporter's printFailuresInline consulted willRetry() to decide
whether to print a failure now. Instead, print whenever the current result
is itself a failure (status differs from expected and is not skipped). This
no longer depends on predicting retries, so non-retriable failures are
printed reliably.
@yury-s yury-s marked this pull request as ready for review May 28, 2026 17:25
@yury-s yury-s merged commit 17c003c into microsoft:main May 28, 2026
44 of 45 checks passed
@yury-s yury-s deleted the fix-list-reporter-nonretriable branch May 28, 2026 17:52
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [webkit] › mcp/http.spec.ts:103 › http transport browser lifecycle (isolated) @mcp-ubuntu-latest-webkit

7206 passed, 1113 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

4 flaky ⚠️ [chromium-library] › library/video.spec.ts:476 › screencast › should capture static page in persistent context @smoke `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/video.spec.ts:647 › screencast › should capture full viewport `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-library] › library/popup.spec.ts:261 › should not throw when click closes popup `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/video.spec.ts:275 › screencast › should capture navigation `@chromium-ubuntu-22.04-node22`

43968 passed, 864 skipped


Merge workflow run.

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