Repository navigation
feat(web): render dynamic dashboards and finding lifecycle for generic/custom skills - #210
Conversation
vsn411
left a comment
There was a problem hiding this comment.
Thanks, and welcome! Routing /activities/{skill_id} by output_type instead of a chain of skill_id == checks is the right refactor for #92. The generic register parser and the lifecycle table with a one-time backfill marker are well built, and the generic dashboard gives custom skills a real page for the first time.
Two things before we merge:
- A custom skill with
output: sastwould show someone else's data._SPECIALIZED_DASHBOARDS[output_type]callssast_dashboard.build(repo)(and likewise SCA, secret scanning and threat modeling). Those builders take noskill_id: they read the built-in skill's tables. The runner also only writes structured SAST/SCA/secret findings for the built-inskill_ids (STRUCTURED_FINDINGS_SKILLS). So a customoutput: sastskill's page would show the built-in SAST skill's findings, and none of its own. Please route to a specialized dashboard only whenskill_idis the built-in one, and send custom skills to the generic dashboard. Giving those builders askill_idcan be a follow-up. - Responsible AI. #208 (about to merge) adds a dedicated dashboard for
responsible-ai-compliance. With this PR as it stands, that output type falls through to the generic dashboard too. Please add it to_NON_GENERIC_OUTPUTS, or to the specialized map once #208 is in, so the page doesn't render both. Whichever of the two merges second will need a small rebase inactivities.pyanddetail.html.
CI hasn't run yet because this is your first PR here. A maintainer will approve the workflow run.
7dbb4c3 to
505e78f
Compare
|
Addressed review feedback and rebased onto \main:
|
A --changed-since/--changed-files run only reviews the diff, so closing every generic finding it did not see would wrongly close the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vsn411
left a comment
There was a problem hiding this comment.
Both review points are fixed: custom skills with a specialized output: now get the generic dashboard, and Responsible AI keeps its own page. I pushed one small fix (1a120cb): diff-aware runs no longer close generic findings outside the diff. The macOS job never got a hosted runner (GitHub capacity), and it isn't a required check. Thanks!
Leaderboard update
SriRamkunamsetty now has 46 points (rank #2, Bronze). 4 more to reach Silver. |
Fixes #92
Summary
Verification
uff check .\ — 0 errors