Skip to content

Production deployment#1943

Merged
simonknittel merged 14 commits intomainfrom
develop
Mar 7, 2026
Merged

Production deployment#1943
simonknittel merged 14 commits intomainfrom
develop

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Mar 7, 2026

Only merge using a merge commit!

Fixes `Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /Users/simon.knittel/Documents/personal/projects/sam/app/node_modules/zod-validation-error/package.json` caused by `eslint-config-next` and `eslint-plugin-react-hooks`
@vercel
Copy link

vercel bot commented Mar 7, 2026

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

Project Deployment Actions Updated (UTC)
sam Ready Ready Preview Mar 7, 2026 7:59am

Copy link
Contributor

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 aimed at hardening and polishing the app for a production deployment by centralizing environment configuration, tightening request/schema validation, and aligning tooling/CI behavior.

Changes:

  • Switches some runtime configuration to use the app’s typed env module (notably for OpenAI and the tRPC base URL).
  • Updates multiple Zod schemas (enum handling and new max-length/optionality constraints).
  • Tidies formatting/config and makes CI Prettier checks blocking; pins/updates a few dev dependencies.

Reviewed changes

Copilot reviewed 27 out of 28 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
app/src/server/api/routers/ai.ts Uses typed app env for OpenAI API key access.
app/src/proxy.ts Rewords authentication-related comment (now JSDoc-style).
app/src/modules/tasks/actions/createTask.ts Updates Zod enum validation for task fields.
app/src/modules/profit-distribution/actions/updateParticipantAttribute.ts Adds an attempted guard limiting number of submitted form keys.
app/src/modules/notifications/actions/updateMyNotificationSettings.ts Adds an attempted guard limiting number of submitted form keys.
app/src/modules/common/utils/api.ts Changes tRPC base URL resolution to env.BASE_URL.
app/src/modules/common/components/CreateContext.tsx Formatting-only changes to dynamic imports.
app/src/modules/citizen/actions/updateRoleAssignment.ts Adds an attempted guard limiting number of submitted form keys.
app/src/modules/career/nodes/RoleCitizens/server/updateFlowSchema.ts Updates Zod enum validation.
app/src/modules/career/nodes/RoleCitizens/client/schema.ts Updates Zod enum validation.
app/src/modules/career/nodes/Role/server/updateFlowSchema.ts Updates Zod enum validation.
app/src/modules/career/nodes/Role/client/schema.ts Updates Zod enum validation.
app/src/modules/career/nodes/Markdown/server/updateFlowSchema.ts Tightens Markdown schema (max length + enum).
app/src/modules/career/nodes/Markdown/client/schema.ts Tightens Markdown schema (max length + enum + optional backgroundColor).
app/src/modules/auth/components/AdminEnabler.tsx Adds samesite=lax attribute to the admin toggle cookie.
app/src/env.ts Updates URL validation to Zod v4 z.url().
app/src/app/preview-channel/_opengraph-image.tsx Formatting-only JSX simplification.
app/src/app/opengraph-image.tsx Formatting-only JSX simplification.
app/src/app/manifest.ts Reorders imports.
app/src/app/icon.tsx Formatting-only JSX simplification.
app/src/app/dogfight-trainer/opengraph-image.tsx Formatting-only JSX simplification.
app/src/app/api/health/throw/route.ts Removes the “throw” health route.
app/postcss.config.cjs Normalizes quotes (Prettier).
app/package.json Pins eslint-plugin-react-compiler; adds zod-validation-error.
app/package-lock.json Lockfile updates for dependency changes.
app/eslint.config.mjs Enables react-compiler recommended config; adjusts plugin wiring.
app/.devcontainer/devcontainer.json Formatting-only (forwardPorts array).
.github/workflows/validate-app.yml Makes Prettier check blocking (removes continue-on-error).
Files not reviewed (1)
  • app/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

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

Copilot reviewed 31 out of 32 changed files in this pull request and generated 11 comments.

Files not reviewed (1)
  • app/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simonknittel simonknittel enabled auto-merge March 7, 2026 07:57
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2026

@simonknittel simonknittel merged commit 0b4d3da into main Mar 7, 2026
11 checks passed
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