Skip to content

Conversation

@cruzdanilo
Copy link
Member

@cruzdanilo cruzdanilo commented Dec 30, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@exactly/server@0.2.46

Patch Changes

Summary by CodeRabbit

Release Notes - Server v0.2.46

  • Bug Fixes

    • Improved database resource management for stability.
  • Performance

    • Optimized risk assessment processing for better responsiveness.

✏️ Tip: You can customize this high-level summary in your review settings.

@gemini-code-assist
Copy link

Summary of Changes

Hello @cruzdanilo, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request is an automated release PR, generated by the Changesets GitHub action, to publish a new patch version of the @exactly/server package. It updates the package version to 0.2.46 and includes a recent fix for closing the database pool during teardown. Merging this PR will trigger the automatic publication of the updated package to npm.

Highlights

  • Automated Release: This pull request was automatically generated by the Changesets GitHub action to prepare for a new release.
  • Version Bump: The @exactly/server package has been updated to version 0.2.46.
  • Patch Change Included: This release incorporates a patch to ensure the database pool is properly closed on teardown.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link

coderabbitai bot commented Dec 30, 2025

Walkthrough

Bumps server package to 0.2.46, adds a 0.2.46 patch entry to server/CHANGELOG.md, and removes two changeset files (.changeset/pink-plums-sit.md, .changeset/ready-experts-fly.md). No runtime code changes.

Changes

Cohort / File(s) Summary
Release versioning
server/package.json
Version updated from 0.2.45 to 0.2.46.
Release documentation
server/CHANGELOG.md
Added 0.2.46 Patch Changes entry referencing commit 22617c5 and contributor attribution.
Changeset cleanup
.changeset/pink-plums-sit.md, .changeset/ready-experts-fly.md
Removed .changeset/pink-plums-sit.md entry for @exactly/server (patch) and deleted placeholder .changeset/ready-experts-fly.md. No code changes.

Sequence Diagram(s)

(omitted)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • nfmelendez

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title '🔖 new release' is vague and generic, using non-descriptive terms that don't convey meaningful information about the specific changeset. Consider using a more specific title like 'Release @exactly/server@0.2.46' or 'Bump @exactly/server to 0.2.46' to clearly indicate what is being released.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch changeset-release/main

📜 Recent review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6d29dde and d95d13f.

📒 Files selected for processing (4)
  • .changeset/pink-plums-sit.md
  • .changeset/ready-experts-fly.md
  • server/CHANGELOG.md
  • server/package.json
💤 Files with no reviewable changes (2)
  • .changeset/ready-experts-fly.md
  • .changeset/pink-plums-sit.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*.md

📄 CodeRabbit inference engine (.cursor/rules/markdown.mdc)

**/*.md: Each markdown file must start with a single top-level heading (# heading 1)
Headings must be sequential (e.g., # -> ## -> ###), do not skip levels
Do not end headings with punctuation (., :, !, ?)
Use a hyphen (-) for unordered list items in markdown
Sub-lists in markdown must be indented with a two-space offset
Always use unordered lists (-) instead of numbered lists (1.) in markdown
All code blocks must be fenced with backticks ( ```) and specify a language identifier
Use sh or `bash` as the language identifier for shell commands in markdown code blocks
All code identifiers inside backticks or code fences must strictly follow casing rules defined in `style.mdc` (`camelCase` for variables, `PascalCase` for types, etc.)
All code comments must be lowercase
All lines in markdown files must be no longer than 120 characters
Surround all block-level elements (headings, lists, code blocks) with a single blank line in markdown
Do not add multiple consecutive blank lines in markdown files
No lines should have trailing whitespace in markdown files
Use asterisks (`word`) for italics and double asterisks (`word`) for bold in markdown
Provide descriptive titles for links in markdown instead of generic phrases like 'click here'

Use proper sentence case for user-facing documentation in the docs/ directory

Files:

  • server/CHANGELOG.md
**/*.{mdc,md}

📄 CodeRabbit inference engine (.cursor/rules/style.mdc)

