Fetching config in file artifact snapshot breaks offline mode
@wk9874 已经在做这个了。
开始于 2025年10月20日。
评估
这个 Issue 还没有评估数据。
描述
Description of Bug
Inside FileArtifact, if snapshot=True, the UserConfiguration is fetched. However since mode is not passed through, it does it in online mode, which breaks offline mode as it continually tries to ping the server
Maybe mode should be a required arg in fetch()?
Also we should have a CI job which runs offline mode tests fully offline, ie there is no server URL or token available
Steps To Reproduce
Steps to reproduce the behavior:
- Create an offline mode run
- Remove internet connection
- Save a file artifact with snapshot = True
Expected behavior
File artifact should save locally with a copy of the file in cache
Actual Behaviour
Run breaks since it tries to obtain server version, as UserConfiguration thinks it is in online mode
Screenshots
If applicable, add screenshots to help explain your problem.
Setup
- OS: Ubuntu
- Python version: v3.10
Additional context
Add any other context about the problem here.
- 主要语言
- Python
- 星标
- 4
- 派生
- 1
- 平均合并
- 7 天 6 小时
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
simvue-io/python-api 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
simvue-io/python-api#994 ·
-
bug
难度 1/5 1 小时以内 新手友好度 68/100
simvue-io/python-api#538 ·
-
难度 3/5 1-2 天 新手友好度 65/100
simvue-io/python-api#1000 · 2 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
simvue-io/python-api#987 ·
-
难度 5/5 一周以上 新手友好度 25/100
simvue-io/python-api#932 ·
查看 simvue-io/python-api 的全部 Issue
相似的 Issue
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 65/100
syfoud/Simulated_Scepter#174 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Giskard-AI/giskard-oss#2840 · 1 条评论 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success 未关闭area: repo bug perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·