Skip to content

chore: add Warden configuration#5032

Merged
jamescrosswell merged 8 commits intomainfrom
chore/add-warden-configuration
Mar 17, 2026
Merged

chore: add Warden configuration#5032
jamescrosswell merged 8 commits intomainfrom
chore/add-warden-configuration

Conversation

@Flash0ver
Copy link
Copy Markdown
Member

@Flash0ver Flash0ver commented Mar 16, 2026

Summary

Add Warden configuration,
which is picked up by the globally (getsentry organization) installed Warden workflow.

Remarks

Replacement for #5026 and #5024.
Closes #4987.

CI

All getsentry repos have the "Warden" Workflow installed, which requires the ./warden.toml to run.

Workflow run with the configuration of this PR:

Local

Warden - with the ./warden.toml configuration - can also be run locally against pending/uncommitted changed, via

npx @sentry/warden

If the Agent Skills have not been installed / updated locally yet, which are mentioned in ./agents.toml, run

npx @sentry/dotagents install

@Flash0ver Flash0ver self-assigned this Mar 16, 2026
@Flash0ver Flash0ver added the skip-changelog Suppress automatic changelog generation via Craft label Mar 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 16, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@Flash0ver Flash0ver mentioned this pull request Mar 16, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.92%. Comparing base (a87d441) to head (9da5053).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5032      +/-   ##
==========================================
+ Coverage   73.71%   73.92%   +0.21%     
==========================================
  Files         497      497              
  Lines       17966    17966              
  Branches     3516     3516              
==========================================
+ Hits        13244    13282      +38     
+ Misses       3858     3830      -28     
+ Partials      864      854      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

agents.lock

# Warden
.warden/
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: added by npx @sentry/warden init

I believe this directory contains log files.

Comment on lines +60 to +66
[[skills]]
name = "warden"
source = "getsentry/warden"

[[skills]]
name = "warden-sweep"
source = "getsentry/warden"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Agent Skills from https://github.com/getsentry/warden

They were added during npx @sentry/warden init as files in .agents/.
I changed it to use dotagents instead, for consistency.

# type = "pull_request"
# actions = ["opened", "synchronize", "reopened"]

[[skills]]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note:

The above was auto-generated via npx @sentry/warden init.
I added the below via npx @sentry/warden add ... as a first set of review skills that get automatically run

  • on CI, via the "global" Warden workflow
  • locally, when running npx @sentry/warden against pending/uncommitted changes

@Flash0ver Flash0ver marked this pull request as ready for review March 16, 2026 22:57
Copy link
Copy Markdown
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jamescrosswell jamescrosswell merged commit 15ffb3a into main Mar 17, 2026
37 checks passed
@jamescrosswell jamescrosswell deleted the chore/add-warden-configuration branch March 17, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Suppress automatic changelog generation via Craft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce Warden

2 participants