Skip to content

Add threshold of failed HIL jobs to prevent merge block - #1065

Open
playfulFence wants to merge 3 commits into
esp-rs:mainfrom
playfulFence:chip/h4
Open

Add threshold of failed HIL jobs to prevent merge block#1065
playfulFence wants to merge 3 commits into
esp-rs:mainfrom
playfulFence:chip/h4

Conversation

@playfulFence

Copy link
Copy Markdown
Member

closes #1064

Mostly copied approach from esp-hal + tweak: instead of strict percentage allow a certain amount of failed HIL runs

@SergioGasquez SergioGasquez added the skip-changelog Skips the changelog CI check label Aug 26, 2026
Comment thread .github/scripts/hil-gate.js
Comment on lines +25 to +29
if (
conclusion === "failure" ||
conclusion === "cancelled" ||
conclusion === null
) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Speaking of similar issues as esp-hal for this, a timed_out job, will be treated as unexpected, so it will not count as one fail for the merge. I think, timed_out should be considered as failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skips the changelog CI check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework HIL CI

2 participants