Skip to content

Commit b2a7c4a

Browse files
joanagmaiaclaude
andcommitted
chore: parameterize activities cleanup script by platform and type (CM-1298)
Generalize the gerrit one-off cleanup so it can target any platform and any set of activity types via --platform / --types / --before CLI args. Used to purge mislabeled gitlab merge_request-closed rows so re-ingestion can recreate them with the correct type. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
1 parent 7f7100b commit b2a7c4a

2 files changed

Lines changed: 160 additions & 124 deletions

File tree

services/apps/script_executor_worker/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dev": "nodemon --watch src --watch ../../libs --ext ts --exec pnpm run start:debug",
1010
"cleanup-fork-activities": "npx tsx src/bin/cleanup-fork-activities-and-maintainers.ts",
1111
"cleanup-member-aggregates": "npx tsx src/bin/cleanup-member-aggregates.ts",
12+
"cleanup-activities-by-platform-and-type": "npx tsx src/bin/cleanup-activities-by-platform-and-type.ts",
1213
"recalculate-enrichment-affiliations": "npx tsx src/bin/recalculate-enrichment-affiliations.ts",
1314
"recalculate-all-affiliations": "npx tsx src/bin/recalculate-all-affiliations.ts",
1415
"add-lf-projects-to-collection": "npx tsx src/bin/add-lf-projects-to-collection.ts",

0 commit comments

Comments
 (0)