Migrations#10
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR appears to remove now-obsolete Clerk-based frontend infrastructure (middleware + server-side API client) and adds/adjusts GitHub Actions automation around OpenCode reviews, alongside a debugging/planning note captured in-repo.
Changes:
- Removed
frontend/src/proxy.ts(Clerk middleware) andfrontend/src/lib/api.ts(server-side Clerk-backed API client). - Added a planning/debug markdown note documenting investigation steps and resolution hypotheses.
- Updated the existing
opencodeworkflow and introduced a newopencode-reviewworkflow for PR-triggered reviews.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/proxy.ts | Removes Clerk middleware previously used to protect dashboard routes / skip proxy paths. |
| frontend/src/lib/api.ts | Removes server-side API client that fetched backend endpoints with Clerk JWTs. |
| .planning/debug/dashboard-internal-server-error-user-id-column.md | Adds investigation log and current hypothesis/verification checklist. |
| .github/workflows/opencode.yml | Removes explicit model configuration for the OpenCode action. |
| .github/workflows/opencode-review.yml | Adds a PR-triggered OpenCode review workflow (needs permission adjustments to be able to write back to PRs if intended). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| pull-requests: read | ||
| issues: read |
There was a problem hiding this comment.
anomalyco/opencode/github is configured with use_github_token: true, but the workflow grants pull-requests: read and issues: read. If the action is expected to publish a PR review/comment, it will fail with insufficient permissions. Consider changing to pull-requests: write (and issues: write if it posts issue/PR comments), or explicitly document that the action only reads PR data and does not write back.
| pull-requests: read | |
| issues: read | |
| pull-requests: write | |
| issues: write |
| - uses: actions/checkout@v6 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: anomalyco/opencode/github@latest |
There was a problem hiding this comment.
The workflow uses anomalyco/opencode/github@latest. Pinning GitHub Actions to a specific version tag or commit SHA helps prevent unexpected behavior changes and reduces supply-chain risk.
| - uses: anomalyco/opencode/github@latest | |
| - uses: anomalyco/opencode/github@v1.0.0 |
No description provided.