simvue-io / simvue-io/python-api
Modify offline mode to include caching on server connection failure
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 4
- 派生
- 1
- 平均合并
- 5 天 8 小时
- 30 天内合并 PR
- 4
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定文件或测试。首先定位现有的离线模式实现和 Simvue 对象存储路径,然后跟踪 run 的上传方式以及连接失败的处理方式。完成的标准是:连接失败时会缓存对象以便稍后上传,按定义的时间间隔重试,并区分正常重试与明确启用的离线模式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, backend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100