Skip to content

fix(engine): Index UserSessions columns for cleanup#4341

Merged
mrkaye97 merged 10 commits into
hatchet-dev:mainfrom
gregfurman:fix/migration/index-user-sessions
Jul 7, 2026
Merged

fix(engine): Index UserSessions columns for cleanup#4341
mrkaye97 merged 10 commits into
hatchet-dev:mainfrom
gregfurman:fix/migration/index-user-sessions

Conversation

@gregfurman

Copy link
Copy Markdown
Collaborator

Description

Ensures that the expiredAt and createdAt columns are correctly indexed -- addressing failing UserSession cleanup jobs that were introduced in the last stable release.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

What's Changed

  • Added migration to index createdAt and expiresAt columns in UserSessions table.

Checklist

Changes have been:

  • Tested (unit, integration, or manually with steps specified)
  • Linted and formatted
  • Documented (where applicable)
  • Added to CHANGELOG (where applicable) -- see Keep a Changelog

🤖 AI Disclosure
  • I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
  • Details: [e.g. generating tests, writing docs]

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

@gregfurman is attempting to deploy a commit to the Hatchet Team on Vercel.

A member of the Team first needs to authorize it.

@gregfurman gregfurman requested a review from mrkaye97 July 2, 2026 15:01
@github-actions github-actions Bot added documentation Improvements or additions to documentation engine Related to the core Hatchet engine labels Jul 2, 2026
@gregfurman gregfurman requested a review from abelanger5 July 2, 2026 15:01
@gregfurman

Copy link
Copy Markdown
Collaborator Author

Needs docs regen 😬 Will do so a bit later

@github-actions github-actions Bot removed the documentation Improvements or additions to documentation label Jul 7, 2026
@mrkaye97 mrkaye97 merged commit 266bc87 into hatchet-dev:main Jul 7, 2026
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Related to the core Hatchet engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants