Skip to content

docs: address Copilot review feedback on dynamic events PR#25202

Merged
EngincanV merged 2 commits into
rel-10.3from
maliming/dynamic-events-copilot-fixes
Apr 2, 2026
Merged

docs: address Copilot review feedback on dynamic events PR#25202
EngincanV merged 2 commits into
rel-10.3from
maliming/dynamic-events-copilot-fixes

Conversation

@maliming

@maliming maliming commented Apr 2, 2026

Copy link
Copy Markdown
Member

Follow-up to #25200.

  • Wrap BuildServiceProvider() in using in both tests to ensure the container is disposed after each test.
  • Update note in POST.md to reference both OnApplicationInitialization and OnApplicationInitializationAsync.
  • Add missing scopeFactory resolution line to the mixed handlers code snippet so the example is self-contained.

Copilot AI review requested due to automatic review settings April 2, 2026 07:49
@maliming maliming requested a review from EngincanV April 2, 2026 07:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Follow-up documentation/test hygiene updates for the dynamic events subscription guidance (PR #25200), focusing on proper DI container disposal in tests and clearer/self-contained docs examples.

Changes:

  • Dispose test ServiceProvider instances via using to ensure containers are cleaned up after each test.
  • Update the article note to reference both OnApplicationInitialization and OnApplicationInitializationAsync.
  • Extend the “Mixed Typed and Dynamic Handlers” snippet to include IServiceScopeFactory resolution.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Distributed/LocalDistributedEventBus_Test.cs Ensures BuildServiceProvider() results are disposed in the added unit tests.
docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md Clarifies subscription guidance and adjusts code snippets to be more complete.

Comment thread docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@EngincanV EngincanV merged commit aa48aaf into rel-10.3 Apr 2, 2026
6 checks passed
@EngincanV EngincanV deleted the maliming/dynamic-events-copilot-fixes branch April 2, 2026 08:38
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.

3 participants