Skip to content

fix(core): propagate WTM time provider to created data contexts#723

Merged
cct08311github merged 1 commit intodotnet10from
fix/daily-bug-scan-dc-timeprovider-propagation
Mar 22, 2026
Merged

fix(core): propagate WTM time provider to created data contexts#723
cct08311github merged 1 commit intodotnet10from
fix/daily-bug-scan-dc-timeprovider-propagation

Conversation

@cct08311github
Copy link
Owner

Summary

  • propagate WTMContext.TimeProvider to data contexts assigned via WTMContext.DC
  • propagate WTMContext.TimeProvider when contexts are created via WTMContext.CreateDC()
  • propagate WTMContext.TimeProvider in tenant-specific FrameworkTenant.CreateDC() path
  • add regression tests for both setter and tenant context creation propagation

Validation

  • dotnet build test/WalkingTec.Mvvm.Core.Test/WalkingTec.Mvvm.Core.Test.csproj -maxcpucount:1 -nodeReuse:false
  • dotnet test test/WalkingTec.Mvvm.Core.Test/WalkingTec.Mvvm.Core.Test.csproj --filter "TimeProviderPropagationTests" -maxcpucount:1 -nodeReuse:false (blocked in sandbox: SocketException (13) Permission denied during VSTest socket bind)

Closes #722

@cct08311github cct08311github merged commit ef19e81 into dotnet10 Mar 22, 2026
2 of 3 checks passed
@cct08311github cct08311github deleted the fix/daily-bug-scan-dc-timeprovider-propagation branch March 22, 2026 16:11
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.

Bug: propagate WTMContext TimeProvider to created DataContext instances

1 participant