Skip to content

Conversation

@MarcelGeo
Copy link
Collaborator

No description provided.

varmar05 and others added 21 commits August 5, 2025 10:52
- refactor common logic for push in v1 and v2 API
- feature flag to use v2 push (for clients only)
- dry run option in v2 endpoint to only validate request
- use new error structure for v2 endpoint
* Added new endpoint for pushing chunks
- new variable for storing chunks - UPLOAD_CHUNKS_DIR, UPLOAD_CHUNKS_EXPIRATION

* cleanup

* cleanup api yaml
* Cron job to remove outdated uploaded chunks

* Run cleanup more frequently
Add new v2 push endpoint to create a project version
Fix v2 push with only deleted files
Remove upload chunks only if push was successful
Return whole project nfo dump from project versions
@MarcelGeo MarcelGeo requested review from harminius and varmar05 and removed request for varmar05 October 28, 2025 16:21
@MarcelGeo MarcelGeo marked this pull request as draft October 30, 2025 09:55
@coveralls
Copy link

coveralls commented Oct 30, 2025

Pull Request Test Coverage Report for Build 18941225447

Details

  • 627 of 667 (94.0%) changed or added relevant lines in 19 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.07%) to 94.281%

Changes Missing Coverage Covered Lines Changed/Added Lines %
server/mergin/sync/public_api_controller.py 76 77 98.7%
server/mergin/sync/tasks.py 10 11 90.91%
server/mergin/tests/test_public_api_v2.py 134 135 99.26%
server/mergin/sync/utils.py 16 19 84.21%
server/mergin/sync/errors.py 34 38 89.47%
server/mergin/sync/files.py 67 71 94.37%
server/mergin/sync/models.py 83 91 91.21%
server/mergin/sync/public_api_v2_controller.py 115 133 86.47%
Files with Coverage Reduction New Missed Lines %
server/mergin/sync/utils.py 3 84.85%
Totals Coverage Status
Change from base Build 18940344397: -0.07%
Covered Lines: 7896
Relevant Lines: 8375

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants