Should output the content URL during deployment failure
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 rsconnect deploy manifest manifest.json 部署流程以及围绕所显示的 Content GUID、Content ID 和构建失败的日志记录开始。跟踪部署成功和失败消息的输出位置,然后验证内容 URL(包括失败作业的 content-log 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 小时
- 30 天内合并 PR
- 59
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 个 reaction ·
维护者通常 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 天内回复