Merge branch 'main' into feat/okf_nuxt
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 35s
PR Check / Typecheck (pull_request) Successful in 40s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / AI code review (opencode) (pull_request) Failing after 1m21s

This commit is contained in:
Noel committed 2026-10-18 14:41:59 +00:00
commit f19616aa71
4 files changed
+60 -4

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
+5 -4
View File
@@ -204,14 +204,15 @@ jobs:
env: env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
run: | run: |
# deepseek-v4-pro#max: flagship reasoning model at maximum thinking # deepseek-v4-pro: flagship reasoning model at default thinking
# budget. Requires funds on the opencode account. # budget (cheaper than #max, sharper than flash). Requires funds
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or remove "#max". # on the opencode account.
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or add "#max".
# Output is redirected (not piped through tee): if opencode fails, # Output is redirected (not piped through tee): if opencode fails,
# the job must fail here so the error log is never posted as a # the job must fail here so the error log is never posted as a
# "review" comment. # "review" comment.
opencode run \ opencode run \
--model opencode/deepseek-v4-pro#max \ --model opencode/deepseek-v4-pro \
"You are a principal engineer performing a rigorous code review on a "You are a principal engineer performing a rigorous code review on a
pull request. You have tool access: read repo files for context when pull request. You have tool access: read repo files for context when
the diff alone is ambiguous, but review ONLY code changed in this PR. the diff alone is ambiguous, but review ONLY code changed in this PR.
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"]