feat: cache the suggestions in a JSON payload #378
No reviewers
Labels
No labels
automation
backend
bug
contributor experience
data
deployment
documentation
duplicate
good first issue
help wanted
nice to have
notifications
package maintainer
performance
skin
tech debt
user story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-community/nix-security-tracker#378
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cache-suggestions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
which can be pulled back, paginated, etc.
This will run automatically upon every new insertion of pending proposal.
@ -0,0 +53,4 @@
if not relevant_piece:
# No package name.
return
relevant_piece = relevant_piece[0]
@erictapen I guess we're already using more than just the first random package name, at least in https://github.com/Nix-Security-WG/nix-security-tracker/pull/365? I fear that one will need rebasing
@ -0,0 +56,4 @@
relevant_piece = relevant_piece[0]
# This is not a suggestion we want to show.
if suggestion.derivations.count() > 1_000:
More like
Nice, this does the trick