feat: promote user crud completion and operational fixes to main#8
Merged
Conversation
… output path - create CreateUserDto with email, name, and role fields, and UpdateUserDto using PartialType - add create, update, and delete methods to UserService - add POST /user, PATCH /user/:id, and DELETE /user/:id endpoints to UserController, all admin-only with role selection on create - add 14 tests across user.service and user.controller suites covering create, update, and delete - add app.enableShutdownHooks() in main.ts for clean sigterm and sigint handling - improve prisma error messages in AllExceptionsFilter showing target fields for P2002, cause for P2025, and fk field for P2003 - add onPoolError callback in PrismaService logging pool-level errors instead of crashing the process - update e2e test to match current root route welcome json response - fix readme task status values, arcjet link, and swagger url from /api to /docs - add rootDir ./src to tsconfig.build.json so dist/main.js generates correctly instead of dist/src/main.js fixing start:prod
… output path Completes the User module with CreateUserDto and UpdateUserDto, create, update, and delete service methods, admin-only POST PATCH and DELETE endpoints, and 14 new tests across two suites. Adds enableShutdownHooks for graceful sigterm and sigint handling, improves Prisma error messages in AllExceptionsFilter for P2002, P2025, and P2003 codes, adds an onPoolError callback to PrismaService to log rather than crash on pool errors, updates the e2e test for the current root route, fixes readme inaccuracies, and adds rootDir to tsconfig.build.json fixing the start:prod build output path.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Promotes the completed User CRUD, improved Prisma error handling, graceful shutdown, and the production build path fix from develop into main.
What's Changed
Why
The start:prod build fix is blocking for any production deployment and must be on main before TaskForge API can be deployed.