**/*.{mdc,md}: All narrative text in internal documentation prose (headings, paragraphs, list items, proper nouns, brand names) must be lowercase with no exceptions
When discussing code concepts in prose, use regular lowercase words and place correctly-cased identifiers inside backticks
Any identifier inside backticks or code fences must strictly follow the casing rules defined in the style guide and be treated as code, not prose

Files:

  • server/CHANGELOG.md
🧠 Learnings (9)
📚 Learning: 2025-12-23T19:58:16.574Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-23T19:58:16.574Z
Learning: Applies to server/**/*.{ts,tsx} : Server database: drizzle schema is source of truth. Migrations required. No direct database access in handlers - use `c.var.db`

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:57:35.503Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/server.mdc:0-0
Timestamp: 2025-12-23T19:57:35.503Z
Learning: Applies to server/**/*.ts : Use Drizzle ORM query builder for all database interactions; do not write raw SQL queries unless absolutely unavoidable

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:57:35.503Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/server.mdc:0-0
Timestamp: 2025-12-23T19:57:35.503Z
Learning: Applies to server/api/**/*.ts : Never instantiate or directly access a database client from within a route handler; it must be provided via context

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:56:56.405Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/dev.mdc:0-0
Timestamp: 2025-12-23T19:56:56.405Z
Learning: Server (exactly/server) uses Hono (framework), Node.js, Drizzle ORM (database), and PostgreSQL

Applied to files:

  • server/package.json
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/.changeset/*.md : Use a lowercase sentence in the imperative present tense for changeset summaries

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/*.{mdc,md} : All narrative text in internal documentation prose (headings, paragraphs, list items, proper nouns, brand names) must be lowercase with no exceptions

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: When implementing changes, follow all rules in `.mdc` files for any code, documentation, or rules you create, including meta-rules like the lowercase prose convention

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-23T19:57:22.339Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/markdown.mdc:0-0
Timestamp: 2025-12-23T19:57:22.339Z
Learning: Applies to docs/**/*.md : Use proper sentence case for all user-facing documentation in `docs/` directory

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : All code comments must be lowercase; special tags (TODO, FIXME) are uppercase followed by a single space and lowercase comment, without colons or dashes, and should include a ticket/issue reference when available

Applied to files:

  • server/CHANGELOG.md
🔇 Additional comments (1)
server/package.json (1)

3-3: Version bump is correct.

The patch version increment from 0.2.45 to 0.2.46 aligns with the PR objectives and changelog entries. No dependency versions were modified.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request appears to be an automated release generated by the Changesets action. It correctly bumps the version of @exactly/server to 0.2.46, updates the CHANGELOG.md, and removes the processed changeset file. The changes are consistent with the standard release process. As the modifications in this PR are limited to versioning and documentation updates, there are no specific code logic changes to review.

@sentry
Copy link

