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時間
- マージ済み PR(30日)
- 6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 25/100
simvue-io/python-api#932 ·
simvue-io/python-api の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 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 ·