Repository navigation
ci: add GitHub PR pipeline and advisory AI review - #3
Conversation
Designs a mature GitHub Flow setup: required CI jobs, advisory AI reviews (CodeRabbit/Cubic), e2e workflow, branch protection checklist, contributor scaffolding, Dependabot, and merge strategy.
# Conflicts: # .github/workflows/run-tests.yml
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (14)
📝 WalkthroughWalkthroughThis PR adds repository governance and CI tooling: AI review configs (.coderabbit.yaml, cubic.yaml), GitHub community files (CODEOWNERS, issue/PR templates, dependabot), new GitHub Actions workflows (CI, E2E, PR-title) replacing the removed run-tests.yml, and contributor documentation (AGENTS.md, CONTRIBUTING.md). ChangesRepository governance, CI, and contribution setup
Estimated code review effort: 2 (Simple) | ~12 minutes Sequence Diagram(s)sequenceDiagram
participant PullRequest
participant CIWorkflow
participant LintJob
participant BuildJob
participant UnitJob
PullRequest->>CIWorkflow: trigger on pull_request/push
CIWorkflow->>LintJob: run prettier:check and locale:extract
CIWorkflow->>BuildJob: build PWA and web extension, server:start-dry
CIWorkflow->>UnitJob: run pnpm test
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
1 issue found and verified against the latest diff
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/superpowers/plans/2026-07-08-github-pr-pipeline.md">
<violation number="1" location="docs/superpowers/plans/2026-07-08-github-pr-pipeline.md:87">
P2: CI will not actually be pinned to the repository's pnpm 10.15.0 toolchain; `version: 10` lets `pnpm/action-setup` install the latest 10.x release. Consider using `version: 10.15.0` in each planned workflow snippet so local and CI installs stay reproducible.</violation>
</file>
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
| - uses: actions/checkout@v3 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10 |
There was a problem hiding this comment.
P2: CI will not actually be pinned to the repository's pnpm 10.15.0 toolchain; version: 10 lets pnpm/action-setup install the latest 10.x release. Consider using version: 10.15.0 in each planned workflow snippet so local and CI installs stay reproducible.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/superpowers/plans/2026-07-08-github-pr-pipeline.md, line 87:
<comment>CI will not actually be pinned to the repository's pnpm 10.15.0 toolchain; `version: 10` lets `pnpm/action-setup` install the latest 10.x release. Consider using `version: 10.15.0` in each planned workflow snippet so local and CI installs stay reproducible.</comment>
<file context>
@@ -0,0 +1,853 @@
+ - uses: actions/checkout@v3
+ - uses: pnpm/action-setup@v4
+ with:
+ version: 10
+ - uses: actions/setup-node@v3
+ with:
</file context>
There was a problem hiding this comment.
All reported issues were addressed across 11 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
Summary
Adds the GitHub PR pipeline and repository governance setup on top of the Node 18/pnpm runtime migration.
What changed
Testing
Summary by cubic
Sets up a GitHub PR pipeline with split required checks, a non-blocking E2E workflow, PR title validation, and repository governance. Improves PR speed and reliability, adds advisory CodeRabbit/Cubic reviews, Dependabot updates, and enforces an English‑only policy.
New Features
lint,build, andunitjobs (ci.yml) with a translation extract dirty‑tree check; removedrun-tests.yml.e2elabel); non-blocking.amannn/action-semantic-pull-request..nvmrcand thepnpmversion frompackage.jsonpackageManager..coderabbit.yaml) and Cubic (cubic.yaml) with path filters.CODEOWNERS, PR/issue templates,Dependabot,AGENTS.md(English-only), andCONTRIBUTING.mdwith setup plus translation extract dirty‑tree guidance.Migration
mainand require:lint,build,unit, andPR Title.Written for commit a942271. Summary will update on new commits.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation