Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`task-expires-after` should be more broadly configurable

オープン
#527 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
ci-cd

調査の方向性

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日 6分
マージ済み PR(30日)
15

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

taskcluster/taskgraph のほかの issue

taskcluster/taskgraph の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。