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

Text-to-image rendering suppresses asyncio task cancellation

オープン 初心者向け
#10,389 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

@kilisamemarisaaa がすでに取り組んでいます。

2026年10月5日 から。

  • #10394 @kilisamemarisaaa による — オープン

評価

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

調査の方向性

まず astrbot/core/utils/t2i/renderer.py から始め、await されているレンダラー処理と結果装飾のtext-to-image呼び出しの周囲にあるすべての except BaseException ブロックを特定する。これらの catch を狭め、asyncio.CancelledError(およびその他のキャンセルシグナル)は再スローされ、通常の例外はローカルレンダリングへのフォールバックを引き起こし続けるようにする。リモートレンダリング中にリクエストをキャンセルしたときに、フォールバックに移行したり通常の応答を返したりせずに直ちに停止し、実際のレンダリングエラーに対する既存のフォールバック動作が保持されていれば完了。

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

説明

The rendering path catches BaseException around awaited renderer work in astrbot/core/utils/t2i/renderer.py and falls back to local rendering. The result-decoration path also catches BaseException around the awaited text-to-image call. Because asyncio.CancelledError derives from BaseException, cancelling a request during remote rendering can be converted into fallback work or a normal response instead of stopping promptly.

Please propagate cancellation while retaining fallback behavior for ordinary rendering errors.

主要言語
Python
スター
41.4k
フォーク
3k
平均マージ
1日 5時間
マージ済み PR(30日)
140

環境構築

はじめの一歩

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

AstrBotDevs/AstrBot のほかの issue

AstrBotDevs/AstrBot の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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