Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Fetching config in file artifact snapshot breaks offline mode

Aberta
#885 1 comentário 0 reações 1 responsável Ver no GitHub

@wk9874 já está trabalhando nisso.

Desde 20/10/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

bug

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:

  1. Create an offline mode run
  2. Remove internet connection
  3. 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.

Linguagem predominante
Python
Estrelas
4
Forks
1
Merge médio
22h 21min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de simvue-io/python-api

Todas as issues de simvue-io/python-api

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.