sentry bot commented Dec 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.08%. Comparing base (cbde413) to head (d95d13f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   49.08%   49.08%           
=======================================
  Files          41       41           
  Lines        7100     7100           
  Branches      520      520           
=======================================
  Hits         3485     3485           
  Misses       3599     3599           
  Partials       16       16           
Flag Coverage Δ
github 48.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4297f88 and 9f28713.

📒 Files selected for processing (3)
  • .changeset/pink-plums-sit.md
  • server/CHANGELOG.md
  • server/package.json
💤 Files with no reviewable changes (1)
  • .changeset/pink-plums-sit.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*.md

📄 CodeRabbit inference engine (.cursor/rules/markdown.mdc)

**/*.md: Each markdown file must start with a single top-level heading (# heading 1)
Headings must be sequential (e.g., # -> ## -> ###), do not skip levels
Do not end headings with punctuation (., :, !, ?)
Use a hyphen (-) for unordered list items in markdown
Sub-lists in markdown must be indented with a two-space offset
Always use unordered lists (-) instead of numbered lists (1.) in markdown
All code blocks must be fenced with backticks ( ```) and specify a language identifier
Use sh or `bash` as the language identifier for shell commands in markdown code blocks
All code identifiers inside backticks or code fences must strictly follow casing rules defined in `style.mdc` (`camelCase` for variables, `PascalCase` for types, etc.)
All code comments must be lowercase
All lines in markdown files must be no longer than 120 characters
Surround all block-level elements (headings, lists, code blocks) with a single blank line in markdown
Do not add multiple consecutive blank lines in markdown files
No lines should have trailing whitespace in markdown files
Use asterisks (`word`) for italics and double asterisks (`word`) for bold in markdown
Provide descriptive titles for links in markdown instead of generic phrases like 'click here'

Use proper sentence case for user-facing documentation in the docs/ directory

Files:

  • server/CHANGELOG.md
**/*.{mdc,md}

📄 CodeRabbit inference engine (.cursor/rules/style.mdc)

**/*.{mdc,md}: All narrative text in internal documentation prose (headings, paragraphs, list items, proper nouns, brand names) must be lowercase with no exceptions
When discussing code concepts in prose, use regular lowercase words and place correctly-cased identifiers inside backticks
Any identifier inside backticks or code fences must strictly follow the casing rules defined in the style guide and be treated as code, not prose

Files:

  • server/CHANGELOG.md
🧠 Learnings (1)
📚 Learning: 2025-12-23T19:56:56.405Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/dev.mdc:0-0
Timestamp: 2025-12-23T19:56:56.405Z
Learning: Server (exactly/server) uses Hono (framework), Node.js, Drizzle ORM (database), and PostgreSQL

Applied to files:

  • server/package.json
🔇 Additional comments (2)
server/package.json (1)

3-3: LGTM! Version bump aligns with patch release.

The version increment from 0.2.45 to 0.2.46 correctly reflects the patch-level changes documented in the changelog.

server/CHANGELOG.md (1)

3-8: Changelog entry structure and content look good.

The new version section correctly documents the patch change with proper commit reference and contributor attribution. The format is consistent with existing entries in the changelog.

@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch 3 times, most recently from 10b67a6 to 1d7897a Compare December 30, 2025 22:20
@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch from 1d7897a to c99d421 Compare December 30, 2025 22:24
@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch from c99d421 to 299a9b0 Compare December 30, 2025 22:30
@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch 2 times, most recently from dd646f7 to 6ccd9e0 Compare December 30, 2025 22:55
@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch 3 times, most recently from 3069223 to 6d29dde Compare December 31, 2025 02:12
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
server/CHANGELOG.md (1)

5-5: Heading capitalization still violates coding guidelines.

The heading "Patch Changes" uses title case, but per coding guidelines for internal markdown files (**/*.{mdc,md}), all narrative text in headings must be lowercase. This should be "patch changes".

Note: As mentioned in previous reviews, this is likely generated by the Changesets tool and would require updating the tool's configuration to prevent recurrence.

As per coding guidelines for internal markdown files.

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3069223 and 6d29dde.

📒 Files selected for processing (3)
  • .changeset/pink-plums-sit.md
  • server/CHANGELOG.md
  • server/package.json
💤 Files with no reviewable changes (1)
  • .changeset/pink-plums-sit.md
