various: reuse HTTP client; eliminate intermediate string allocations; add tests

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I18b89e1aae78a400a89c9d89423ce1da6a6a6964
This commit is contained in:
raf 2026-02-15 23:30:45 +03:00
commit f7081317ee
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
9 changed files with 245 additions and 96 deletions

View file

@ -93,7 +93,7 @@ async fn create_test_build(
.expect("create build")
}
// ---- Existing tests ----
// CRUD and lifecycle tests
#[tokio::test]
async fn test_project_crud() {
@ -416,7 +416,7 @@ async fn test_not_found_errors() {
));
}
// ---- New hardening tests ----
// Batch operations and edge cases
#[tokio::test]
async fn test_batch_get_completed_by_drv_paths() {