Adjust `index-search` optimization to take artifact expiration into account
还没有人认领这个 Issue。
评估
调研方向
Start by locating the index-search optimization and the task-definition handling for artifact expiration. Trace how fetches declarations identify dependent artifacts, then verify that replacement candidates are rejected when those artifacts expire before the dependent task deadline.
由索引模型根据 Issue 内容生成。
描述
Sometimes artifacts can expire before a task does, e.g to save on storage costs. The problem is that sometimes, the index-search optimization will optimize by replacement with a task who's artifact has expired, and then the dependency who needs it will fail with a 404.
In many cases, it's not clear which artifacts (if any) a dependent needs, so it's impossible to tell whether the existing task is valid or not. But in some cases, (e.g if the dependent declares the artifact via the fetches feature), we at least know that some subset of artifacts are going to be used. In these cases, the index-search optimization should inspect the task definition and ensure that these artifacts will expire sometime after the deadline of the dependent task before it will consider it as a candidate for replacement.
- 主要语言
- Python
- 星标
- 26
- 派生
- 55
- 平均合并
- 2 天 6 分钟
- 30 天内合并 PR
- 15
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
taskcluster/taskgraph 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
taskcluster/taskgraph#952 ·
-
难度 4/5 3-5 天 新手友好度 35/100
taskcluster/taskgraph#915 ·
-
feature
难度 3/5 1-2 天 新手友好度 35/100
taskcluster/taskgraph#911 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
taskcluster/taskgraph#882 ·
-
难度 5/5 一周以上 新手友好度 35/100
taskcluster/taskgraph#865 · 1 条评论 ·
查看 taskcluster/taskgraph 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
good first issue
难度 1/5 1 小时以内 新手友好度 90/100