Skip to content
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

[PM-19905] Migrate DispatcherManager to data module #4999

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

SaintPatrck
Copy link
Contributor

🎟️ Tracking

PM-19905

📔 Objective

Move DispatcherManager and its implementation to the data module.

Additionally, FakeDispatcherManager was moved to data.testFixtures for reusability.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
Contributor

github-actions bot commented Apr 4, 2025

Logo
Checkmarx One – Scan Summary & Details666e611e-e5c9-4dc5-9fb4-1afc713edaf3

Great job, no security vulnerabilities found in this Pull Request

@SaintPatrck SaintPatrck force-pushed the data-module/dispatcher-manager branch from 7cf0287 to 4b05740 Compare April 4, 2025 21:10
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.94%. Comparing base (62cfcbb) to head (e23df6f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4999      +/-   ##
==========================================
+ Coverage   81.31%   83.94%   +2.63%     
==========================================
  Files        1073      588     -485     
  Lines       58746    47899   -10847     
  Branches     7206     6617     -589     
==========================================
- Hits        47767    40209    -7558     
+ Misses       8453     5452    -3001     
+ Partials     2526     2238     -288     

☔ 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.

Base automatically changed from authenticator/remove-unused-featureflag-repo to main April 7, 2025 13:13
@SaintPatrck SaintPatrck force-pushed the data-module/dispatcher-manager branch from 4b05740 to f6c5a8b Compare April 7, 2025 15:41
@SaintPatrck SaintPatrck marked this pull request as ready for review April 7, 2025 15:41
@SaintPatrck SaintPatrck enabled auto-merge April 7, 2025 16:52
@@ -15,7 +15,7 @@ class DispatcherManagerTest {

val actual = dispatcherManager.io

assertEquals(expected, actual)
Assertions.assertEquals(expected, actual)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we undo this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. Nice catch. Yes.

Move `DispatcherManager` and its implementation to the `data` module.

Additionally, `FakeDispatcherManager` was moved to `data.testFixtures` for reusability.
@SaintPatrck SaintPatrck force-pushed the data-module/dispatcher-manager branch from f6c5a8b to e23df6f Compare April 7, 2025 18:11
@SaintPatrck SaintPatrck added this pull request to the merge queue Apr 7, 2025
Merged via the queue into main with commit 2176b61 Apr 7, 2025
7 of 8 checks passed
@SaintPatrck SaintPatrck deleted the data-module/dispatcher-manager branch April 7, 2025 18:44
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.

2 participants