Map Analysis continues polling after a background job fails
メンテナーはふだん 1 日以内に返信
@amantebriwal4321 がすでに取り組んでいます。
2026年11月9日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
application/frontend/src/pages/GapAnalysis/GapAnalysis.tsxから始めて、ポーリングのエフェクトとそのエラーハンドラーを読みます。Map Analysisのバックグラウンドジョブがエラーを返すようにして障害を再現し、エラーが表示されたままジョブIDがクリアされ、読み込みが終了することを確認します。障害経路の回帰テストを追加し、ポーリングが停止することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
The Map Analysis frontend continues polling /rest/v1/ma_job_results after a background job has reached a terminal failed state.
Steps to reproduce
- Open Map Analysis.
- Select two standards that require a background calculation.
- Wait for the backend to return a job ID.
- Allow the background job to fail.
- Observe the browser's Network tab.
Actual behaviour
- The job-results endpoint returns HTTP 500 with
background job failed. - The frontend displays an error.
- The polling interval continues requesting the same failed job every 10 seconds.
Expected behaviour
Once a background job reaches a terminal failure state:
- Polling should stop.
- The active job ID should be cleared.
- The loading state should be reset.
- The error should remain visible to the user.
Suspected cause
In application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx, the polling error handler calls setLoadingGA(false) and setError(...), but does not clear gaJob.
Since the polling effect depends on gaJob, the existing interval remains active after the request fails.
Local reproduction notes
During local testing, the RQ worker picked up a BIML -> ASVS job but failed with:
Pair GA scheduling requires Postgres backend, got sqlite
The resulting /rest/v1/ma_job_results requests returned HTTP 500. This exposed the frontend polling behaviour.
The SQLite/PostgreSQL compatibility issue is separate and is not the bug being reported.
Could a maintainer confirm whether this is worth addressing? I'm happy to investigate and submit a focused fix with regression tests.
- 主要言語
- Python
- スター
- 210
- フォーク
- 167
- 平均マージ
- 4日 12時間
- マージ済み PR(30日)
- 28
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OWASP/OpenCRE のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/OpenCRE#1215 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
MCP tools return "Internal MCP tool error." when OpenCRE is unreachable or times out対応中かも @ShaanGS が 23 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/OpenCRE#1163 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
find_node_by_name endpoint does not enforce MAX_ITEMS_PER_PAGE, allowing unbounded pagination queries`対応中かも @Jeffy123-zhu が 26 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OWASP/OpenCRE#1149 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Information disclosure via filesystem existence oracle in web_main.py catch-all route対応中かも @0x5t4l1n が 39 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/OpenCRE#1112 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsオープンbackend bug tm-new-volunteer
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
transitmatters/mbta-slow-zone-bot#81 · コメント 1 件 ·
-
area:schema documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
risk:high type:ci
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
spacetelescope/rdmt-spire#49 ·
メンテナーはふだん 1 日以内に返信