mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-08-08 22:25:35 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user