Skip to content

Commit db072a4

Browse files
committed
Update stale comments about inflight-PR derivation
1 parent 95b4d53 commit db072a4

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/scripts/module-cleanup/build-cleanup-matrix.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
GITHUB_OUTPUT - path to the GitHub Actions output file
1414
GH_TOKEN - token for `gh` CLI (set automatically by the workflow)
1515
REVIEW_PROGRESS - newline-separated list of processed module names
16-
(contents of processed.txt on the memory branch, plus
17-
shorts already in inflight module-cleanup PR bodies)
16+
(contents of processed.txt on the memory branch)
1817
1918
Outputs (to $GITHUB_OUTPUT):
2019
has_work - "true" if a module was picked, "false" otherwise

.github/scripts/module-cleanup/finalize.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ if [ "$SHOULD_FLUSH" = "true" ]; then
170170

171171
MODULE_COUNT=$(git -C "$WIP_WT" rev-list --count "origin/main..origin/$WIP_BRANCH")
172172

173-
# The dispatch job derives the inflight-module list from commit subjects
174-
# on open module-cleanup PR branches ("Cleanup for <module>"), so no
175-
# hidden marker block is needed here.
173+
# processed.txt on the memory branch is the sole source of truth for
174+
# which modules dispatch skips, so no hidden marker block is needed here.
176175
BODY_FILE=$(mktemp)
177176
{
178177
echo "Automated module-cleanup batch."

0 commit comments

Comments
 (0)