Skip to content

Docs self-healing workflow improvements: exclude translations, bots, dependency upgrades#3078

Merged
pwizla merged 5 commits into
mainfrom
repo/improve-self-healing-filters
Apr 21, 2026
Merged

Docs self-healing workflow improvements: exclude translations, bots, dependency upgrades#3078
pwizla merged 5 commits into
mainfrom
repo/improve-self-healing-filters

Conversation

@pwizla

@pwizla pwizla commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

This PR improves the regex-based (jq) pre-filtering in the docs self-healing workflow to reduce unnecessary AI invocations and costs.

Summary

  • Filter out all translation/localization/i18n PRs regardless of title prefix, plus PRs with translations label
  • Filter out bot PRs (dependabot[bot], renovate[bot], etc.) by author
  • Broaden security: filter (was security: package only)
  • Filter out dependency upgrades with patch/minor version bumps (keep majors for Haiku triage)
  • Add refactor, ci, build, style prefix filters (never user-facing per conventional commits spec)
  • Improve error reporting in summary when Sonnet fails (surface error type)

Test plan

  • Trigger a manual workflow run and verify the summary shows correct filtering categories
  • Verify that feat, fix, enhancement, and perf PRs still pass through to Haiku

🤖 Generated with Claude Code

pwizla and others added 5 commits April 21, 2026 08:34
…ndency upgrades

Filter out all translation/localization/i18n PRs regardless of prefix,
broaden security filter beyond just "security: package", and exclude
dependency upgrades with patch or minor version bumps (keep majors for
Haiku triage).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Based on Strapi conventional commits guide and conventionalcommits.org.
These prefixes indicate internal changes that never need documentation.
feat, fix, enhancement, and perf still pass to Haiku for judgment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Apr 21, 2026 10:10am

Request Review

@github-actions github-actions Bot added pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo internal PRs created by the Strapi core team labels Apr 21, 2026
@pwizla

pwizla commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator Author

LGTM

@pwizla pwizla merged commit 9c2b183 into main Apr 21, 2026
6 checks passed
@pwizla pwizla deleted the repo/improve-self-healing-filters branch April 21, 2026 12:28
@pwizla pwizla added this to the 6.22.0 milestone Apr 21, 2026
@pwizla pwizla self-assigned this Apr 21, 2026
@pwizla pwizla added pr: chore and removed pr: updated content PRs updating existing documentation content labels Apr 21, 2026
@pwizla pwizla changed the title Improve self-healing pre-filtering: translations, bots, prefixes, dependency upgrades Docs self-healing workflow improvements: exclude translations, bots, dependency upgrades Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant