Skip to content

Migrations#10

Merged
SumitPatel-HQ merged 2 commits into
mainfrom
Migrations
Apr 1, 2026
Merged

Migrations#10
SumitPatel-HQ merged 2 commits into
mainfrom
Migrations

Conversation

@SumitPatel-HQ
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 1, 2026 17:21
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
querycraft Building Building Preview, Comment Apr 1, 2026 5:21pm

@SumitPatel-HQ SumitPatel-HQ merged commit c1a9865 into main Apr 1, 2026
2 of 4 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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) and frontend/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 opencode workflow and introduced a new opencode-review workflow 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.

Comment on lines +13 to +14
pull-requests: read
issues: read
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
pull-requests: read
issues: read
pull-requests: write
issues: write

Copilot uses AI. Check for mistakes.
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: anomalyco/opencode/github@latest
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
- uses: anomalyco/opencode/github@latest
- uses: anomalyco/opencode/github@v1.0.0

Copilot uses AI. Check for mistakes.
@SumitPatel-HQ SumitPatel-HQ deleted the Migrations branch April 2, 2026 16:30
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.

2 participants