GET /v2/tasks reports "Suspended": false for every task, including suspended ones
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the discrepancy with the documented GET /api/admin/v2/tasks and GET /api/admin/v2/task/info?id endpoints, using the suspend and resume calls described in the issue. Trace how TaskList exposes Suspended and compare it with %SYS.Task and task/info. Done means each list item reports the current boolean state, including after suspension and resumption.
索引モデルが issue の本文から書いたものです。
説明
Environment: intersystems/irishealth-community:2026.2, fresh container
(IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2026.2 (Build 221U) Fri Jun 26 2026),
calls made as _SYSTEM.
Summary: the Suspended field in GET /api/admin/v2/tasks is false for every task and never changes.
GET /api/admin/v2/task/info and %SYS.Task report the real state.
Steps to reproduce
Two tasks ship suspended on a fresh instance: Integrity Check (Id 4) and Automatic Table Statistic Collection (Id 21).
B=http://localhost:52773/api/admin
curl -u _SYSTEM:SYS "$B/v2/tasks" # Id 4: "Suspended": false
curl -u _SYSTEM:SYS "$B/v2/task/info?id=4" # "Suspended": true
# suspend a running task explicitly
curl -u _SYSTEM:SYS -X POST -H 'Content-Type: application/json' -d '{}' "$B/v2/task/suspend?id=3" # 200
curl -u _SYSTEM:SYS "$B/v2/tasks" # Id 3 (Purge Tasks): still "Suspended": false
curl -u _SYSTEM:SYS "$B/v2/task/info?id=3" # "Suspended": true
##class(%SYS.Task).%OpenId(3).Suspended returns 1 after the suspend.
Expected: each TaskList item's Suspended (a boolean in the spec) matches the task's state, as task/info does.
Actual: false for all 18 tasks on a fresh instance, including Ids 4 and 21. After POST /v2/task/suspend
it stays false, both immediately and 5 seconds later. POST /v2/task/resume doesn't change it either.
Impact: a client that renders the task list shows every task as not suspended.
Workaround: call task/info for each task.
- 主要言語
- 言語のデータがありません
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intersystems-community/sysadmin-api-specification のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
journal/file/records: maxRows returns half the rows; unknown matchOperator returns an empty listオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
intersystems-community/sysadmin-api-specification の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
parse-community/parse-server#10871 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vercel-labs/durable-harness#53 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
needs more info
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
pingdotgg/t3code#31519 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信