Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

ci: consolidate checks and issue maintenance

Amruth Pillaia3ee192d34f6
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml
deleted file mode 100644
index ca9641941..000000000
--- a/.github/workflows/autofix.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: autofix.ci
-
-on:
- pull_request:
- push:
- branches: ["main"]
-
-permissions:
- contents: read
-
-env:
- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
-
-jobs:
- autofix:
- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
-
- steps:
- - name: Checkout Repository
- if: ${{ vars.USE_BLACKSMITH != 'true' }}
- uses: actions/checkout@v7
-
- - name: Checkout Repository (Blacksmith)
- if: ${{ vars.USE_BLACKSMITH == 'true' }}
- uses: useblacksmith/checkout@v1
-
- - name: Check for merge conflict markers
- run: |
- if git grep -nEI '<{7} |>{7} |^={7}$' -- ':(exclude)*.md' ':(exclude)*.mdx'; then
- echo "::error::Merge conflict markers found in tracked files"
- exit 1
- fi
-
- - name: Install pnpm
- uses: pnpm/action-setup@v6
-
- - name: Setup Node
- uses: actions/setup-node@v7
- with:
- node-version-file: ".nvmrc"
- cache: "pnpm"
-
- - name: Install Dependencies
- run: pnpm install --frozen-lockfile
-
- - name: Remove Unused Dependencies
- run: pnpm knip --fix
-
- - name: Lint and Format
- run: pnpm check
-
- - name: Autofix
- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4
diff --git a/.github/workflows/cloudflare.yml b/.github/workflows/cloudflare.yml
deleted file mode 100644
index 8da8755d3..000000000
--- a/.github/workflows/cloudflare.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Cloudflare Compatibility
-
-on:
- pull_request:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
-
-env:
- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
-
-jobs:
- worker:
- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
- timeout-minutes: 20
- services:
- postgres:
- image: postgres:17-alpine
- env:
- POSTGRES_PASSWORD: postgres
- ports: [5432:5432]
- options: >-
- --health-cmd "pg_isready -U postgres"
- --health-interval 5s --health-timeout 5s --health-retries 10
- steps:
- - if: ${{ vars.USE_BLACKSMITH != 'true' }}
- uses: actions/checkout@v7
- with:
- persist-credentials: false
- - if: ${{ vars.USE_BLACKSMITH == 'true' }}
- uses: useblacksmith/checkout@v1
- with:
- persist-credentials: false
- - uses: pnpm/action-setup@v6
- - uses: actions/setup-node@v7
- with:
- node-version-file: .nvmrc
- cache: pnpm
- - run: pnpm install --frozen-lockfile
- # No cloud account or deployment credentials: forks exercise the real local Workers runtime.
- - run: pnpm check:cloudflare
- - run: pnpm test:cloudflare
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 22dc64fb6..41d8c8f18 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -1,33 +1,46 @@
-name: E2E Tests
+name: CI
on:
pull_request:
push:
branches: ["main"]
+ workflow_dispatch:
+ inputs:
+ live_smoke:
+ description: Run only the smoke test against the dedicated Vercel test deployment
+ type: boolean
+ default: false
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
- APP_URL: http://localhost:3000
- PORT: "3000"
- DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
- FLAG_DISABLE_SIGNUPS: "false"
- FLAG_DISABLE_EMAIL_AUTH: "false"
- FLAG_ENABLE_GUEST_LOGIN: "true"
- FLAG_DISABLE_API_RATE_LIMIT: "true"
- LOCAL_STORAGE_PATH: /tmp/reactive-resume-e2e-storage
- # The assistant spec talks to a scripted provider on 127.0.0.1.
- FLAG_ALLOW_UNSAFE_AI_BASE_URL: "true"
- # Real-database unit suites. The cover-letter suite works in its own schema; the OAuth flow suite writes
- # signing keys under its own secret, so it gets a database the e2e server never reads.
- COVER_LETTER_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
- INTEGRATIONS_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
- OAUTH_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/oauth_test
jobs:
e2e:
+ name: Unit and browser tests
+ if: ${{ !inputs.live_smoke }}
+ env:
+ APP_URL: http://localhost:3000
+ PORT: "3000"
+ DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
+ FLAG_DISABLE_SIGNUPS: "false"
+ FLAG_DISABLE_EMAIL_AUTH: "false"
+ FLAG_ENABLE_GUEST_LOGIN: "true"
+ FLAG_DISABLE_API_RATE_LIMIT: "true"
+ LOCAL_STORAGE_PATH: /tmp/reactive-resume-e2e-storage
+ # The assistant spec talks to a scripted provider on 127.0.0.1.
+ FLAG_ALLOW_UNSAFE_AI_BASE_URL: "true"
+ # Real-database unit suites. The cover-letter suite works in its own schema; the OAuth flow suite writes
+ # signing keys under its own secret, so it gets a database the e2e server never reads.
+ COVER_LETTER_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
+ INTEGRATIONS_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
+ OAUTH_TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/oauth_test
runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
timeout-minutes: 30
@@ -74,9 +87,9 @@ jobs:
uses: actions/cache@v6
with:
path: .turbo/cache
- key: ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-${{ github.sha }}
+ key: ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-${{ github.sha }}
restore-keys: |
- ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-
+ ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-
- name: Install Dependencies
run: pnpm install --frozen-lockfile
@@ -133,3 +146,184 @@ jobs:
test-results
if-no-files-found: ignore
retention-days: 7
+
+ autofix:
+ timeout-minutes: 20
+ name: autofix.ci
+ if: ${{ !inputs.live_smoke }}
+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
+
+ steps:
+ - name: Checkout Repository
+ if: ${{ vars.USE_BLACKSMITH != 'true' }}
+ uses: actions/checkout@v7
+
+ - name: Checkout Repository (Blacksmith)
+ if: ${{ vars.USE_BLACKSMITH == 'true' }}
+ uses: useblacksmith/checkout@v1
+
+ - name: Check for merge conflict markers
+ run: |
+ if git grep -nEI '<{7} |>{7} |^={7}$' -- ':(exclude)*.md' ':(exclude)*.mdx'; then
+ echo "::error::Merge conflict markers found in tracked files"
+ exit 1
+ fi
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v6
+
+ - name: Setup Node
+ uses: actions/setup-node@v7
+ with:
+ node-version-file: ".nvmrc"
+ cache: "pnpm"
+
+ - name: Install Dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Remove Unused Dependencies
+ run: pnpm knip --fix
+
+ - name: Lint and Format
+ run: pnpm check
+
+ - name: Autofix
+ uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4
+
+ worker:
+ name: Cloudflare compatibility
+ if: ${{ !inputs.live_smoke }}
+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
+ timeout-minutes: 20
+ services:
+ postgres:
+ image: postgres:17-alpine
+ env:
+ POSTGRES_PASSWORD: postgres
+ ports: [5432:5432]
+ options: >-
+ --health-cmd "pg_isready -U postgres"
+ --health-interval 5s --health-timeout 5s --health-retries 10
+ steps:
+ - if: ${{ vars.USE_BLACKSMITH != 'true' }}
+ uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+ - if: ${{ vars.USE_BLACKSMITH == 'true' }}
+ uses: useblacksmith/checkout@v1
+ with:
+ persist-credentials: false
+ - uses: pnpm/action-setup@v6
+ - uses: actions/setup-node@v7
+ with:
+ node-version-file: .nvmrc
+ cache: pnpm
+ - run: pnpm install --frozen-lockfile
+ # No cloud account or deployment credentials: forks exercise the real local Workers runtime.
+ - run: pnpm check:cloudflare
+ - run: pnpm test:cloudflare
+
+ artifact:
+ name: Vercel artifact
+ if: ${{ !inputs.live_smoke }}
+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
+ timeout-minutes: 20
+ services:
+ postgres:
+ image: postgres:17-alpine
+ env:
+ POSTGRES_PASSWORD: postgres
+ ports: [5432:5432]
+ options: >-
+ --health-cmd "pg_isready -U postgres"
+ --health-interval 5s --health-timeout 5s --health-retries 10
+ env:
+ APP_URL: http://localhost:3000
+ DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
+ AUTH_SECRET: isolated-ci-auth-secret-32-characters
+ ENCRYPTION_SECRET: isolated-ci-encryption-secret-32-characters
+ REDIS_URL: redis://localhost:6379
+ STORAGE_BACKEND: blob
+ BLOB_READ_WRITE_TOKEN: vercel_blob_rw_ci_fake_build_only
+ VERCEL: "1"
+ VERCEL_ENV: production
+ steps:
+ - if: ${{ vars.USE_BLACKSMITH != 'true' }}
+ uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+ - if: ${{ vars.USE_BLACKSMITH == 'true' }}
+ uses: useblacksmith/checkout@v1
+ with:
+ persist-credentials: false
+ - uses: pnpm/action-setup@v6
+ - uses: actions/setup-node@v7
+ with:
+ node-version-file: .nvmrc
+ cache: pnpm
+ - name: Cache Turbo artifacts
+ uses: actions/cache@v6
+ with:
+ path: .turbo/cache
+ key: ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-
+
+ - run: pnpm install --frozen-lockfile
+ # Local project settings avoid authentication and API calls. Forks receive no cloud credentials.
+ - name: Build Vercel artifact against isolated PostgreSQL
+ run: |
+ mkdir -p .vercel
+ cat > .vercel/project.json <<'JSON'
+ {
+ "projectId": "prj_ci", "orgId": "team_ci", "projectName": "reactive-resume-ci",
+ "settings": { "framework": "services", "nodeVersion": "24.x", "createdAt": 0 }
+ }
+ JSON
+ pnpm dlx --allow-build=esbuild [email protected] build --prod --standalone --yes --global-config "$RUNNER_TEMP/vercel-offline"
+ # Runs the backend Function from a copy outside the checkout, so a dependency the build left out fails here.
+ - name: Check backend Function loading and budget
+ run: |
+ node --no-experimental-require-module --input-type=module - <<'JS'
+ import assert from 'node:assert/strict';
+ import { cpSync, readFileSync } from 'node:fs';
+ import { join } from 'node:path';
+ const func = '.vercel/output/services/backend/functions/index.func';
+ const config = JSON.parse(readFileSync(`${func}/.vc-config.json`));
+ assert.equal(config.runtime, 'nodejs24.x');
+ assert.equal(config.maxDuration, 300);
+ assert.equal(config.handler, 'apps/server/vercel.mjs');
+ const root = join(process.env.RUNNER_TEMP, 'backend-function');
+ cpSync(func, root, { recursive: true, verbatimSymlinks: true });
+ const { default: app } = await import(join(root, config.handler));
+ const stage = await app.fetch(new Request('http://localhost:3000/api/storage/stage', { method: 'POST', body: '{}' }));
+ assert.equal(stage.status, 401);
+ const home = await app.fetch(new Request('http://localhost:3000/'));
+ assert.equal(home.status, 200);
+ assert.match(await home.text(), /application\/ld\+json/);
+ process.exit(0);
+ JS
+
+ live-smoke:
+ if: github.event_name == 'workflow_dispatch' && inputs.live_smoke
+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
+ environment: vercel-smoke
+ timeout-minutes: 10
+ steps:
+ - if: ${{ vars.USE_BLACKSMITH != 'true' }}
+ uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+ - if: ${{ vars.USE_BLACKSMITH == 'true' }}
+ uses: useblacksmith/checkout@v1
+ with:
+ persist-credentials: false
+ - uses: actions/setup-node@v7
+ with:
+ node-version-file: .nvmrc
+ - name: Smoke-test dedicated deployment
+ env:
+ SMOKE_URL: ${{ vars.VERCEL_SMOKE_URL }}
+ SMOKE_AI_BASE_URL: ${{ vars.VERCEL_SMOKE_AI_BASE_URL }}
+ SMOKE_AI_API_KEY: ${{ secrets.VERCEL_SMOKE_AI_API_KEY }}
+ run: node tooling/deployment/smoke.mjs
diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml
index cbb79abe1..0aeb30597 100644
--- a/.github/workflows/label-issues.yml
+++ b/.github/workflows/label-issues.yml
@@ -1,15 +1,20 @@
-name: Label New Issues
+name: Issue Maintenance
on:
issues:
types: [opened]
+ schedule:
+ - cron: "23 4 * * *"
+ workflow_dispatch:
-permissions:
- contents: read
- issues: write
+permissions: {}
jobs:
label:
+ if: github.event_name == 'issues'
+ permissions:
+ contents: read
+ issues: write
runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
@@ -39,3 +44,26 @@ jobs:
labels,
});
}
+
+ stale:
+ if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
+ permissions:
+ issues: write
+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
+
+ steps:
+ - name: Close Inactive Issues Awaiting Information
+ uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11
+ with:
+ only-issue-labels: "status: needs info"
+ days-before-issue-stale: 14
+ days-before-issue-close: 7
+ days-before-pr-stale: -1
+ days-before-pr-close: -1
+ stale-issue-label: stale
+ stale-issue-message: >-
+ This issue is waiting for information requested by a maintainer. It will close in 7 days if no new information is provided.
+ close-issue-message: >-
+ Closing because the requested information was not provided. Add the missing details in a comment and a maintainer can reopen the issue.
+ close-issue-reason: not_planned
+ remove-issue-stale-when-updated: true
diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml
deleted file mode 100644
index 7210e6f1a..000000000
--- a/.github/workflows/stale-issues.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Close Issues Awaiting Information
-
-on:
- schedule:
- - cron: "23 4 * * *"
- workflow_dispatch:
-
-permissions:
- issues: write
-
-jobs:
- stale:
- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
-
- steps:
- - name: Close Inactive Issues Awaiting Information
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11
- with:
- only-issue-labels: "status: needs info"
- days-before-issue-stale: 14
- days-before-issue-close: 7
- days-before-pr-stale: -1
- days-before-pr-close: -1
- stale-issue-label: stale
- stale-issue-message: >-
- This issue is waiting for information requested by a maintainer. It will close in 7 days if no new information is provided.
- close-issue-message: >-
- Closing because the requested information was not provided. Add the missing details in a comment and a maintainer can reopen the issue.
- close-issue-reason: not_planned
- remove-issue-stale-when-updated: true
diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml
deleted file mode 100644
index 9ed4a79dc..000000000
--- a/.github/workflows/vercel.yml
+++ /dev/null
@@ -1,117 +0,0 @@
-name: Vercel Compatibility
-
-on:
- pull_request:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
-
-env:
- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
-
-jobs:
- artifact:
- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}
- timeout-minutes: 20
- services:
- postgres:
- image: postgres:17-alpine
- env:
- POSTGRES_PASSWORD: postgres
- ports: [5432:5432]
- options: >-
- --health-cmd "pg_isready -U postgres"
- --health-interval 5s --health-timeout 5s --health-retries 10
- env:
- APP_URL: http://localhost:3000
- DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
- AUTH_SECRET: isolated-ci-auth-secret-32-characters
- ENCRYPTION_SECRET: isolated-ci-encryption-secret-32-characters
- REDIS_URL: redis://localhost:6379
- STORAGE_BACKEND: blob
- BLOB_READ_WRITE_TOKEN: vercel_blob_rw_ci_fake_build_only
- VERCEL: "1"
- VERCEL_ENV: production
- steps:
- - if: ${{ vars.USE_BLACKSMITH != 'true' }}
- uses: actions/checkout@v7
- with:
- persist-credentials: false
- - if: ${{ vars.USE_BLACKSMITH == 'true' }}
- uses: useblacksmith/checkout@v1
- with:
- persist-credentials: false
- - uses: pnpm/action-setup@v6
- - uses: actions/setup-node@v7
- with:
- node-version-file: .nvmrc
- cache: pnpm
- - name: Cache Turbo artifacts
- uses: actions/cache@v6
- with:
- path: .turbo/cache
- key: ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-${{ github.sha }}
- restore-keys: |
- ${{ runner.os }}-${{ runner.arch }}-turbo-${{ github.workflow }}-${{ hashFiles('pnpm-lock.yaml', '.nvmrc') }}-
-
- - run: pnpm install --frozen-lockfile
- # Local project settings avoid authentication and API calls. Forks receive no cloud credentials.
- - name: Build Vercel artifact against isolated PostgreSQL
- run: |
- mkdir -p .vercel
- cat > .vercel/project.json <<'JSON'
- {
- "projectId": "prj_ci", "orgId": "team_ci", "projectName": "reactive-resume-ci",
- "settings": { "framework": "services", "nodeVersion": "24.x", "createdAt": 0 }
- }
- JSON
- pnpm dlx --allow-build=esbuild [email protected] build --prod --standalone --yes --global-config "$RUNNER_TEMP/vercel-offline"
- # Runs the backend Function from a copy outside the checkout, so a dependency the build left out fails here.
- - name: Check backend Function loading and budget
- run: |
- node --no-experimental-require-module --input-type=module - <<'JS'
- import assert from 'node:assert/strict';
- import { cpSync, readFileSync } from 'node:fs';
- import { join } from 'node:path';
- const func = '.vercel/output/services/backend/functions/index.func';
- const config = JSON.parse(readFileSync(`${func}/.vc-config.json`));
- assert.equal(config.runtime, 'nodejs24.x');
- assert.equal(config.maxDuration, 300);
- assert.equal(config.handler, 'apps/server/vercel.mjs');
- const root = join(process.env.RUNNER_TEMP, 'backend-function');
- cpSync(func, root, { recursive: true, verbatimSymlinks: true });
- const { default: app } = await import(join(root, config.handler));
- const stage = await app.fetch(new Request('http://localhost:3000/api/storage/stage', { method: 'POST', body: '{}' }));
- assert.equal(stage.status, 401);
- const home = await app.fetch(new Request('http://localhost:3000/'));
- assert.equal(home.status, 200);
- assert.match(await home.text(), /application\/ld\+json/);
- process.exit(0);
- JS
-
- live-smoke:
- if: github.event_name == 'workflow_dispatch'
- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
- environment: vercel-smoke
- timeout-minutes: 10
- steps:
- - if: ${{ vars.USE_BLACKSMITH != 'true' }}
- uses: actions/checkout@v7
- with:
- persist-credentials: false
- - if: ${{ vars.USE_BLACKSMITH == 'true' }}
- uses: useblacksmith/checkout@v1
- with:
- persist-credentials: false
- - uses: actions/setup-node@v7
- with:
- node-version-file: .nvmrc
- - name: Smoke-test dedicated deployment
- env:
- SMOKE_URL: ${{ vars.VERCEL_SMOKE_URL }}
- SMOKE_AI_BASE_URL: ${{ vars.VERCEL_SMOKE_AI_BASE_URL }}
- SMOKE_AI_API_KEY: ${{ secrets.VERCEL_SMOKE_AI_API_KEY }}
- run: node tooling/deployment/smoke.mjs
diff --git a/AGENTS.md b/AGENTS.md
index 2a0f3e142..575582956 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -229,7 +229,7 @@ docker compose up -d --build
- Production Compose loads `.env.example` then `.env`, not `.env.local`. Configure `.env` with container hostnames (`postgres`, `redis`, `seaweedfs`) and production secrets before running it. The Docker image runs as `node`, listens on `3000`, and persists local storage through `/app/data`. Health endpoint: `/api/health`.
- `vercel.json` defines Vercel Services (project framework must be `Services`): `frontend` (`apps/web`, static `dist`) and `backend` (`apps/server`, entrypoint `apps/server/vercel.mjs` re-exporting the tsdown build). The backend build runs `pnpm build` for both apps, then `node apps/server/dist/prepare-deployment.mjs`. Top-level rewrites send paths whose last segment has a file extension to `frontend` and everything else, including HTML shells, to `backend`, except the server-owned paths listed first. The Function uses Node 24 and a 300-second budget. `outputDirectory: "."` on `backend` stops the builder from treating `dist/index.mjs` (the Docker entrypoint) as the handler.
- Vercel environment normalization accepts `POSTGRES_URL`, direct/unpooled DB aliases, and `KV_URL`. `APP_URL` can be derived from Vercel host variables. Blob is the default when no S3 credentials are set. Preview deployments require isolated resources before enabling `ALLOW_PREVIEW_MIGRATIONS=true`; see `docs/self-hosting/vercel.mdx`.
-- `.github/workflows/e2e.yml` gates core unit/browser flows; `vercel.yml` builds and checks the serverless artifact on PRs and pushes to `main`. `autofix.yml` runs write-capable `pnpm knip --fix` and `pnpm check`. GitHub runners are the default; `USE_BLACKSMITH=true` switches runners and paired actions.
+- `.github/workflows/e2e.yml` is the CI workflow: unit/browser tests, Vercel and Cloudflare compatibility, and write-capable autofix (`pnpm knip --fix` and `pnpm check`) run as separate jobs on PRs and pushes to `main`. Manual runs default to CI; `live_smoke=true` runs only the dedicated deployment smoke test. `label-issues.yml` combines issue-form labeling with scheduled needs-info cleanup. GitHub runners are the default; `USE_BLACKSMITH=true` switches runners and paired actions.
- `docker-build.yml` publishes native AMD64/ARM64 images. `main` publishes nightly aliases; release tags/explicit release dispatch publish stable aliases and can trigger configured production integrations. See `.agents/docs/container-publishing.md` before release work.
- Deployment smoke tests create/delete accounts and files; run only against a dedicated test installation. Details: `docs/contributing/deployment-checks.mdx`.
diff --git a/docs/contributing/deployment-checks.mdx b/docs/contributing/deployment-checks.mdx
index ddf62c51a..5c88ee656 100644
--- a/docs/contributing/deployment-checks.mdx
+++ b/docs/contributing/deployment-checks.mdx
@@ -3,11 +3,11 @@ title: "Deployment checks"
description: "How CI verifies the Vercel build artifact on every pull request, and how to run the deployment smoke test against a Vercel or Docker installation."
---
-Reactive Resume ships as a Docker image and as a Vercel project. The **Vercel Compatibility** workflow (`.github/workflows/vercel.yml`) catches problems that only show up in a deployed build. It has two jobs: an offline artifact build that runs on every pull request, and a live smoke test you start by hand. You can run the same smoke test against your own installation.
+Reactive Resume ships as a Docker image and as a Vercel project. The **CI** workflow (`.github/workflows/e2e.yml`) includes an offline Vercel artifact build that runs on every pull request and a live smoke test you start by hand. These jobs catch problems that only show up in a deployed build. You can run the same smoke test against your own installation.
## Artifact build
-The `artifact` job runs on every pull request, every push to `main`, and every manual run. It needs no Vercel account and no secrets, so pull requests from forks run it safely.
+The `artifact` job runs on every pull request, every push to `main`, and manual runs with `live_smoke` left off. It needs no Vercel account and no secrets, so pull requests from forks run it safely.
The job:
@@ -24,7 +24,7 @@ If a new server dependency breaks the loading check, add it and its own dependen
## Live smoke test
-The `live-smoke` job runs only when you start the workflow manually (`workflow_dispatch`). It uses the `vercel-smoke` GitHub environment and runs `tooling/deployment/smoke.mjs` against the installation at `VERCEL_SMOKE_URL`.
+The `live-smoke` job runs only when you start **CI** manually (`workflow_dispatch`) with `live_smoke` enabled. This skips the other CI jobs. It uses the `vercel-smoke` GitHub environment and runs `tooling/deployment/smoke.mjs` against the installation at `VERCEL_SMOKE_URL`.
<Warning>
Point the smoke test only at a dedicated test installation. It signs up a new account, publishes a resume, and uploads
diff --git a/docs/contributing/development.mdx b/docs/contributing/development.mdx
index 49eb1828e..d9df787bc 100644
--- a/docs/contributing/development.mdx
+++ b/docs/contributing/development.mdx
@@ -258,13 +258,16 @@ Before you open a pull request:
3. Run `pnpm build` if you changed runtime or bundling behavior.
4. Keep the pull request focused. Describe the problem, the new behavior, and the checks you ran, and link the related [GitHub issue](https://github.com/reactive-resume/reactive-resume/issues).
-Pull requests run these GitHub Actions workflows:
+Pull requests run the **CI** workflow (`.github/workflows/e2e.yml`) with four independent jobs:
-| Workflow | What it checks |
-| ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
-| `e2e.yml` | Unit tests for every workspace (`turbo run test:ci --concurrency=1`), a production build, and the Playwright suite |
-| `vercel.yml` | Builds the Vercel artifact offline and checks the backend Function. See [Deployment checks](/contributing/deployment-checks). |
-| `autofix.yml` | Runs `pnpm knip --fix` and `pnpm check`, then pushes any fixes to your branch |
+| Job | What it checks |
+| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Unit and browser tests | Unit tests for every workspace (`turbo run test:ci --concurrency=1`), affected-package typechecks, package boundaries, a production build, and Playwright |
+| Vercel artifact | Builds the Vercel artifact offline and checks the backend Function. See [Deployment checks](/contributing/deployment-checks). |
+| Cloudflare compatibility | Checks the Cloudflare build and runs tests against the local Workers runtime without cloud credentials |
+| autofix.ci | Runs `pnpm knip --fix` and `pnpm check`, then pushes any fixes to your branch |
+
+New commits to a pull request cancel its superseded CI run. Docker publishing and mobile release workflows run separately.
Keep credentials and personal resume data out of code, logs, test fixtures, issues, and pull requests.