🧰 Additional context used
📓 Path-based instructions (2)
**/*.md

📄 CodeRabbit inference engine (.cursor/rules/markdown.mdc)

**/*.md: Each markdown file must start with a single top-level heading (# heading 1)
Headings must be sequential (e.g., # -> ## -> ###), do not skip levels
Do not end headings with punctuation (., :, !, ?)
Use a hyphen (-) for unordered list items in markdown
Sub-lists in markdown must be indented with a two-space offset
Always use unordered lists (-) instead of numbered lists (1.) in markdown
All code blocks must be fenced with backticks ( ```) and specify a language identifier
Use sh or `bash` as the language identifier for shell commands in markdown code blocks
All code identifiers inside backticks or code fences must strictly follow casing rules defined in `style.mdc` (`camelCase` for variables, `PascalCase` for types, etc.)
All code comments must be lowercase
All lines in markdown files must be no longer than 120 characters
Surround all block-level elements (headings, lists, code blocks) with a single blank line in markdown
Do not add multiple consecutive blank lines in markdown files
No lines should have trailing whitespace in markdown files
Use asterisks (`word`) for italics and double asterisks (`word`) for bold in markdown
Provide descriptive titles for links in markdown instead of generic phrases like 'click here'

Use proper sentence case for user-facing documentation in the docs/ directory

Files:

  • server/CHANGELOG.md
**/*.{mdc,md}

📄 CodeRabbit inference engine (.cursor/rules/style.mdc)

**/*.{mdc,md}: All narrative text in internal documentation prose (headings, paragraphs, list items, proper nouns, brand names) must be lowercase with no exceptions
When discussing code concepts in prose, use regular lowercase words and place correctly-cased identifiers inside backticks
Any identifier inside backticks or code fences must strictly follow the casing rules defined in the style guide and be treated as code, not prose

Files:

  • server/CHANGELOG.md
🧠 Learnings (9)
📚 Learning: 2025-12-23T19:58:16.574Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-23T19:58:16.574Z
Learning: Applies to server/**/*.{ts,tsx} : Server database: drizzle schema is source of truth. Migrations required. No direct database access in handlers - use `c.var.db`

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:57:35.503Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/server.mdc:0-0
Timestamp: 2025-12-23T19:57:35.503Z
Learning: Applies to server/**/*.ts : Use Drizzle ORM query builder for all database interactions; do not write raw SQL queries unless absolutely unavoidable

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:57:35.503Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/server.mdc:0-0
Timestamp: 2025-12-23T19:57:35.503Z
Learning: Applies to server/api/**/*.ts : Never instantiate or directly access a database client from within a route handler; it must be provided via context

Applied to files:

  • server/package.json
📚 Learning: 2025-12-23T19:56:56.405Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/dev.mdc:0-0
Timestamp: 2025-12-23T19:56:56.405Z
Learning: Server (exactly/server) uses Hono (framework), Node.js, Drizzle ORM (database), and PostgreSQL

Applied to files:

  • server/package.json
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/.changeset/*.md : Use a lowercase sentence in the imperative present tense for changeset summaries

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/*.{mdc,md} : All narrative text in internal documentation prose (headings, paragraphs, list items, proper nouns, brand names) must be lowercase with no exceptions

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: When implementing changes, follow all rules in `.mdc` files for any code, documentation, or rules you create, including meta-rules like the lowercase prose convention

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-23T19:57:22.339Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/markdown.mdc:0-0
Timestamp: 2025-12-23T19:57:22.339Z
Learning: Applies to docs/**/*.md : Use proper sentence case for all user-facing documentation in `docs/` directory

Applied to files:

  • server/CHANGELOG.md
📚 Learning: 2025-12-30T15:03:28.449Z
Learnt from: CR
Repo: exactly/exa PR: 0
File: .cursor/rules/style.mdc:0-0
Timestamp: 2025-12-30T15:03:28.449Z
Learning: Applies to **/*.{ts,tsx,js,jsx} : All code comments must be lowercase; special tags (TODO, FIXME) are uppercase followed by a single space and lowercase comment, without colons or dashes, and should include a ticket/issue reference when available

Applied to files:

  • server/CHANGELOG.md
🔇 Additional comments (1)
server/package.json (1)

3-3: LGTM! Version bump aligns with the changelog.

The version update from 0.2.45 to 0.2.46 correctly reflects the patch release documented in the changelog.

@cruzdanilo cruzdanilo force-pushed the changeset-release/main branch from 6d29dde to d95d13f Compare December 31, 2025 14:01
@cruzdanilo cruzdanilo merged commit d95d13f into main Dec 31, 2025
4 of 5 checks passed
@cruzdanilo cruzdanilo deleted the changeset-release/main branch December 31, 2025 15:00
@coderabbitai coderabbitai bot mentioned this pull request Jan 8, 2026
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