-
-
Notifications
You must be signed in to change notification settings - Fork 863
ER: Bug fix for "Schedule Monthly" workflow #8441
Copy link
Copy link
Closed
Labels
BugSomething isn't workingSomething isn't workingComplexity: MediumEREmergent RequestEmergent RequestFeature: Refactor GHARefactoring GitHub actions to fit latest architectural normsRefactoring GitHub actions to fit latest architectural normsReady for Prioritizationnon-PR contributionFor wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.For wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.role: back end/devOpsTasks for back-end developersTasks for back-end developerssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Milestone
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingComplexity: MediumEREmergent RequestEmergent RequestFeature: Refactor GHARefactoring GitHub actions to fit latest architectural normsRefactoring GitHub actions to fit latest architectural normsReady for Prioritizationnon-PR contributionFor wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.For wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc.role: back end/devOpsTasks for back-end developersTasks for back-end developerssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Type
Projects
Status
Done
Emergent Requirement - Problem
The 12/1/25 run of the "Schedule Monthly" workflow did not work as expected in two areas:
Issue you discovered this emergent requirement in
Date discovered
12/1/25
Did you have to do something temporarily
Who was involved
@t-will-gillis
What happens if this is not addressed
The same errors could recur.
Resources
https://github.com/hackforla/website/blob/gh-pages/.github/workflows/schedule-monthly.yml
https://github.com/hackforla/website/blob/gh-pages/.github/workflows/wr-schedule-monthly.yml
https://github.com/hackforla/website/blob/gh-pages/github-actions/trigger-schedule/list-inactive-members/trim-inactive-members.js
Recommended Action Items
Potential solutions [draft]
Complexity: Medium, the actual issue to fix the bugs should beComplexity: Large.trim-inactive-members.jsthere is a missingawaitat theclosePrework()function near +/- line 98. Without theawait, the if-loop is not fully completing before the return which is why the devs are removed before their Skills Issues are closed.wr-schedule-monthly.yml, the "Get issue number" step ran before the issue was created by theschedule-monthly.ymlworkflow. This cause of this error exposes some inefficiencies in the full workflow. The step "Close new issue" is polling for the owner URL and the created issue number, but this data is available already ingithub-actions/trigger-schedule/list-inactive-members/create-new-issue.js. The new issue is created around line 33. note that the issue data returned here should include the issue url. confirm withconsole.log(JSON.stringify(issue, null, 2));