Skip to content

Comments

bug(nimbus): version sorting performance#14016

Merged
jaredlockhart merged 1 commit intomainfrom
14011
Nov 21, 2025
Merged

bug(nimbus): version sorting performance#14016
jaredlockhart merged 1 commit intomainfrom
14011

Conversation

@jaredlockhart
Copy link
Collaborator

Because

  • We changed the version sorting on the home and list pages to do semantic version sorting
  • We did it in memory but it's too slow for production and might have been causing OOM exits
  • We can do it in the db if we store a parsed tuple of the major/minor/patch values

This commit

  • Adds a new field to store the parsed version
  • Migrates existing experiments to populate the new field
  • Updates it on save
  • Changes the filter sorts to use the parsed field

fixes #14011

Because

* We changed the version sorting on the home and list pages to do semantic version sorting
* We did it in memory but it's too slow for production and might have been causing OOM exits
* We can do it in the db if we store a parsed tuple of the major/minor/patch values

This commit

* Adds a new field to store the parsed version
* Migrates existing experiments to populate the new field
* Updates it on save
* Changes the filter sorts to use the parsed field

fixes #14011
Copy link
Contributor

@yashikakhurana yashikakhurana left a comment

Choose a reason for hiding this comment

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

Tested locally, nice approach as adding the field and parsing it. Thanks @jaredlockhart

@jaredlockhart jaredlockhart added this pull request to the merge queue Nov 21, 2025
Merged via the queue into main with commit 4d22b63 Nov 21, 2025
16 checks passed
@jaredlockhart jaredlockhart deleted the 14011 branch November 21, 2025 21:12
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.

Bug: Version sort hanging

2 participants