Fetching config in file artifact snapshot breaks offline mode
@wk9874 đang làm issue này rồi.
Từ ngày 20/10/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 1
- Merge trung bình
- 5 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 4
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của simvue-io/python-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
simvue-io/python-api#994 ·
-
Doesn't work in python 3.10 Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
simvue-io/python-api#986 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
simvue-io/python-api#538 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
simvue-io/python-api#1004 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
simvue-io/python-api#1000 · 2 bình luận ·
Tất cả issue của simvue-io/python-api
Issue tương tự
-
link-check link-check:sphinx-theme
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100