error when existing content gone

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api, cli

調査の方向性

ドキュメントに記載された rsconnect deploy quarto コマンドで失敗を再現し、その後、ディスク上のレコードを再利用して Posit Connect の「requested object does not exist」レスポンスを処理するデプロイパスを調査します。削除されたリモート項目の回帰テストを追加します。完了条件は、--new を要求せずに再デプロイが成功することです。

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

説明

Create some content and deploy like:

mkdir some-test-content
cd some-test-content
echo "not interesting" > index.qmd
rsconnect deploy quarto index.qmd

This deploy command uses my CONNECT_SERVER and CONNECT_API_KEY to target a Connect server.
Remove that item from Connect.

Attempt to deploy again.

rsconnect deploy quarto index.qmd

This attempt fails:

[ERROR]: Posit Connect reported an error (calling /__api__/applications/f491690f-0e35-4950-a91d-5d0ce85a7566): The requested object does not exist. Try setting the --new flag to overwrite the previous deployment.
Error: Posit Connect reported an error (calling /__api__/applications/f491690f-0e35-4950-a91d-5d0ce85a7566): The requested object does not exist. Try setting the --new flag to overwrite the previous deployment.

The fact that the content is reported as not existing should give a signal to rsconnect that whatever on-disk record of the deployment is outdated. Deployment should proceed without requesting -N.

主要言語
Python
スター
38
フォーク
28
平均マージ
1日 4時間
マージ済み PR(30日)
59

環境構築

はじめの一歩

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

posit-dev/rsconnect-python のほかの issue

posit-dev/rsconnect-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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