ci: remove retired Semgrep action - #740
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (12)
|
| Layer / File(s) | Summary |
|---|---|
Remove Semgrep workflow jobs .github/workflows/security-policy.yml |
The workflow removes the primary and audit Semgrep jobs, dependencies, and status output entries. |
Reorganise dispatch functions lib/fleet_dispatcher.ex, lib/vcl/client.ex |
Dispatch functions move within their modules. Documentation changes from @doc attributes to comments. Dispatch logic remains unchanged. |
Normalise web and error handling lib/hypatia/diagnostics/monitor.ex, lib/hypatia/web/api_router.ex, lib/hypatia/web/router.ex |
Route documentation changes to comments. The comparison fallback uses the imported bxor/2. Neural exception clauses are reordered. |
Clarify merge and neural helpers lib/merge_orchestration/strategist.ex, lib/neural/prover_recommender.ex, lib/rules/admin_merge_eligibility.ex, lib/rules/rules.ex |
Veto accumulation uses explicit rebinding. Helper declarations clarify defaults, unused bindings, and required URLs. The unused rules alias is removed. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Merge Risk: ⚪ Minimal · up to c7a19
This change removes the Semgrep workflow jobs and performs behavior-preserving Elixir maintenance updates. No unresolved production, security, or correctness risk remains.
Poem
A rabbit tidies code with care
Semgrep hops from workflow air
Comments mark each route
Veto lists take a clearer route
Explicit arguments now sit there
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | Docstring coverage is 30.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 8 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (4 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly describes the primary change: removing the retired Semgrep action from CI. |
| Description check | ✅ Passed | The description directly explains the Semgrep workflow changes and records relevant validation steps. It is related to the changeset. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✅ Autofix completed
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
- Create stacked PR
- Commit on current branch
🛠️ Fix failing CI checks 💡
- Create stacked PR
- Commit on current branch
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
|
✅ CI fix PR created: Follow
16 PR-caused check(s)
⏭️ 3 check(s) skipped — already failing on `main` (not caused by this PR)
9 file(s) modified
View agent analysis |
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
CI failure fixes was requested by @hyperpolymath. * #740 (comment) The following files were modified: * `lib/fleet_dispatcher.ex` * `lib/hypatia/diagnostics/monitor.ex` * `lib/hypatia/web/api_router.ex` * `lib/hypatia/web/router.ex` * `lib/merge_orchestration/strategist.ex` * `lib/neural/prover_recommender.ex` * `lib/rules/admin_merge_eligibility.ex` * `lib/rules/rules.ex` * `lib/vcl/client.ex` Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Fixes Applied SuccessfullyFixed 3 file(s) based on 1 failed pre-merge check. A follow-up PR containing fixes has been created.
Time taken: |
Scope
Removes the two direct
returntocorp/semgrep-action@v1jobs from.github/workflows/security-policy.yml, updates only their dependent summary references, and removes the exact stale action and workflow mapping from.github/workflows/actions.lock.Validation
rgconfirms no remainingreturntocorp/semgrep-actionreference under.github/workflows.gh actions-lock --no-fixscanned 29 workflows; it reported only existingmisetool-registry/cache warnings, with no actions-lock finding.git diff --checkpassed.Deliberately not changed
No Actions allowlists, repository rules, branch/tag protection, or unrelated workflow findings were changed.