Skip to content

ci: deploy to production#815

Merged
fricklerhandwerk merged 3 commits intoproductionfrom
main
Feb 19, 2026
Merged

ci: deploy to production#815
fricklerhandwerk merged 3 commits intoproductionfrom
main

Conversation

@fricklerhandwerk
Copy link
Collaborator

No description provided.

This reduces the number of queries in a list view from >250 to ~30.
Total query time goes down from ~60ms to ~20ms (tested locally).

Reason for the slowdown was that the template filter would query the database on every conditionally displayed button.

The remaining overhead is from inefficient querying of the activity log.
But this need to be thought through properly.
We may not need the edit types and could possibly rely on `pghistory` exclusively.

It's really ugly how this fix is implemented, sorry.
I just wanted to get it out of the way.
We need to redesign how data is mashed up for the templates.
This is a hotfix because upstream decided to mass-edit old records to add microsecond precision (!) to publication dates.
While that probably has some good reason, for us it triggers matches with very old CVEs, degrading user experience.
Up to now it would also create duplicate containers, which should be cleaned up in the future.

The general issue still needs to be addressed properly by updating existing records.
@fricklerhandwerk fricklerhandwerk merged commit 7853f56 into production Feb 19, 2026
7 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.

1 participant