Repository navigation
fix(kafka): use the shared wait_hr_ready body in the topic-data example - #4436
Conversation
The topic-data example was branched before the backup examples moved to one wait_hr_ready body and merged after they did, so it carried the old copy. hack/mariadb-first-boot-waits.bats finds every copy in the tree and runs its failure branches under errexit, and the old one does not report a kubectl that cannot answer. That turned the unit job red on main and on every pull request tested against it. Assisted-by: LLM Signed-off-by: Myasnikov Daniil <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: cozystack/cozystack/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthrough
ChangesHelmRelease readiness
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The helper reports a failed HelmRelease lookup and stops provisioning rather than proceeding as if the release were ready. No identified issue blocks merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Aleksei Sviridkin (lexfrei)
left a comment
There was a problem hiding this comment.
myasnikovdaniil LGTM. The kafka copy now matches the mariadb one byte for byte, and the first-boot bats suite passes locally. Redis and kafka-metadata still have their own bodies, but the suite lists them as exceptions, so that is fine.
What this PR does
#3580 landed with the old
wait_hr_readyinexamples/backups/kafka/00-helpers.sh. It was branched before #3769 moved the backup examples to one body, andhack/mariadb-first-boot-waits.batsruns every copy it finds, so unit tests are red on main now and on every PR tested against it (example run).Function is replaced with the mariadb copy, rest of the file untouched.
make unit-testspasses locally.Screenshots
Downstream repositories
Release note
Summary by CodeRabbit