Skip to content

feat(infra): add user-video SQS queues and fix seed stats reset - #101

Merged
kelleyglenn merged 3 commits into
masterfrom
feature/47-user-stats-infrastructure
Feb 27, 2026
Merged

feat(infra): add user-video SQS queues and fix seed stats reset#101
kelleyglenn merged 3 commits into
masterfrom
feature/47-user-stats-infrastructure

Conversation

@kelleyglenn

Copy link
Copy Markdown
Owner

Summary

  • Add user-video-events and user-video-status-events SQS queues to LocalStack init, Terraform, and production Docker Compose
  • Update clean-test-data.sh to reset seed user stats and location stats after deleting non-seed data, and purge new queues
  • Part of user-service#47: user stats counters never updated by video status events

Changes

  • docker/localstack/init-queues.sh — 4 new queues (+ DLQs)
  • infra/messaging.tf — 2 new queue names in Terraform
  • infra/docker/docker-compose.prod.yml — env vars for user-service and video-service
  • scripts/clean-test-data.sh — stats resets + queue purge expansion

Test plan

  • LocalStack queues verified via awslocal sqs list-queues
  • Full integration test suite passed (119 API + 252 E2E)

🤖 Generated with Claude Code

kelleyglenn and others added 3 commits February 26, 2026 01:08
Design for user-service#47 — user_stats counters are never updated.
Adds dual-queue fan-out from video-service, SQS listeners in
user-service, and fixes to clean-test-data.sh and seed data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kelleyglenn
kelleyglenn merged commit ad63053 into master Feb 27, 2026
1 check passed
@kelleyglenn
kelleyglenn deleted the feature/47-user-stats-infrastructure branch February 27, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant