Skip to content

Conversation

@MarcelGeo
Copy link
Collaborator

No description provided.

varmar05 and others added 29 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
revert some updated deps from lockfile
@MarcelGeo MarcelGeo requested a review from varmar05 November 13, 2025 13:26
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19333070558

Details

  • 637 of 677 (94.09%) changed or added relevant lines in 20 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 94.281%

Changes Missing Coverage Covered Lines Changed/Added Lines %
server/mergin/sync/public_api_controller.py 78 79 98.73%
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 17 20 85.0%
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%
Totals Coverage Status
Change from base Build 18839616580: -0.04%
Covered Lines: 7896
Relevant Lines: 8375

💛 - Coveralls

@MarcelGeo MarcelGeo merged commit 537429e into master Nov 14, 2025
4 checks passed
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