[Bug]: Images in Azure DevOps work item descriptions show "Image unavailable" on the Issues page
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- azure, typescript
調査の方向性
The issue identifies apps/server and the Azure DevOps work item attachment URL under /_apis/wit/attachments/. Start by tracing how read_issue loads the description and how the existing pull request attachment handling authenticates image requests. Done means pasted work item images display on the Issues page using the available Azure DevOps credential; an open linked pull request shows work is already underway.
索引モデルが issue の本文から書いたものです。
説明
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- In a private Azure DevOps project, create a work item and paste a screenshot into its Description.
- Add a local repository whose origin is an Azure Repos URL in that project.
- Open Issues and open the work item.
Expected behavior
The pasted image shows in the description.
Actual behavior
Each image shows an "Image unavailable · Image" card.
The body read_issue returns is HTML whose images point at the work item attachment endpoint:
<img src="https://<org>.visualstudio.com/<project-guid>/_apis/wit/attachments/<attachment-guid>?fileName=image.png" alt=Image>
That endpoint answers only a request that carries an Azure DevOps credential. The client loads the URL directly, without one, so the load fails. The environment does have the credential: the same work item's text loads through az.
Related, but not the same URL or surface:
- #36148 (open) authenticates Azure DevOps pull request attachments. Its matcher accepts only
/_apis/git/repositories/<id>/pullRequests/<n>/attachments/<name>, and its comment says "Only pull request attachments may be fetched". Work item attachments under/_apis/wit/attachments/<guid>are not covered. - #21014, #25922, #19828 and #39085 report the same symptom for GitHub, Bitbucket and Linear.
Impact
Major degradation or frequent failure
Work items that explain a problem with screenshots lose them, for the user and for an agent that is handed the work item.
Version or commit
0.1.11 (desktop)
Environment
macOS 26.5.2, T3 Code desktop 0.1.11, azure-cli 2.90.0, azure-devops extension 1.0.4, Azure DevOps Services on a *.visualstudio.com organisation
Workaround
Open the work item in Azure DevOps.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 4時間 29分
- マージ済み PR(30日)
- 488
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
needs more info
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#39400 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Wrapped PR titles lose bottom padding in the thread details panel対応中かも @iamdatvt94 が 1 日前に担当しました。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
area:plugins kind:bug priority:p2 ready
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Escaped `*` followed by `*` (`\**`) never matches対応中かも @bardrop が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
editorconfig/editorconfig-core-js#172 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vega/vega-webgpu#40 ·
-
type: bug 🐛
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
puckeditor/puck#1929 ·
メンテナーはふだん 1 日以内に返信
-
compression() compresses every response at Brotli quality 11対応中かも @staylor が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信