Skip to content

fix(azure): prevent conflicting topic subscription names #788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2025

Conversation

jyecusch
Copy link
Member

When topic names are long they result in subscriptions names that must be truncated (to max 24 chars) to meet Azure's name restrictions. The truncation could result in two services subscribing to the same topic ending up with the same name for their subscriptions, causing a conflict for the Event Subscription resources.

Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.83%. Comparing base (959094c) to head (a0e3e80).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #788   +/-   ##
=======================================
  Coverage   48.83%   48.83%           
=======================================
  Files          28       28           
  Lines        3551     3551           
=======================================
  Hits         1734     1734           
  Misses       1698     1698           
  Partials      119      119           
Flag Coverage Δ
aws 44.89% <ø> (ø)
azure 53.54% <ø> (ø)
core 60.76% <ø> (ø)
gcp 47.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jyecusch jyecusch marked this pull request as draft April 15, 2025 04:30
@jyecusch jyecusch marked this pull request as ready for review April 15, 2025 08:45
@jyecusch jyecusch marked this pull request as draft April 15, 2025 08:46
@jyecusch jyecusch force-pushed the fix/azure-sub-name-conflicts branch from 03f64fb to 7d84229 Compare April 16, 2025 04:25
@jyecusch jyecusch marked this pull request as ready for review April 16, 2025 04:49
@jyecusch jyecusch force-pushed the fix/azure-sub-name-conflicts branch from c8e2c09 to a0e3e80 Compare April 16, 2025 08:40
@davemooreuws davemooreuws self-requested a review April 16, 2025 23:06
@jyecusch jyecusch requested a review from davemooreuws April 17, 2025 01:37
@davemooreuws davemooreuws self-requested a review April 28, 2025 02:06
@davemooreuws davemooreuws merged commit 3e2d5fe into main Apr 28, 2025
4 checks passed
@davemooreuws davemooreuws deleted the fix/azure-sub-name-conflicts branch April 28, 2025 05:20
@nitric-bot
Copy link

🎉 This PR is included in version 1.25.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants