-
Notifications
You must be signed in to change notification settings - Fork 14
Release v0.2.1 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
67157d8
chore: setup release branch workflow for v0.2.1
0xSero 88b8db3
chore: add CodeRabbit AI code review configuration
0xSero d73b328
improve issue with instance tracking causing sessions not to be termi…
0xSero cd66710
docs, improvements in performance
0xSero 07ce9ed
feat: add vision auto-routing with debug toasts and comprehensive tests
0xSero 7c703fd
fix: resolve CodeRabbit review comments
0xSero 5cf1b5a
ci: add API key secrets support and split unit/e2e tests
0xSero 9459532
ci: use OpenCode's free built-in model for E2E tests
0xSero d73b44a
works
0xSero 29b4d6f
Merge pull request #4 from 0xSero/v0.2.2
0xSero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # CodeRabbit Configuration | ||
| # Docs: https://docs.coderabbit.ai/configuration | ||
|
|
||
| language: en-US | ||
|
|
||
| reviews: | ||
| # Enable high-level summary of changes | ||
| high_level_summary: true | ||
| # Enable poem in PR summary (fun touch for open source) | ||
| poem: true | ||
| # Review status shown in PR | ||
| review_status: true | ||
| # Auto-collapse walkthrough after reading | ||
| collapse_walkthrough: false | ||
| # Paths to ignore in reviews | ||
| path_filters: | ||
| - "!dist/**" | ||
| - "!node_modules/**" | ||
| - "!**/*.lock" | ||
| - "!**/*.min.js" | ||
| - "!**/*.min.css" | ||
| # Request changes when issues found | ||
| request_changes_workflow: true | ||
| # Tools to use for static analysis | ||
| tools: | ||
| biome: | ||
| enabled: true | ||
| eslint: | ||
| enabled: true | ||
| shellcheck: | ||
| enabled: true | ||
|
|
||
| # Chat settings for interactive reviews | ||
| chat: | ||
| auto_reply: true | ||
|
|
||
| # Early access features | ||
| early_access: false | ||
|
|
||
| # Knowledge base for context | ||
| knowledge_base: | ||
| opt_out: false | ||
| learnings: | ||
| scope: auto | ||
| issues: | ||
| scope: auto | ||
| pull_requests: | ||
| scope: auto | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,111 @@ | ||
| # Branch Protection Rules | ||
|
|
||
| This document describes the recommended GitHub branch protection settings for this repository. | ||
|
|
||
| ## Setup Instructions | ||
|
|
||
| Go to **Settings → Branches → Add branch protection rule** for each branch pattern below. | ||
|
|
||
| --- | ||
|
|
||
| ## `main` Branch | ||
|
|
||
| **Pattern:** `main` | ||
|
|
||
| ### Protection Settings | ||
|
|
||
| - [x] **Require a pull request before merging** | ||
| - [x] Require approvals: `1` | ||
| - [x] Dismiss stale pull request approvals when new commits are pushed | ||
| - [x] Require approval of the most recent reviewable push | ||
|
|
||
| - [x] **Require status checks to pass before merging** | ||
| - [x] Require branches to be up to date before merging | ||
| - Required checks: | ||
| - `build` | ||
| - `test` | ||
|
|
||
| - [x] **Require conversation resolution before merging** | ||
|
|
||
| - [x] **Do not allow bypassing the above settings** | ||
|
|
||
| - [x] **Restrict who can push to matching branches** | ||
| - Only allow merges via PR (no direct pushes) | ||
|
|
||
| - [ ] **Allow force pushes** - DISABLED | ||
| - [ ] **Allow deletions** - DISABLED | ||
|
|
||
| --- | ||
|
|
||
| ## `release/*` Branches | ||
|
|
||
| **Pattern:** `release/*` | ||
|
|
||
| ### Protection Settings | ||
|
|
||
| - [x] **Require a pull request before merging** | ||
| - [x] Require approvals: `1` | ||
|
|
||
| - [x] **Require status checks to pass before merging** | ||
| - Required checks: | ||
| - `build` | ||
| - `test` | ||
|
|
||
| - [x] **Require conversation resolution before merging** | ||
|
|
||
| - [ ] **Allow force pushes** - DISABLED | ||
| - [ ] **Allow deletions** - DISABLED (until release is merged) | ||
|
|
||
| --- | ||
|
|
||
| ## `develop` Branch (Optional) | ||
|
|
||
| **Pattern:** `develop` | ||
|
|
||
| ### Protection Settings | ||
|
|
||
| - [x] **Require a pull request before merging** | ||
| - Require approvals: `1` (or `0` for solo projects) | ||
|
|
||
| - [x] **Require status checks to pass before merging** | ||
| - Required checks: | ||
| - `build` | ||
| - `test` | ||
|
|
||
| --- | ||
|
|
||
| ## Workflow Summary | ||
|
|
||
| ```text | ||
| feature/* ──────┐ | ||
| ├──► release/vX.X.X ──► main (tag vX.X.X) | ||
| fix/* ──────┘ | ||
| ``` | ||
|
|
||
| 1. **Feature/fix branches** → PR to `release/vX.X.X` | ||
| 2. **Release branch** → PR to `main` when ready | ||
| 3. **Tag release** on `main` after merge | ||
| 4. **Delete release branch** after successful release | ||
|
|
||
| --- | ||
|
|
||
| ## GitHub CLI Commands | ||
|
|
||
| If you prefer CLI, you can set these via `gh`: | ||
|
|
||
| ```bash | ||
| # Protect main branch | ||
| gh api repos/{owner}/{repo}/branches/main/protection -X PUT \ | ||
| -F required_status_checks='{"strict":true,"contexts":["build","test"]}' \ | ||
| -F enforce_admins=true \ | ||
| -F required_pull_request_reviews='{"required_approving_review_count":1}' | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Rulesets (Recommended for GitHub Pro/Enterprise) | ||
|
|
||
| GitHub Rulesets provide more granular control. Consider using rulesets for: | ||
| - Commit message format enforcement | ||
| - File path restrictions | ||
| - Deployment environment gates |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Default owners for everything in the repo | ||
| * @0xSero | ||
|
|
||
| # Critical configuration files require owner approval | ||
| /.github/ @0xSero | ||
| /schema/ @0xSero |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| ## Description | ||
|
|
||
| <!-- Brief description of changes --> | ||
|
|
||
| ## Type of Change | ||
|
|
||
| - [ ] Bug fix (non-breaking change that fixes an issue) | ||
| - [ ] New feature (non-breaking change that adds functionality) | ||
| - [ ] Breaking change (fix or feature that would cause existing functionality to change) | ||
| - [ ] Documentation update | ||
| - [ ] Release preparation | ||
|
|
||
| ## Checklist | ||
|
|
||
| - [ ] I have updated the CHANGELOG.md | ||
| - [ ] I have added tests that prove my fix/feature works | ||
| - [ ] All new and existing tests pass (`bun test`) | ||
| - [ ] I have updated documentation if needed | ||
|
|
||
| ## Related Issues | ||
|
|
||
| <!-- Link any related issues: Fixes #123, Closes #456 --> | ||
|
|
||
| ## Additional Notes | ||
|
|
||
| <!-- Any additional context or screenshots --> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main, develop, 'release/*'] | ||
| pull_request: | ||
| branches: [main, develop, 'release/*'] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install | ||
|
|
||
| - name: Type check | ||
| run: bun run typecheck | ||
|
|
||
| - name: Build | ||
| run: bun run build | ||
|
|
||
| test: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| # Use OpenCode's free built-in model for E2E tests | ||
| OPENCODE_ORCH_E2E_MODEL: opencode/gpt-5-nano | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install | ||
|
|
||
| - name: Run unit tests | ||
| run: bun test test/unit/ test/orchestrator.test.ts test/vision-routing.test.ts test/profile-lock.test.ts test/registry-ownership.test.ts test/workflows.test.ts | ||
|
|
||
| - name: Run E2E tests | ||
| run: bun test test/e2e.test.ts | ||
| timeout-minutes: 5 |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.