Repository navigation
Conversation
There was a problem hiding this comment.
Code review summary
Thorough, well-engineered PR. It adds a Dependabot CI cleanup system: a no-permission pull_request_target signal workflow (dependabot-pr-closed.yml), a trusted workflow_run consumer (dependabot-ci-cleanup.yml) that checks out only base-branch script code, and dependabot_ci.py which cancels obsolete Dependabot runs via the REST API.
Strengths: the pull_request_target/workflow_run privilege-escalation surface is handled correctly — the privileged actions: write job runs only trusted base-branch code (ref: ${{ github.sha }}, persist-credentials: false, sparse-checkout), the signal workflow is inert (permissions: {}, no checkout), and bot_pull() re-validates Dependabot identity against live PR state before every cancellation. The TOCTOU races (merge/reopen/head-change while listing) are each handled and individually tested. All 28 unit tests pass locally. No exploitable security issue was found.
The findings below are low-severity robustness / maintainability / informational notes — none are blocking.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
058c2bc to
4786a76
Compare
LLGo WebAssembly build benchmarks
WebAssembly output sizes
LLGo WebAssembly build measurements
Compared with |
LLGo baseline benchmarks
Program measurements
Core language and compiler benchmarks
Timer runtime benchmarks
Compared with |
4786a76 to
7599118
Compare
7599118 to
4f998cd
Compare
Cancel existing PR CI runs when a PR closes, including merges; main CI continues independently on push.
pull_requestworkflows: 53 job definitions and 115 matrix-expanded job slots, including conditionally skipped jobs. Workflow-level cancellation includes the sharedci-prepare.ymljobs and the latest SDK 27, Linux distribution, and ARM64 jobs.always() && !cancelled()..ymland.yamlworkflows.Scope: cancels existing
pull_requestworkflow runs; later reruns and close/reopen races are not handled. The separate benchmark publication workflow usesworkflow_runand only starts its artifact processing after a successful source run. Takes effect after merge to main.Validation: 58 workflow/policy/script tests passed;
actionlint -shellcheck=''andgit diff --checkpassed. Mutation checks confirmed that unconditionalalways()in a matrix or reusable job and a mismatched PR-only concurrency group are rejected. Previous fork Actions validation confirmed cancellation and isolation from other PR/main groups. Rebased onto upstream/main at 0a2ebb8. This includes 0c417c8, which addresses the previously failing Wasm workers job by giving collection-heavy language tests a separate 480s test / 600s outer budget and isolating the goroutine-count assertion. The upstream fix passed the Wasm workers job in #2843. Hosted CI for this updated PR revision is pending.