Repository navigation
fix(quickstart): keep test events within Kafka retention - #5355
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Wait for Compose services .github/scripts/run-quickstart.sh |
The script waits up to 180 seconds for Docker Compose services to become ready. It no longer runs a separate curl health-check retry loop. |
Use current UTC dates in query checks quickstart/quickstart_test.go |
The test assigns events to yesterday and today. It checks that v1 and v3 results contain hourly windows starting on those dates and ending one hour later. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested labels: kind/bug, release-note/bug-fix
Suggested reviewers: tothandras, gergely-kurucz-konghq
Merge Risk: 
Minimal · up to 47f87
-
The changes are ready to merge based on the reviewed evidence.
Pre-merge checks: 
4
Finishing Touches: 💡 1
-
🛠️ Fix failing CI checks: 💡
-
- Commit to this branch
- Create a new PR
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Quickstart sent events dated January 2023, making their Kafka records immediately eligible for seven-day retention cleanup. When cleanup won the race against the sink, both API checks timed out with a missing usage bucket.
Generate event dates from the current UTC day, preserving two events yesterday and one today, and assert both hourly bucket boundaries. Wait for Compose services to become healthy with a 180-second startup deadline before running the test. Existing failure-log capture and asynchronous usage deadlines remain in place.
Validation:
Five fresh-run Quickstart CI executions passed on commit
47f877e3a, using the same PR-built image. Each run created a fresh Docker stack, and both v1 and v3 passed with the expected hourly bucket boundaries and counts.The initial Container Tests workflow also passed Base E2E and credits-disabled E2E.


Confidence Score: 5/5
The PR appears safe to merge.Summary
Keeps Quickstart test events recent and strengthens checks for both API versions.
No actionable issues found. Runtime tests were not run during this review.
Reviews (1) · Last reviewed commit: "fix(quickstart): keep test events within..." · Reviewed by Greptile
Summary by CodeRabbit
Bug Fixes
Tests