`task-expires-after` should be more broadly configurable
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading the task-expires-after configuration in config.yml and the hardcoded defaults in src/taskgraph/transforms/task.py around lines 1084-1086. Trace how task defaults are selected, then define and test configuration behavior for all tasks, including separate by-level and by-tasks-for settings.
由索引模型根据 Issue 内容生成。
描述
#409 added a task-expires-after to config.yml which only applies to non-try tasks, with other tasks defaulting to a hardcoded level of "1 year". This is confusing, because when you look at the configuration all you see is something like:
task-expires-after: 90 days
...which can be fairly interpreted to mean "all tasks expire after 90 days" (I'm not even sure most people would interpret it to mean "by default, unless overridden elsewhere", although that's probably a separate issue.)
To remedy this, I think task-expires-after should apply to all task defaults, and support being configured at least by-level and by-tasks-for (to allow things like try and pull requests to easily have separate expires configured). This would make the behaviour much more obvious to users, and have the benefit of getting rid of fully hardcoded values such as in https://github.com/taskcluster/taskgraph/blob/649bba50850dd4c89ad59949ff1be1f36e05f083/src/taskgraph/transforms/task.py#L1084-L1086.
- 主要语言
- Python
- 星标
- 26
- 派生
- 55
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 19
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
taskcluster/taskgraph 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
taskcluster/taskgraph#952 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
taskcluster/taskgraph#915 ·
维护者通常 1 天内回复
-
feature
难度 3/5 1-2 天 新手友好度 35/100
taskcluster/taskgraph#911 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
taskcluster/taskgraph#882 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
taskcluster/taskgraph#865 · 1 条评论 ·
维护者通常 1 天内回复
查看 taskcluster/taskgraph 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-2 天 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 7 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
lmstudio-ai/mlx-engine#376 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
pyiron/bagofholding#166 ·