Skip to content

Add dependency guard backfill label trigger#87866

Merged
RomneyDa merged 1 commit into
mainfrom
codex/dependency-guard-backfill-label
May 29, 2026
Merged

Add dependency guard backfill label trigger#87866
RomneyDa merged 1 commit into
mainfrom
codex/dependency-guard-backfill-label

Conversation

@RomneyDa

@RomneyDa RomneyDa commented May 29, 2026

Copy link
Copy Markdown
Member

Summary

Add a temporary dependency-guard-backfill label trigger to the Dependency Guard workflow so maintainers can backfill the required dependency-guard check on old open PR heads without requiring contributors to push, rebase, close/reopen, or rerun the rest of CI.

  • Adds labeled to the pull_request_target activity types.
  • Gates labeled events to only run for dependency-guard-backfill.
  • Keeps normal opened/reopened/synchronize/ready_for_review behavior unchanged.

Backfill Plan

This is the first step in a temporary three-PR backfill flow:

  1. This PR teaches Dependency Guard to run when maintainers add dependency-guard-backfill.
  2. ci: isolate dependency guard backfill label #87882 prevents broad label-triggered workflows from reacting to that label, so the batch labeler only wakes Dependency Guard and does not fan out unrelated automation.
  3. Maintainers run the attached local batch script against the frozen audit set of old PRs that already have a real failing non-dependency check or a local merge conflict, then chore: revert dependency guard backfill machinery #87867 removes the temporary trigger once the backfill window is complete.

The script/artifact bundle is attached in this PR's comments as a secret gist. It is resumable, dry-run by default, and applies the label in batches using local gh auth unless GH_TOKEN is set.

Verification

  • Parsed .github/workflows/dependency-guard.yml with yaml and confirmed the trigger and job condition.
  • git diff --check -- .github/workflows/dependency-guard.yml test/scripts/dependency-guard-workflow.test.ts

@RomneyDa RomneyDa requested a review from a team as a code owner May 29, 2026 03:20
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels May 29, 2026
@clawsweeper

clawsweeper Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: Add dependency guard backfill label trigger This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@RomneyDa RomneyDa merged commit 5a64727 into main May 29, 2026
99 of 101 checks passed
@RomneyDa RomneyDa deleted the codex/dependency-guard-backfill-label branch May 29, 2026 03:26
@RomneyDa

Copy link
Copy Markdown
Member Author

Added the dependency guard backfill artifacts as a secret gist:

https://gist.github.com/RomneyDa/bc631c36b8b5db86d90871f8f1a4abc1

Files included:

  • prs-bad-failing-or-conflict-verified-excluding-dependency-guard.json — frozen 2,695 non-draft PR target set for dependency-guard-backfill
  • apply-dependency-guard-backfill-label.mjs — resumable batch labeler, dry-run by default
  • apply-dependency-guard-backfill-label.test.mjs — dry-run test that requires no token

SHA-256:

ae7f3231b342250edb5902109a0908a6f267de040bcf2f168abc9f56ce95768c  prs-bad-failing-or-conflict-verified-excluding-dependency-guard.json
dd8c4cf985dc8e6be7555d873ccabd255c9b95bcb5bd8925e5409e80e62aac6d  apply-dependency-guard-backfill-label.mjs
66836654ca70514f2deadb48243a46949c9f2f66fdff5970e9fbc9224db284b2  apply-dependency-guard-backfill-label.test.mjs

Verification run locally:

node --test .tmp/dependency-guard-pr-audit/apply-dependency-guard-backfill-label.test.mjs

RomneyDa added a commit that referenced this pull request May 29, 2026
RomneyDa added a commit that referenced this pull request May 29, 2026
RomneyDa added a commit that referenced this pull request May 29, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 29, 2026
RomneyDa added a commit that referenced this pull request May 29, 2026
* Revert "ci: isolate dependency guard backfill label (#87882)"

This reverts commit 21b33bd.

* Revert "ci: add dependency guard backfill label trigger (#87866)"

This reverts commit 5a64727.

* ci: preserve clawsweeper bot label filter
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 30, 2026
* Revert "ci: isolate dependency guard backfill label (openclaw#87882)"

This reverts commit c5b609e.

* Revert "ci: add dependency guard backfill label trigger (openclaw#87866)"

This reverts commit 019c776.

* ci: preserve clawsweeper bot label filter
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
* Revert "ci: isolate dependency guard backfill label (openclaw#87882)"

This reverts commit 21b33bd.

* Revert "ci: add dependency guard backfill label trigger (openclaw#87866)"

This reverts commit 5a64727.

* ci: preserve clawsweeper bot label filter
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
* Revert "ci: isolate dependency guard backfill label (openclaw#87882)"

This reverts commit 0d3f9c4.

* Revert "ci: add dependency guard backfill label trigger (openclaw#87866)"

This reverts commit 663f39e.

* ci: preserve clawsweeper bot label filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant