You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): only gate PRs on description and AI usage - #1045
Rust Backend / Platform (Tauri commands, search, storage, OS integration)
Docs / Tooling / Other (docs, CI, build scripts, locales)
Manual smoke test & Validation
I manually smoke-tested this in the running app (pnpm dev) and visually verified the fix/feature works.
AI usage
AI tools helped produce this change.
I ran the asyar-contribution skill (.agents/skills/asyar-contribution/SKILL.md), followed it, and reviewed every generated line.
Boundaries
Zero-hardcoded-strings i18n policy respected (if UI strings were added/changed).
Third-party extension compatibility preserved (no breaking changes to published extension contracts without deprecation/boundary adapter).
Hot paths remain fast and unblocked (window reveal, keystroke search, and 120 FPS UI responsiveness).
pnpm check:ci (or the relevant inner-loop checks) passes locally.
Summary by CodeRabbit
Documentation
Updated contribution guidance to leave unverified or unmet boundary checks unchecked with a note, and clarified that documentation-only and locale-only pull requests do not need a manual smoke test.
Clarified which description fields are checked when submitting a pull request.
Changes
Pull request checks now require a non-template “What changed” section and a consistent “AI usage” section. They no longer check smoke-test details, affected areas, or boundary checkboxes, and documentation-only and locale-only pull requests are no longer exempt from AI-usage checks.
No actionable comments were generated in the recent review.
Walkthrough
This PR reduces PR description checks to two enforced sections, removes changed-file input from the validator flow, updates workflow wiring and tests to match, and revises contributor guidance for AI usage and smoke-test expectations.
Changes
PR description validation update
Layer / File(s)
Summary
Validator rules and CLI simplification scripts/check-pr.mjs
check-pr.mjs no longer classifies docs or locale files, no longer accepts changedFiles or --files, and now validates only non-template ## What changed content plus the expected ## AI usage checkbox combination.
Workflow, tests, and guidance alignment .github/workflows/pr-checks.yml, scripts/check-pr.test.mjs, CONTRIBUTING.md, .agents/skills/asyar-contribution/SKILL.md
The workflow stops collecting changed file names and renames the job for AI usage. Tests remove changed-file inputs, drop docs or locale exemption coverage, and add cases for the new AI usage and template rules. The docs now state which PR sections CI enforces and when a manual smoke test is not needed.
This change narrows the PR description CI check to the "What changed" and "AI usage" sections. The workflow, tests and contributor docs are updated to match. I found no concrete risk to merging.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: the PR check now gates only on the PR description and AI usage sections. The raw summary confirms check-pr.mjs drops the affected-areas, smoke-test, boundary, and file…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check
Explanation
The title names the main change: the PR check now gates only on the PR description and AI usage sections. The raw summary confirms check-pr.mjs drops the affected-areas, smoke-test, boundary, and file-path checks, and the workflow no longer fetches changed files. The 'fix(ci)' prefix matches the CI workflow and script changes. The title is specific and concise, and a teammate scanning history would understand the primary change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between ec41d5c and c64377f.
Files selected for processing: 5
.agents/skills/asyar-contribution/SKILL.md
.github/workflows/pr-checks.yml
CONTRIBUTING.md
scripts/check-pr.mjs
scripts/check-pr.test.mjs
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Affected areas
asyar-sdk, extension runtime, IPC contracts, manifest)Manual smoke test & Validation
pnpm dev) and visually verified the fix/feature works.AI usage
asyar-contributionskill (.agents/skills/asyar-contribution/SKILL.md), followed it, and reviewed every generated line.Boundaries
pnpm check:ci(or the relevant inner-loop checks) passes locally.Summary by CodeRabbit
Documentation
Changes