Skip to content

Modified Dr. CI so it could detect runner disconnection failures #6542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ParamThakkar123
Copy link

Copy link

vercel bot commented Apr 18, 2025

@ParamThakkar123 is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 18, 2025
@@ -553,3 +564,16 @@ export async function isSameAuthor(
// * Cherry picking
return isSameEmail || isSameCommitUsername || isSamePrUsername;
}

export function isRunnerDisconnectionFailure(job: RecentWorkflowsData): boolean {
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont see this function actually called anywhere?

It would probably also be a better idea to do something similar as isInfraFlakyJob and add it to the flakyJobs list with the relevant info about runner disconnection so you don't have to make a new section

export function isRunnerDisconnectionFailure(job: RecentWorkflowsData): boolean {
const runnerDisconnectionPatterns = [
/The runner has received a shutdown signal/i,
/The operation was canceled/i,
Copy link
Contributor

Choose a reason for hiding this comment

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

Jobs can be cancelled for other reasons and I think it still ends up saying this

Suggested change
/The operation was canceled/i,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify Dr. CI so it could detect runner disconnection failures
3 participants