Skip to content

JavaScript bug fix: "Schedule Friday" workflow #7080

@t-will-gillis

Description

@t-will-gillis

Overview

There is a bug in the "Schedule Friday" workflow that causes it to fail during runtime. We need to address this bug so that the workflow completes. Note: although this involves GitHub Actions / workflows, the main priority is to identify the bug in the JavaScript file and demonstrate a solution.

Details

Refer to the Schedule Friday workflow logs. Starting with the June 7th run, the workflow fails due to an error:

Details Screenshot 2024-06-28 101949

Observations which may or may not be relevant:

  • This error appears to occur in find-linked-issue.js with the set of "Pre-work Checklists" beginning with issue 6882.
  • On the May 31st run, the same issue was processed and did not cause an error.
  • On the most recent run, the workflow processed more recent "Pre-work Checklists", but the error did not occur until it reached the batch of preworks beginning with 6882.
  • There was a recent PR Implemented hiding of outdated bot comments - #1976 #6550 that edited these files and might be related; however, the successful May 31st run happened after this PR was merged.
  • We migrated to the Projects Beta last week, and the PR PBB migration "Schedule Friday" #7055 also made edits to this workflow; however, the same error seems to be occurring with the same set of preworks.

Action Items

  • Review the workflow logs and the pertinent files and test what the problem might be
  • If you find the error, please propose a fix
  • Either way, present your findings to the Team

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions