Skip to content

[PROD RELEASE] - Jan 26#27

Merged
jmgasper merged 6 commits intomasterfrom
develop
Feb 5, 2026
Merged

[PROD RELEASE] - Jan 26#27
jmgasper merged 6 commits intomasterfrom
develop

Conversation

@kkartunov
Copy link
Contributor

No description provided.

@kkartunov kkartunov requested review from Copilot and jmgasper February 3, 2026 08:07
@@ -0,0 +1 @@
export * from "./index" No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💡 style]
Consider adding a newline at the end of the file to adhere to POSIX standards. This can help prevent issues with some tools and version control systems that expect a newline at the end of files.

@@ -0,0 +1 @@
export * from "./index" No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💡 style]
Consider adding a newline at the end of the file to adhere to POSIX standards and improve compatibility with various tools and systems.

/* !!! This is code generated by Prisma. Do not edit directly. !!!
/* eslint-disable */
// biome-ignore-all lint: generated file
module.exports = { ...require('#main-entry-point') } No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
Using require with a dynamic path like '#main-entry-point' can lead to issues if the module resolution fails or if the path is incorrect. Consider verifying that this path is correct and that the module exists to prevent runtime errors.

@@ -0,0 +1 @@
export * from "./default" No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💡 style]
Consider adding a newline at the end of the file. While this is a minor style issue, it can prevent potential issues with certain tools or version control systems that expect a newline at the end of files.

engine: "c2990dca591cba766e3b7ef5d9e8a84796e47ab7"
}

Prisma.PrismaClientKnownRequestError = () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
The error message construction in PrismaClientKnownRequestError and similar functions is repeated multiple times. Consider refactoring this into a helper function to improve maintainability and reduce duplication.

exports.Prisma.Security_userScalarFieldEnum = {
login_id: 'login_id',
user_id: 'user_id',
password: 'password',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ security]
Storing passwords in plain text within the Security_userScalarFieldEnum is a security risk. Ensure that passwords are hashed and not stored in plain text to enhance security.

timezone_id: 'timezone_id',
last_site_hit_date: 'last_site_hit_date',
name_in_another_language: 'name_in_another_language',
password: 'password',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ security]
Storing passwords in plain text within the UserScalarFieldEnum is a security risk. Ensure that passwords are hashed and not stored in plain text to enhance security.

@kkartunov kkartunov requested a review from vas3a February 3, 2026 08:11
Copy link

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 is a production release pull request titled "[PROD RELEASE] - Jan 26" that includes a mix of code formatting improvements, functionality enhancements, and major database client refactoring. The changes also include generated Prisma client files with developer-specific configurations.

Changes:

  • Code formatting standardization (semicolons, quotes, line breaks across multiple files)
  • Removal of M2M token caching logic from MemberApiService
  • Enhancement of APP_DOMAIN configuration to check configService before environment variables
  • Major refactoring of user group management to use a new group-specific Prisma client
  • Addition of new Prisma client generator for external client output

Reviewed changes

Copilot reviewed 33 out of 53 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
src/shared/util/pagination.util.ts Added semicolons for consistency
src/shared/util/common.utils.ts Enhanced getAppDomain to check configService first
src/shared/member-api/member-api.service.ts Removed token caching mechanism
src/api/user/user.service.ts Refactored to use separate group Prisma client and updated group membership creation
src/api/user/user.service.spec.ts Added mock for new group Prisma client
prisma/schema.prisma Added externalClient generator configuration
packages/identity-prisma-client/* Generated Prisma client files with local development paths
Multiple controller/service files Code formatting improvements (quotes, spacing, line breaks)

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

"value": "prisma-client-js"
},
"output": {
"value": "/Users/hentrymartin/development/identity-api-v6/packages/identity-prisma-client",
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Developer-specific local path detected. The generated Prisma client contains a hardcoded path '/Users/hentrymartin/development/identity-api-v6/packages/identity-prisma-client' that is specific to the developer's machine. This will cause runtime errors in other environments. The Prisma client must be regenerated before deployment.

Suggested change
"value": "/Users/hentrymartin/development/identity-api-v6/packages/identity-prisma-client",
"value": __dirname,

Copilot uses AI. Check for mistakes.
makeStrictEnum,
Public,
getRuntime,
skip
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable skip.

Suggested change
skip

Copilot uses AI. Check for mistakes.
empty,
join,
raw,
skip,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable skip.

Suggested change
skip,

Copilot uses AI. Check for mistakes.
raw,
skip,
Decimal,
Debug,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable Debug.

Suggested change
Debug,

Copilot uses AI. Check for mistakes.
objectEnumValues,
makeStrictEnum,
Extensions,
warnOnce,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable warnOnce.

Suggested change
warnOnce,

Copilot uses AI. Check for mistakes.
empty,
join,
raw,
skip,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable skip.

Suggested change
skip,

Copilot uses AI. Check for mistakes.
objectEnumValues,
makeStrictEnum,
Extensions,
warnOnce,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable warnOnce.

Suggested change
warnOnce,

Copilot uses AI. Check for mistakes.
warnOnce,
defineDmmfProperty,
Public,
getRuntime,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable getRuntime.

Suggested change
getRuntime,

Copilot uses AI. Check for mistakes.
defineDmmfProperty,
Public,
getRuntime,
createParam,
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable createParam.

Suggested change
createParam,

Copilot uses AI. Check for mistakes.
Comment on lines +452 to +453
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This use of variable 'undefined' always evaluates to false.

Suggested change
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG) {
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG)

Copilot uses AI. Check for mistakes.
@jmgasper jmgasper merged commit 1b34a83 into master Feb 5, 2026
14 of 15 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.

5 participants