Skip to content

ci(gate): bump the hybrid-gate pin so dependabot PRs can pass - #6747

Merged
forkwright merged 1 commit into
mainfrom
fix/bump-gate-pin-dependabot
Aug 13, 2026
Merged

ci(gate): bump the hybrid-gate pin so dependabot PRs can pass#6747
forkwright merged 1 commit into
mainfrom
fix/bump-gate-pin-dependabot

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Why

The shared gate's "Configure git credentials for fleet deps" step exited 1 whenever FLEET_REPO_TOKEN was empty — regardless of whether any fleet dependency needed it.

Dependabot-triggered runs read a separate secret store and receive no Actions secrets, so that token is always empty for them. Every dependabot PR therefore failed the required gate by construction, before fmt / check / clippy / nextest ever ran.

Evidence

The difference is how each run was triggered, not what it needed — which is also why a caller-side needs_fleet_repo_token: false cannot express the condition. A caller cannot know at declaration time whether this run will be handed the secret.

What the bump brings

forkwright/.github#34 makes the step warn and continue. Every forkwright git dependency is public, so anonymous fetch resolves; a genuine credential failure now surfaces at the fetch itself with the warning immediately above it in the log, rather than pre-emptively failing runs that never needed a token.

96353268654f1af7c711546304409593695e1258a91004453.

This repo keeps needs_fleet_repo_token: true

Unchanged deliberately. It is standing insurance against anonymous-fetch rate limiting on GitHub-hosted runners — the input's documented second criterion — and scripts/check-automation-pr-gates.py enforces it unconditionally whenever Cargo.toml resolves any forkwright git dependency. The upstream change makes that input safe when the secret is absent; it does not make the input unnecessary.

Verification

This PR's own gate, plus the next dependabot PR reaching a real verdict instead of dying at the credential step.

Refs #6684

The shared workflow's credential step exited 1 whenever FLEET_REPO_TOKEN
was empty, regardless of whether any fleet dep needed it. Dependabot runs
read a separate secret store and receive no Actions secrets, so that token
is always empty for them — every dependabot PR failed the required gate by
construction, before fmt/check/clippy/nextest ever ran.

Measured here: dependabot #6679 died at that step while #6681, two hours
earlier, passed it. The difference was how each run was triggered, not what
it needed — which is why a caller-side needs_fleet_repo_token: false could
not express it either.

forkwright/.github#34 makes the step warn and continue. Every forkwright
git dep is public, so anonymous fetch resolves; a genuine credential
failure now surfaces at the fetch with the warning directly above it.

This repo keeps needs_fleet_repo_token: true — it is standing insurance
against anonymous-fetch rate limiting, and scripts/check-automation-pr-gates.py
enforces it whenever Cargo.toml resolves a forkwright git dependency.

Refs #6684
@sonarqubecloud

Copy link
Copy Markdown

@forkwright
forkwright merged commit a03b67d into main Aug 13, 2026
28 checks passed
@forkwright
forkwright deleted the fix/bump-gate-pin-dependabot branch August 13, 2026 15:09
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