Skip to content

fix(ci): only gate PRs on description and AI usage - #1045

Merged
Xoshbin merged 1 commit into
mainfrom
fix/relax-pr-description-check
Nov 13, 2026
Merged

Xoshbin merged 1 commit into
mainfrom
fix/relax-pr-description-check

Conversation

@Xoshbin

@Xoshbin Xoshbin commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • Before (issue / current behavior):
  • After (fix / new behavior):

Affected areas

  • Launcher UI / UX (visuals, interactions, keyboard shortcuts, settings)
  • SDK / Extensions (asyar-sdk, extension runtime, IPC contracts, manifest)
  • 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.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Merge Risk: Minimal · up to c6437

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed 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.

Share

Recent review info

Run configuration

Commits

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.

@Xoshbin
Xoshbin merged commit 1adfe06 into main Nov 13, 2026
11 of 15 checks passed
@Xoshbin
Xoshbin deleted the fix/relax-pr-description-check branch November 13, 2026 18:35
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.

1 participant