Skip to content

chore(warden): Add sdk-review skill and run built-in code-review - #8247

Merged
dingsdax merged 9 commits into
masterfrom
warden/sdk-review-pilot
Nov 11, 2026
Merged

dingsdax merged 9 commits into
masterfrom
warden/sdk-review-pilot

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Part of a pilot to see if Warden can replace Bugbot for backend SDK review. sdk-review (.agents/skills/sdk-review/SKILL.md) is a minimal, report-only skill for Sentry SDK contract violations (host-app safety, data-collection gates, supported versions, public API, plus a few language-specific rules taken from Bugbot findings people acted on). Generic logic bugs are left to Warden's built-in code-review. Nothing here fails checks. I ran Warden v0.53.0 locally and the skill loads from .agents/skills/sdk-review.

Aligns the repo with sentry-dotnet and sentry-go:

  • dotagents-managed skills are no longer committed. agents.lock and .agents/.gitignore are ignored, as dotagents recommends, and the legacy gitignore = false is gone. Warden prefers repo-local skills over its built-ins, so the committed .agents/skills/code-review (the getsentry/skills checklist) was shadowing Warden's built-in code-review. A local run now resolves code-review to the built-in.
  • skill-scanner loads from getsentry/skills remotely and only runs on agent skill and instruction files. Before, it reviewed every changed file (53–61 min on recent large PRs). The org config ignores **/*.md, so for now it can't read SKILL.md or AGENTS.md; fixing that needs a change to the org warden.toml.
  • code-review skips uv.lock and the generated test-integrations-*.yml workflows.
  • The repo security-review block is removed. The org base config always wins over it, so it never ran ("Using the base config skill and ignoring the repo config duplicate" in the Warden logs).

For reviewers: after merging, local agent skills come from dotagents install instead of the checkout.

Refs SDK-1580

via @dingsdax.

--

View Session [Sentry]

sentry-junior Bot and others added 4 commits November 11, 2026 12:11
Add a report-only sdk-review Warden skill for SDK contract violations. Stop committing dotagents-managed skills so Warden resolves code-review to its built-in, as in sentry-dotnet and sentry-go.

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
…ecurity-review

The org base config wins over a repo security-review entry, so the repo block never ran. skill-scanner was reviewing every changed file; it now only runs on agent skill and instruction files.

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
The unquoted colon made the YAML frontmatter invalid, so Warden could not load the skill.

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
@linear-code

linear-code Bot commented Nov 11, 2026

Copy link
Copy Markdown

SDK-1580

sentry-junior Bot and others added 2 commits November 11, 2026 14:19
Matches sentry-dotnet. Large draft test PRs cost about $30 per push.

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 139110 passed | ⏭️ 7765 skipped | Total: 146875 | Pass Rate: 94.71% | Execution Time: 436m 35s

📊 Comparison with Base Branch

Metric Change
Total Tests —
Passed Tests —
Failed Tests —
Skipped Tests —

✨ Test counts unchanged from base.

All tests are passing successfully.

✅ Patch coverage is 100.00% (no changed executable lines found; target 80%).
Project statement coverage is 90.21% (down 0.03 percentage points from base (f35474a) to head (4654528)).

Coverage diff
@@            Coverage Diff             @@
##        master     #8247       +/-##
==========================================
- Coverage    90.24%    90.21%    -0.03%
==========================================
  Files          203       203         —
  Tracked lines     27125     27229      +104
  Branches     10142     10198       +56
==========================================
+ Hits         24478     24564       +86
- Misses        2647      2665       +18
- Partials      1541      1555       +14

Generated by Coverage Action

sentry-junior Bot and others added 3 commits November 11, 2026 14:40
Name the data_collection gate instead of send_default_pii, and drop rules that contradict the team's Bugbot rules (Go Close/overflow, Python stream exceptions).

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
Automatic collection goes through the denylist filter; user-set data is never gated (develop-docs data-collection spec).

Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
Co-Authored-By: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
@sentry-junior
sentry-junior Bot marked this pull request as ready for review November 11, 2026 15:02
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 11, 2026 15:02
@dingsdax
dingsdax merged commit 939bcf0 into master Nov 11, 2026
173 checks passed
@dingsdax
dingsdax deleted the warden/sdk-review-pilot branch November 11, 2026 15:51
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.

2 participants