fix(ci): use opencode-go plan model for AI review #5

Merged
Noel merged 14 commits from fix/ai_pr_review into main 2026-10-18 16:24:58 +00:00
4 changed files with 56 additions and 0 deletions
Showing only changes of commit 066bcec47c - Show all commits

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
# Build-context filter for the Nuxt site.
# Anything listed here cannot be COPY-ed, so never add a path the Dockerfile
# copies: package.json, pnpm-lock.yaml, pnpm-workspace.yaml, nuxt.config.ts,
# app/, public/, tsconfig.json.
# 1. Secrets never enter the build context
.env
.env.*
!.env.example
*.pem
*.key
.npmrc
# 2. Noise: dependencies, build output, logs
node_modules
.nuxt
.output
.nitro
.data
.cache
dist
*.log
coverage
# Repo and editor metadata
.git
.gitignore
.vscode
.idea
.fleet
.DS_Store
# Not needed inside the image
Dockerfile
Dockerfile.*
.dockerignore
+1
View File
@@ -209,6 +209,7 @@ jobs:
# (variants: high, max). NOTE the provider prefix must be
# "opencode-go", NOT "opencode" (Zen is a different, pay-per-call
# provider and fails with 'Insufficient account funds').
>>>>>>> origin/main
# Output is redirected (not piped through tee): if opencode fails,
# the job must fail here so the error log is never posted as a
# "review" comment.
View File
Whitespace-only changes.
+19
View File
@@ -0,0 +1,19 @@
FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8
# Node no longer bundles pnpm (corepack and pnpm are both absent from this
# image), so install it. First instruction, so later changes reuse the layer.
RUN npm install -g pnpm@11.26.0
# The bind mount lands here at run time, owned by the image's `node` user.
# Its uid 1000 matches the host uid, so files it writes stay yours.
RUN mkdir -p /app && chown node:node /app
USER node
WORKDIR /app
# Manifests only: this layer and the install below survive every source edit
# and re-run only when a manifest changes.
COPY --chown=node:node package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
EXPOSE 3000
CMD ["pnpm", "run", "dev", "--", "--host", "0.0.0.0"]