Repository navigation
feat(skills): add fxa-dep-triage and wire it into fxa-triage - #21231
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
CI classification, gate approval, pagination, and rebase safety issues can produce incomplete or unsafe triage results.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds automated dependency-security triage to FxA and integrates it with daily triage.
Changes:
- Assesses Dependabot alerts and recommends dispositions.
- Classifies and remediates dependency PR failures.
- Adds dependency review as an
fxa-triageworkflow.
File summaries
| File | Description |
|---|---|
.claude/skills/fxa-triage/SKILL.md |
Adds the dependency-review option. |
.claude/skills/fxa-dep-triage/SKILL.md |
Defines the dependency-triage workflow and safeguards. |
.claude/skills/fxa-dep-triage/scripts/deps.sh |
Implements PR reporting, CI actions, and rebasing. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 9
- Review effort level: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
dschom
left a comment
There was a problem hiding this comment.
I'll test this out tomorrow and we can iterate if necessary.
6f058e0 to
5cbbb81
Compare
|
Addressed all copilot comments above. Where a finding was a symptom of too-autonomous behavior for a human-in-the-loop triage skill, I removed the feature rather than porting risky mutation: Fixed (PR-side, feature kept):
Removed (advisory now — no working-tree mutation):
|
There was a problem hiding this comment.
🟡 Changes recommended
CI classification can incorrectly report merge readiness, misclassify failures, and silently omit PRs.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (1)
.claude/skills/fxa-dep-triage/scripts/deps.sh:60
GREENis the fallback whenever no checks are failing or pending, including whenstatusCheckRollupis empty or contains no functional-test result. This does not enforce the skill's guarantee that functional tests ran, and a newly opened PR can be reported merge-ready before CircleCI registers its checks. Require an explicit successful functional/Tests Complete (PR)result; otherwise classify it as running.
elif ($pending|length>0) then "RUNNING"
else "GREEN" end) as $state
- Files reviewed: 3/3 changed files
- Comments generated: 6
- Review effort level: Balanced
5cbbb81 to
0c60048
Compare
|
Round 2 — all 6 addressed: Fixed:
Removed:
The skill's only mutation is now a single CircleCI action: approving the functional-test gate. Everything else is read-only + reported. |
There was a problem hiding this comment.
🟡 Changes recommended
Repository overrides and suppressed API failures can target incorrect pipelines or produce misleadingly complete reports.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 4
- Review effort level: Balanced
Because: - Dependabot alerts BLEnder leaves open had no triage disposition step, and open bump PRs need triaging (FXA-14513). - The dependency review should run standalone and from daily triage. This commit: - Add fxa-dep-triage (forked from fxa-dependabot): Part 1 assesses open alerts via BLEnder verdict tags; Part 2 classifies bot dependency PRs and takes only safe CI-side actions (approve gate, rerun flakes). Advisory: never merges, edits code, pushes, or touches the working tree. - Wire a run choice into fxa-triage's opening; run 2 invokes fxa-dep-triage.
0c60048 to
b936cf5
Compare
|
Round 3 — all 4 addressed. These were one pattern (unchecked API calls in the shell toolkit), so I did a full fail-fast pass across every
The skill's only mutation remains a single CircleCI action (approve the functional gate); everything else is read-only and now fails loudly rather than silently. |
Because
This pull request
Adds a new skill,
fxa-dep-triage, forked from @vbudhram 's dependabot skill. Can be run stand-alone or selected as part of the fxa-triage skill.for each open vulnerability alert it shows the reasoning BLEnder recorded for why the alert is still open and recommends what to do (dismiss, bump, or finish the in-flight PR).
Adds a second choice at the fxa-triage opening, "dependency alert & bump PR review", that runs
fxa-dep-triagein the same session, so its findings/context carry into the rest of triage session.Issue that this pull request solves
FXA-14513
Checklist
How to review
fxa-triageand choose the option "dependency alert & bump PR review".fxa-dep-triage