Skip to content

fix: The configuredServiceProviders, publishes and publishGroups are not reset when Booting#1161

Merged
hwbrzzl merged 4 commits intomasterfrom
bowen/#749-2
Aug 18, 2025
Merged

fix: The configuredServiceProviders, publishes and publishGroups are not reset when Booting#1161
hwbrzzl merged 4 commits intomasterfrom
bowen/#749-2

Conversation

@hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Aug 17, 2025

📑 Description

The Refresh function calls the Boot function. If the configuration app.providers is modified and configuredServiceProviders, etc. are not reset, the latest configuration can't be applied.

✅ Checks

  • Added test cases for my code

Copilot AI review requested due to automatic review settings August 17, 2025 04:12
@hwbrzzl hwbrzzl requested a review from a team as a code owner August 17, 2025 04:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where the application's service provider configuration is not properly reset during the Boot process, preventing updated configurations from being applied when the Refresh function is called.

  • Resets configuredServiceProviders slice to empty state during Boot
  • Clears publishes and publishGroups maps to allow fresh configuration loading
  • Ensures that configuration changes to app.providers take effect on application refresh

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

hwbrzzl and others added 3 commits August 17, 2025 12:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hwbrzzl hwbrzzl merged commit 9171b4a into master Aug 18, 2025
12 checks passed
@hwbrzzl hwbrzzl deleted the bowen/#749-2 branch August 18, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant