Skip to content

[build-tools] Wrap entire report_maestro_test_results logic in try-catch#3433

Merged
hSATAC merged 1 commit intomainfrom
ash/eng-19032-report-workflowtestcaseresult-in-reuse_device-true-route-2
Feb 25, 2026
Merged

[build-tools] Wrap entire report_maestro_test_results logic in try-catch#3433
hSATAC merged 1 commit intomainfrom
ash/eng-19032-report-workflowtestcaseresult-in-reuse_device-true-route-2

Conversation

@hSATAC
Copy link
Contributor

@hSATAC hSATAC commented Feb 25, 2026

Why

parseMaestroResults and the duplicate name check were outside the try-catch block. If an unexpected error escaped from parsing, the step would be marked as failed, potentially affecting the user's build. This step should be best-effort — errors should never propagate.

How

Moved the try boundary up to cover parseMaestroResults and the duplicate check, so the entire step logic (besides early-exit skips) is wrapped in a single try-catch.

Test Plan

  • Automation tests
  • Tested locally with www

…ailure

Signed-off-by: Ash Wu <hsatac@gmail.com>
@linear
Copy link

linear bot commented Feb 25, 2026

@hSATAC hSATAC added the no changelog PR that doesn't require a changelog entry label Feb 25, 2026
@github-actions
Copy link

⏩ The changelog entry check has been skipped since the "no changelog" label is present.

@hSATAC hSATAC marked this pull request as ready for review February 25, 2026 12:49
@github-actions
Copy link

Subscribed to pull request

File Patterns Mentions
**/* @douglowder

Generated by CodeMention

@hSATAC hSATAC requested a review from sjchmiela February 25, 2026 13:06
@hSATAC hSATAC merged commit 198b796 into main Feb 25, 2026
8 of 9 checks passed
@hSATAC hSATAC deleted the ash/eng-19032-report-workflowtestcaseresult-in-reuse_device-true-route-2 branch February 25, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog PR that doesn't require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants