IRC retry detection misses held jobs, and end_job's memory retry never fires

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Read Scheduler.end_irc_job and Scheduler.end_job, then inspect unfinished_job_names and the keyword assignment in arc/job/trsh.py. Compare how held or deferred IRC retries are classified and how memory keywords are matched. Done when those retries are detected correctly, the IRC path cannot reuse an old output to make an endpoint, and focused tests cover both behaviors.

索引モデルが issue の本文から書いたものです。

説明

Follow-up from a bot review on #1122 (comment 4729086257). Not a v2.0.0 blocker.

  1. Scheduler.end_irc_job decides that end_job reran an IRC by diffing running_jobs. A rerun
    deferred or held back on an unreadable queue lands in deferred_jobs / stranded_jobs, so
    the old job is passed on to spawn_post_irc_jobs. That records a failed IRC (error +
    ts_checks warning) while the retry is pending. Diff unfinished_job_names(label) instead.
  2. Scheduler.end_job retries a memory error only when
    job_status[1]['keywords'] == ['memory'], but arc/job/trsh.py sets 'Memory'. So the
    memory retry (×3 or ×0.5 memory) never runs for any job type. Compare case-insensitively, or
    use 'Memory' in keywords. Then check that the IRC path still cannot make an endpoint from
    the old output once this branch is live, since it falls through to True.
主要言語
Python
スター
55
フォーク
26
平均マージ
3日 3時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

ReactionMechanismGenerator/ARC のほかの issue

ReactionMechanismGenerator/ARC の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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