Hook last fire expiration issue
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- database
Research direction
Start by locating the hooks_last_fires data model and the code that currently expires records after more than one year. Check which consumers rely on older records and clarify the proposed 1000-record limit. Done means retention is bounded without breaking those consumers, with the issue's open question resolved.
Written by the indexing model from the issue text.
Description
Ah, right -- IIRC we thought about deleting if there are more than N for a hook, but that's a more complicated query. That might be worth considering anyway? In another PR of course :)
Originally posted by @djmitche in https://github.com/taskcluster/taskcluster/pull/5805#discussion_r1038246108
Problem: hooks_last_fires keeps too much records for some hooks. Expiring them by time (> 1 year) is not efficient.
There should be some hard limit for the number of last fires we keep.
TBD: who is using those beyond 1000 records?
- Dominant language
- JavaScript
- Stars
- 435
- Forks
- 305
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 93
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from taskcluster/taskcluster
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
taskcluster/taskcluster#8622 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
taskcluster/taskcluster#9179 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
taskcluster/taskcluster#9167 · 1 reaction ·
-
taskcluster/taskcluster#9148 · 1 assignee ·
-
taskcluster/taskcluster#9146 · 1 assignee ·
All issues in taskcluster/taskcluster
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·