Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/report-ci-failures.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ export default async function run({ github, context, core }) {
core.info(`Could not fetch annotations for ${jobName}: ${e.message}`);
}

// If no test names found, fall back to one issue per job
// If no test names found, abort - this could mean something else, e.g. cache restoration or similar fails
// and also the issue is not super helpful in this case
if (testNames.length === 0) {
testNames = ['Unknown test'];
continue;
}

// Create one issue per failing test for proper deduplication
Expand Down
Loading