Skip to content

fix: refresh MTP hook identity - #75

Merged
ReubenBond merged 1 commit into
mainfrom
rb-fix-mtp-hook-identity
Nov 18, 2026
Merged

ReubenBond merged 1 commit into
mainfrom
rb-fix-mtp-hook-identity

Conversation

@ReubenBond

Copy link
Copy Markdown
Owner

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 48f11fb880f7f6b32fda6eab4fc85e73644abb00

Dimension Assessment Rationale
Change confidence 9.5/10 Debug and Release kernel tests pass, the enabled package smoke suite passes, targeted format verification is clean, and the MTP package packs successfully.
Diagnosis confidence 10/10 The incremental fixture reproduces stale generated registration when TypeFullName changes under the historical GUID and refreshes only after identity rotation.
Evidence fit 9.5/10 The reproduced stale global::Clockwork.Testing... registration matches the reported incremental-cache failure mode; hosted CI is pending.

Summary

  • rotate the renamed MTP builder hook to 2E7C3A6B-6F8D-4F4B-9D52-1A0D7C8E5B93
  • add an incremental MSBuild regression proving same-GUID type changes reuse stale generated registration while a new GUID refreshes it
  • pin the packed and evaluated GUID/type/display-name tuple in package smoke tests
  • document logical simulation affinity: SimulationScheduler.IsSimulationThread is authoritative, caller control-scope entry and SimulationOperationWorker-* continuations can share one logical simulation thread, and managed thread id equality is not a contract
  • add a scheduler test preserving synchronization context, runtime identity, logical affinity, and result across a caller-to-worker yield

Validation

  • Debug Clockwork.Tests: 353 passed
  • Debug packaging tests: 17 passed, 30 smoke-gated skips
  • Release Clockwork.Tests: 353 passed
  • Release packaging tests with ORLEANS_SIMULATION_SMOKE_TESTS=1: 47 passed
  • targeted dotnet format --verify-no-changes
  • dotnet pack for Microsoft.Orleans.Testing.Simulation.Testing.MTP

@ReubenBond
ReubenBond merged commit d1e4926 into main Nov 18, 2026
4 checks passed
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.

1 participant