Should output the content URL during deployment failure
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
rsconnect deploy manifest manifest.json のデプロイフローと、表示される Content GUID、Content ID、ビルド失敗に関するログから始めます。デプロイの成功メッセージと失敗メッセージがどこで出力されるかを追跡し、その後、利用可能な場合は失敗したジョブの content-log URL も含め、コンテンツ URL がすべてのシナリオで表示されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
When deploying to Connect the content URL should be output in all scenarios, including failure. This would allow the user to easily jump to Connect to review the relevant logs.
It could also output the URL to the content log of the failed job.
In the logs below you see an error An error occurred while building the content (build-failed-error) but no URL. The workaround is to manually find the GUID in the existing logging and then manually compose the relevant URL using the GUID.
❯ rsconnect version
1.26.0
❯ rsconnect deploy manifest manifest.json
Validating server... [OK]
Validating app mode... [OK]
Making bundle ... [OK]
Deploying bundle ... [OK]
Saving deployed information... [OK]
Building Quarto document...
Bundle created with Python version 3.11.7 (~=3.11) and Quarto version 1.4.557 (~=1.4) is compatible with environment Local with Python version 3.13.3 from /opt/python/3.13.3/bin/python3.13 and Quarto version 1.6.43 from /opt/quarto/1.6.43/bin/quarto
Bundle requested Python version 3.11.7 (~=3.11); using /opt/python/3.13.3/bin/python3.13 from Local which has version 3.13.3
2025/06/04 18:46:27.930629202 [rsc-session] Content GUID: 359fd2ac-97a1-441d-946f-f0a5a13395d9
2025/06/04 18:46:27.930666117 [rsc-session] Content ID: 82311
2025/06/04 18:46:27.930671531 [rsc-session] Bundle ID: 276890
2025/06/04 18:46:27.930675175 [rsc-session] Job Key: sCMqbXlIXRJhRjjn
Determining session server location ...
Connecting to session server http://127.0.0.1:44225 ...
Connected to session server http://127.0.0.1:44225
2025/06/04 18:46:28.029019135 Running on host: ip-10-0-145-34
2025/06/04 18:46:28.029055285 Process ID: 1752511
2025/06/04 18:46:28.040178685 Linux distribution: Ubuntu 22.04.5 LTS (jammy)
2025/06/04 18:46:28.041894376 Running as user: uid=998(rstudio-connect) gid=999(rstudio-connect) groups=999(rstudio-connect)
2025/06/04 18:46:28.041929811 Connect version: 2025.06.0-dev+35-g7225834aeb
2025/06/04 18:46:28.041959968 LANG: C.UTF-8
2025/06/04 18:46:28.041963511 Working directory: /opt/rstudio-connect/mnt/app
2025/06/04 18:46:28.041982320 Building environment using Python 3.13.3 (main, Apr 22 2025, 14:51:02) [GCC 11.4.0] at /opt/python/3.13.3/bin/python3.13
2025/06/04 18:46:28.047088566 Requested packages: ipython==8.12.3, great_tables, pandas==2.2.3, requests==2.31.0, css-inline==9.14.6
2025/06/04 18:46:28.064632830 Creating environment: Z_S5_UnJ_21Pj8Pmwa01CA
2025/06/04 18:46:28.206058223 Work in progress: /opt/rstudio-connect/mnt/python-environments/uv/3.13.3/Z_S5_UnJ_21Pj8Pmwa01CA_20250604184628_393abbe2417411f0abc5cbf2e309271c
2025/06/04 18:46:28.819142597 Looking in links: /opt/rstudio-connect/mnt/python-environments/_packages_cache/uv/3.13.3/pypiuv
2025/06/04 18:46:28.833937071 Processing /opt/rstudio-connect/mnt/python-environments/_packages_cache/uv/3.13.3/pypiuv/uv-0.7.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2025/06/04 18:46:28.896895320 Requirement already satisfied: setuptools in /opt/python/3.13.3/lib/python3.13/site-packages (79.0.0)
2025/06/04 18:46:28.897569830 Requirement already satisfied: wheel in /opt/python/3.13.3/lib/python3.13/site-packages (0.45.1)
2025/06/04 18:46:28.923876831 Installing collected packages: uv
2025/06/04 18:46:29.782308192 Successfully installed uv-0.7.10
2025/06/04 18:46:30.745683275 Using Python 3.13.3 environment at: /opt/rstudio-connect/mnt/python-environments/uv/3.13.3/Z_S5_UnJ_21Pj8Pmwa01CA_20250604184628_393abbe2417411f0abc5cbf2e309271c
2025/06/04 18:46:31.448652507 × No solution found when resolving dependencies:
2025/06/04 18:46:31.448719848 ╰─▶ Because there is no version of css-inline==9.14.6 and you require
2025/06/04 18:46:31.448769452 css-inline==9.14.6, we can conclude that your requirements are
2025/06/04 18:46:31.448782841 unsatisfiable.
2025/06/04 18:46:31.465031958 Environment Z_S5_UnJ_21Pj8Pmwa01CA_20250604184628_393abbe2417411f0abc5cbf2e309271c failed with pip install failed with exit code 1, removing it
2025/06/04 18:46:31.640431376 pip install failed with exit code 1
Stopped session pings to http://127.0.0.1:44225
Build error: exit status 1
An error occurred while building the content (build-failed-error)
Error from Connect server: exit status 1
Error: Task exited with status 1.
- 主要言語
- Python
- スター
- 38
- フォーク
- 28
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 59
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/rsconnect-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
posit-dev/rsconnect-python#998 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/rsconnect-python#786 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
posit-dev/rsconnect-python#543 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Write no installer preference for uv.lock bundles対応中かも @tdstein が 2 日前に担当しました。 オープンenhancement ready-for-agent
posit-dev/rsconnect-python#996 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Evaluate Python dependency source precedence対応中かも @tdstein が 13 日前に担当しました。 オープンenhancement ready-for-agent
難易度 4/5 1〜2日 初心者へのやさしさ 52/100
posit-dev/rsconnect-python#975 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
posit-dev/rsconnect-python の issue をすべて見る
似ている issue
-
app: scripts status: backlog type: housekeeping
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
netbox-community/netbox-scripts#239 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
LmeSzinc/AzurLaneAutoScript#6194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
micronaut-projects/micronaut-core#14585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
langgenius/graphon#443 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信