feat: add direct upload to 5 track

This commit is contained in:
TAskMAster339
2026-10-18 23:13:35 +03:00
parent 4d91357932
commit d7e7ea93f1
30 changed files with 2942 additions and 580 deletions
+20 -1
View File
@@ -14,11 +14,13 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
attachments-cleanup \
check validate test load test-persistence test-failover \
test-backend test-baseline test-baseline-persistence test-grade3 test-grade3-failures \
test-attachment-validation test-attachment-access test-upload-recovery test-attachment-cleanup test-s3-permissions test-upload-memory
test-attachment-validation test-attachment-access test-upload-recovery test-attachment-cleanup test-s3-permissions test-upload-memory \
test-direct-upload test-direct-upload-validation test-direct-upload-access test-direct-upload-recovery test-direct-upload-cleanup
help:
@echo "test-direct-upload / test-direct-upload-validation / test-direct-upload-access / test-direct-upload-recovery / test-direct-upload-cleanup"
@echo "app-build: build application images; app-up: build and start the full stack"
@echo "app-start: start without rebuilding; app-stop: stop and keep containers"
@echo "app-down: remove containers and networks, keeping data volumes"
@@ -124,3 +126,20 @@ test-s3-permissions: app-init
test-upload-memory:
$(PYTHON) scripts/check_upload_memory.py
test-direct-upload: app-init
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadFlow$$'
$(PYTHON) scripts/check_direct_upload.py --base-url "$(BASE_URL)"
test-direct-upload-validation: app-init
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadValidation'
test-direct-upload-access: app-init
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadAccess'
test-direct-upload-recovery: app-init
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUpload(Recovery|CrashHelper)'
$(COMPOSE) exec -T frontend npm run test:direct-upload
test-direct-upload-cleanup: app-init
$(COMPOSE) --profile test run --build --rm backend-tests go test -race -count=1 -v ./backend/tests -run '^TestDirectUploadCleanup'