Skip to content

Fix flaky topic validation caused by intermittent Topicana empty response - #198

Open
arizz96 wants to merge 1 commit into
mainfrom
fix/topic-validation-topicana-retry
Open

Fix flaky topic validation caused by intermittent Topicana empty response#198
arizz96 wants to merge 1 commit into
mainfrom
fix/topic-validation-topicana-retry

Conversation

@arizz96

@arizz96 arizz96 commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • The Legacy Kafka ACL validation service (Topicana) occasionally returns an empty string instead of actual ACL data
  • When this happens, the platform binary treats all ACLs as invalid and fails the CI job
  • Wraps the build.sh topic_validation call in a retry loop (3 attempts, 15s delay) so transient Topicana outages don't fail the CI check
  • Topic config generation is unaffected — it only runs once before the retry loop

Test plan

  • Trigger the validate-topics CI job in a repo like fadmin and confirm it passes
  • If Topicana returns empty on first attempt, verify the retry fires after 15s and succeeds on retry

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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