Repository navigation
build(test): keep make ci's time limits from killing healthy runs - #734
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (6)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (2)
🧰 Additional context used📚 Code guidelines (3)📓 Path-based instructions (6)Source excerpt: The **only** package that imports NATS/JetStream — a `depguard` rule in `.golangci.yml` fails `make lint` on any `github.com/nats-io` import in every package golangci-lint builds; the `integration`-tagged files under `tests/...📄 CodeRabbit inference engine (docs/src/content/docs/architecture.md) Files:
Source excerpt: **Never hand-write `®` or `™` in prose.**📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: Create `*_test.go` files in the same package as the code under test.📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: Create the package under `internal/`.📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: **WH001 applies to every tracked Markdown file, with no carve-out** — `AGENTS.md`, `CHANGELOG.md`, `.github/` CI docs and `.claude/` agent prompts included.📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: **Docs prose**: never hard-wrap Markdown — one paragraph is one line.📄 CodeRabbit inference engine (CONTRIBUTING.md) Files:
🪛 checkmake (0.3.2)Makefile[warning] 768-768: Target body for "test-unit" exceeds allowed length of 5 lines (6). (maxbodylength) 🪛 LanguageToolCHANGELOG.md[typographical] ~100-~100: Consider using an em dash in dialogues and enumerations. (DASH_RULE) [style] ~102-~102: This sentence is over 40 words long. Consider splitting it up, as shorter sentences make the text easier to read. (TOO_LONG_SENTENCE) 🔇 Additional comments (9)
📝 SummarySummary by CodeRabbit
WalkthroughThe pull request updates unit and integration test timeouts, adds retries for Redis Cluster host-port refusals, and adjusts embedded- and external-NATS test fixtures. ChangesTest Timeouts
Redis Cluster Test Startup
NATS Test Fixtures
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~15 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The timeout and test-fixture changes appear mergeable after normal checks; no actionable issue is established. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 72.73% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 3 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
✨ Simplify code
🛠️ Fix failing CI checks 💡
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 |
|
📚 Docs preview is live → https://5134b101-wavehouse-docs.wave-rf.workers.dev |
Code Coverage OverviewLanguages: Go GoThe overall line coverage in commit 85cfa43 in the Show a line coverage summary of the most impacted files.
Updated |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
make ciwas killing healthy test runs at twogo testtime limits. This raises both without loosening the unit budget that CI enforces.UNIT_TIMEOUTvariable, default 15s.make cipasses 60s for its parallel phase, where the suite shares every core with the lint and build jobs and packages such asinternal/appandinternal/mq(about 10s each alone) ran past 15s.make test-unitand the unit job in CI run the suite on its own and keep the 15s budget.tests/integrationtakes about 6m on a CI runner and up to 8m under Docker Desktop, which left 480s only half a minute of headroom.development.mdgains a "Time limits" note, including that a package over the 15s budget can passmake ciand still fail in CI.Test plan
make cipasses locally (WSL2 + Docker Desktop) on the merge with mainRelated Issues
Refs #617 (the 15s unit budget, which this keeps for standalone runs)