Skip to content

ci(dependabot): replace token merge with strict gate - #49

Merged
jrandolf merged 3 commits into
mainfrom
ci/dependabot-strict-gate-20260924
Sep 26, 2026
Merged

jrandolf merged 3 commits into
mainfrom
ci/dependabot-strict-gate-20260924

Conversation

@jrandolf

@jrandolf jrandolf commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Root cause: the pull-request workflow requests auto-merge using its own write-capable GITHUB_TOKEN before the exact-head tests, proto drift checks, packaging and security checks finish. That path can suppress post-merge push CI.

This replaces it with a read-only exact-head gate covering all seven original strict contexts and every applicable check. The install-only prebuilt job is structurally skipped on PRs and is the only permitted non-applicable skip. The repository's original GitHub CodeQL default setup is retained for Actions and Rust; a conflicting advanced workflow was removed. The original branch requirements remain and the gate will be added. Later auto-merge requests require a non-Actions credential and all checks/reviews green.

Local verification on 1ed29d3: hk check --all --slow, Rust 1.94.0 check and tests, cargo test --workspace and cargo test -p basic against isolated PostgreSQL 17.11 on the external Code drive, wasm32-wasip1 build, cargo package --locked, buf generate followed by cargo fmt --all and git diff --exit-code -- src, and actionlint all exited 0 on the final reruns. Initial tests without PostgreSQL failed with connection refused; an initial format-check approximation found generated formatting drift, which the exact CI formatting command resolved. Final logs and exit files: /Volumes/Code/Sources/.dev-storage/mathematic-inc-monitor/2026-09-24T2220Z-full-repair.PvYiXw/logs/sqlc-gen-sqlx-*.log and .exit; isolated database start/test/stop logs there too. Cross-platform prebuilt verification remains the responsibility of remote CI. No release or check waived.

CodeQL compatibility follow-up on exact head 83debb151c5d1039c9fe741e9f4bbff1f3e039c4: GitHub's original default setup has been restored rather than changing the required CodeQL provider/context. The re-run native hk check --all --slow exited 0; log and exit code: /Volumes/Code/Sources/.dev-storage/mathematic-inc-monitor/2026-09-24T2220Z-full-repair.PvYiXw/logs/sqlc-gen-sqlx-default-codeql-hk.log and .exit. The GitHub CodeQL validation run and strict PR-head checks are still pending; no merge is requested.

@jrandolf jrandolf closed this Sep 26, 2026
@jrandolf jrandolf reopened this Sep 26, 2026
CodeQL default setup never analyzed the previous head, so its required checks
did not report. This empty commit starts a fresh synchronize run.
@jrandolf
jrandolf force-pushed the ci/dependabot-strict-gate-20260924 branch from 1f039bb to 343a745 Compare September 26, 2026 01:38
@jrandolf
jrandolf merged commit 228e303 into main Sep 26, 2026
25 checks passed
@jrandolf
jrandolf deleted the ci/dependabot-strict-gate-20260924 branch September 26, 2026 01:46
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