refactor(storage): remove legacy firestore backend

Delete Firestore provider implementation and tests (5 files). Extract shared
key helpers to new internal/storage/keys.go module. Remove Firestore case
from server bootstrap and storage factory. Drop cloud.google.com/go/firestore
and related dependencies from go.mod. Remove firestore-emulator test targets
from Makefile. Update README storage section to reflect MongoDB-only backend.
This commit is contained in:
2026-06-28 12:52:40 +07:00
parent 07eddb2733
commit 4b15d07d1b
13 changed files with 123 additions and 719 deletions
+3 -4
View File
@@ -47,10 +47,9 @@ jobs:
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
# Firestore emulator step removed: storage_test.go skips gracefully
# when FIRESTORE_EMULATOR_HOST is unset, and the emulator install
# adds 30-60s of CI time for tests not yet on the merge-gating path.
# Re-add when storage-layer changes need emulator coverage in CI.
# No DB emulator step: storage integration tests (mongodb, dynamodb) skip
# gracefully when MONGODB_TEST_URL / DYNAMODB_LOCAL_URL are unset. Run them
# locally via `make test-mongo` / `make test-dynamodb`.
- name: go test
env:
# Quiet test logs so real failures stand out.