test: comprehensive sync package unit tests (37 new tests)

- safe_path_test.go: path traversal protection (11 table-driven cases)
- blob_test.go: SHA-256 hashing, store/deduplicate/read blobs
- sync_test.go: Service CRUD ops, state, push/mark lifecycle
- client_test.go: Push/Pull/Blobs/Auth via httptest.Server
- sync_e2e_test.go: auto-build server binary on demand
This commit is contained in:
2026-06-03 09:16:38 +08:00
parent 7d81250ebd
commit ca280a59c0
7 changed files with 947 additions and 3 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -16,7 +16,7 @@
background: #13131f;
}
</style>
<script type="module" crossorigin src="/assets/main-CWWXp5bW.js"></script>
<script type="module" crossorigin src="/assets/main-hwPUi_6_.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-BBKDbfa7.css">
</head>
<body>