Skip to content

deps-policy: strip the target branch fetch-metadata glues onto the directory - #519

Open
AlexZ005 wants to merge 1 commit into
depsfrom
deps-fix/deps-policy
Open

AlexZ005 wants to merge 1 commit into
depsfrom
deps-fix/deps-policy

Conversation

@AlexZ005

@AlexZ005 AlexZ005 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Every Dependabot PR into deps since 2026-10-25 reports directory: "/deps" ("/tools/agent/deps" for the agent): dependabot/fetch-metadata reads the directory back out of the branch name, and with target-branch: deps that name is dependabot/<eco>/<dir>/deps/<name>. deps-policy.cjs therefore never saw a root-app update, so:

The fix strips the trailing /<targetBranch> (fetch-metadata gives targetBranch in the same JSON). Unit test replays the 2026-11-01 metadata. This PR runs the battery itself (a person's PR → battery=true), so the merged patches get their SwiftShader run here; once it is in, @dependabot rebase on #510 re-runs it with the battery and the PC check.

🤖 Generated with Claude Code

…rectory

Every Dependabot PR into deps since 2026-10-25 came in with directory "/deps"
("/tools/agent/deps" for the agent), so no root bump counted as the app:
battery=false and pc-battery "not needed" for #509 svelte, #511 runtime
patches and the deps-ready #510 @lucide/svelte minor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant