Don't lose results when the background worker is shut down mid-run

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
backend, devtools

調査の方向性

Start by reading background.js and tracing how script results are sent to the panel and how the panel handles a missing reply. Compare a long-running script with a result that cannot be delivered, then choose and document an approach in background.js. Done means the panel receives output after several minutes or shows an error instead of staying on “Running...” indefinitely.

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

説明

bug core user story

User story

As a script author, I want to always get my script's output, so that a long run doesn't finish with nothing shown.

Why

Chrome can shut down the background service worker during a long script. The pending reply to the panel is then dropped and the panel waits forever.

Acceptance criteria

  • A script that runs for several minutes still returns its output to the panel
  • If the result truly cannot be delivered, the panel shows an error instead of hanging on "Running..."
  • Approach is documented in background.js (long-lived port, stored result, or keep-alive)

Generated by Claude Code

主要言語
JavaScript
スター
1
フォーク
1
平均マージ
1分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Ohr-Co/PyMonkey のほかの issue

Ohr-Co/PyMonkey の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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