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

Local Quick Start: a removed container shows "Set up" instead of Recreate/Delete after a window reload

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

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

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

評価

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

調査の方向性

reconcileAlias 関数、特にコンテナのない準備完了レコードのケース 3 を確認してください。バグは missing が設定されているが metadata が設定されていないことで、LocalQuickStartItem が誤った UI を表示します。ツリー項目が metadata && status.missing に基づいてアクションをレンダリングする場所を特定してください。修正は、そのケースで metadata が確実に設定されるようにすることです。DocumentDB Local をセットアップし、Docker でコンテナを削除し、ウィンドウの再読み込み前後に接続ビューをチェックしてテストしてください。

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

説明

After a window reload, a Local Quick Start instance whose container was removed outside VS Code shows Set up DocumentDB Local in the tree instead of Recreate container / Delete container. Before the reload the same instance showed Recreate/Delete.

Repro:

  1. Set up DocumentDB Local.
  2. docker rm -f vscode-documentdb-local (the volume stays).
  3. Refresh the Connections view → Recreate / Delete. ✅
  4. Reload the window → Set up DocumentDB Local. ❌

Cause: reconcileAlias case 3 (ready record, no container) sets missing = true but not metadata, and LocalQuickStartItem only renders the Missing actions when metadata && status.missing.

No data is at risk: Set up → Configure still offers Keep / Erase, and Delete is reachable from there. But the tree hides Delete and mislabels a recoverable instance as not installed.

Found while testing #952 (#946). Not introduced there.

主要言語
TypeScript
スター
34
フォーク
22
平均マージ
18時間 28分
マージ済み PR(30日)
47

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

microsoft/vscode-documentdb のほかの issue

microsoft/vscode-documentdb の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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