Skip to content

Save AppliedDatabaseMigrationsEto to the outbox in runtime migrator - #26303

Merged
EngincanV merged 1 commit into
rel-10.7from
maliming/runtime-migrator-outbox
Oct 19, 2026
Merged

EngincanV merged 1 commit into
rel-10.7from
maliming/runtime-migrator-outbox

Conversation

@maliming

Copy link
Copy Markdown
Member

https://abp.io/support/questions/10920

EfCoreRuntimeDatabaseMigratorBase published AppliedDatabaseMigrationsEto outside a unit of work, so it skipped the outbox and the application startup waited for the message broker. It now saves the event to the outbox (if one accepts it) in a non-transactional unit of work, and saves it again on retry if saving fails.

@maliming maliming added this to the 10.7-final milestone Oct 17, 2026
@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 13.57466% with 191 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.13%. Comparing base (9496fb8) to head (06af580).
⚠️ Report is 7 commits behind head on rel-10.7.

Files with missing lines Patch % Lines
...re/Migrations/RuntimeDatabaseMigratorTestModule.cs 0.00% 111 Missing ⚠️
...rations/EfCoreRuntimeDatabaseMigratorBase_Tests.cs 0.00% 79 Missing ⚠️
...re/Migrations/EfCoreRuntimeDatabaseMigratorBase.cs 96.77% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           rel-10.7   #26303      +/-   ##
============================================
- Coverage     49.91%   49.13%   -0.79%     
============================================
  Files          3857     3942      +85     
  Lines        135153   137817    +2664     
  Branches      10244    10594     +350     
============================================
+ Hits          67464    67713     +249     
- Misses        65659    68084    +2425     
+ Partials       2030     2020      -10     

☔ View full report in Codecov by Harness.
📢 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.

@maliming
maliming requested a review from EngincanV October 19, 2026 01:01
@EngincanV
EngincanV merged commit 83c6ba8 into rel-10.7 Oct 19, 2026
2 of 4 checks passed
@EngincanV
EngincanV deleted the maliming/runtime-migrator-outbox branch October 19, 2026 06:13
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