simvue-io / simvue-io/python-api

Modify offline mode to include caching on server connection failure

Open
#549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement offline
Dominant language
Python
Stars
4
Forks
1
Avg merge
5d 8h
Merged PRs (30d)
4

Description

This will likely require a complete refactor of offline mode. We want to now include caching of objects such that if a connection cannot be made to the server, these objects are uploaded at a later time. This can be merged with the offline mode concept, the difference being offline mode would be clearly stating that connection to a server is not possible, whereas a typical run would keep re-trying to upload the runs at a given interval.

This could be merged with the concept of having object orientation for Simvue objects and their storage locally.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the existing offline-mode implementation and the Simvue object storage path, then trace how runs are uploaded and how connection failures are handled. Done means failed connections cache objects for later upload, retry at a defined interval, and distinguish normal retries from explicitly offline mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.