Architecture Decision Record
ADR-016: Lockstep Package Versioning and the MassTransit-v8 Pin
Status
Accepted (2026-07-15). Amended (2026-07-28): the fitness function then gated two commercial-license
majors (MassTransit and SixLabors.ImageSharp; the ImageSharp gate was removed in v1.258.0), so the
decision is restated as the pattern rather than the single pin; the consumer framing is corrected (Store and ADC each declare a
MassTransit.Azure.ServiceBus.Core entry of their own for the Service Bus emulator test tier), as is
the claim that framework-to-app ([C->A]) changes are non-breaking. Amended (2026-08-01): Store now
has its own .github/dependabot.yml (added 2026-07-29) mirroring ADC's, so the trade-off that rested
on Store having no such file is restated, and the ADC MassTransit.Azure.ServiceBus.Core citation is
rebased onto its current lines. Amended (2026-08-14): every Directory.Packages.props citation is
rebased onto its current lines, and the versions are restated per repo (Common is on MassTransit
8.5.10 and was then on SixLabors.ImageSharp 3.1.12, removed in v1.258.0; Store and ADC still declare
MassTransit.Azure.ServiceBus.Core 8.5.5). Amended (2026-08-28): a Transport exit options
section records the three candidates for an eventual move off MassTransit v8 and the one place a
candidate would be tried. Nothing about the pin, the gate or the dependency set changes. See also
ADR-101 (2026-08-29, v1.170.0): the MMCA.Common metapackage releases at
the same version off the same tag like every other package, so it is one more entry a consumer sweeps
in the same pass, and pinning six dependencies at its own version is only safe because of the lockstep
rule decided here. Amended (2026-08-31): Store's and ADC's own MassTransit.Azure.ServiceBus.Core
entries are 8.5.10, the same patch as Common's three MassTransit entries, which supersedes the 8.5.5
figure in the 2026-08-14 entry and retires the note that the app-side entry trailed within v8; the
Directory.Packages.props, DependencyInjection.cs and MessageBusSettings.cs citations are
rebased onto their current lines. The pin, the gate and the dependency set are unchanged.
Amended (2026-09-01): the emulator proving ground named in Transport exit options is authoritative
and deploy-gating in both consumers (ADC on 2026-08-31 as TD-17, Store immediately after), so the
"advisory by design so it can never gate a deploy" clause is restated; its fixture now ships as
ServiceBusEmulatorFixtureBase in MMCA.Common.Testing (v1.178.0), which is why the tier's
MassTransit v8 constraint is enforced in framework code rather than in two copies. The
using MassTransit surface in Transport exit options is recounted from source and restated as
eight files across two packages (the six that reference MassTransit types, plus the two that lower
the emulator's entity-quota defaults), and the MessageBusSettings.cs, IntegrationEventConsumer.cs,
UpcastingIntegrationEventConsumer.cs and Service-Bus-side DependencyInjection.cs citations are
rebased onto their current lines. The pin, the gate and the dependency set are unchanged.
Amended (2026-09-19): the using MassTransit surface in Transport exit options is recounted from
source and restated as nine files across two packages, eight of them in MMCA.Common.Infrastructure
(the added file is Messaging/Consumers/ConsumerOriginRestore.cs, which takes the consume context's
Headers), which supersedes the eight-file figure in the 2026-09-01 entry; the split between
type-referencing and quota-lowering files is corrected, because the emulator pair references
IServiceBusBusFactoryConfigurator and IBusControl in addition to setting the statics, so every
file in the set references a MassTransit type. The pin, the gate and the dependency set are
unchanged, and the three candidates are unchanged.
Revised 2026-10-01: the current-state text and citations are refreshed against source, with the
shared MassTransit patch at 8.5.11 in all three repos; the pin, the gate and the dependency set are
unchanged.
Revised 2026-10-06: the ordered replacement list in Transport exit options is ceded to ADR-118,
which accepted Wolverine first and a raw-SDK adapter second and rejects a commercial v9, so the three
2026-08-28 candidates remain only as the record of the first sketch.
Revised 2026-10-07: the emulator proving ground is restated as a five-day recency gate (a red
nightly blocks a deploy only once the last run green on both broker jobs is stale), and the Store
props and both cross-service-tests.yml anchors are rebased.
Revised 2026-10-21: MMCA.Common #576 tightened the dependabot half of the ImageSharp pin from a
semver-major ignore to a >= 3.2.0 version range (of the two gated packages, only MassTransit keeps
a semver-major ignore), and the record now discloses that source disagrees on whether ImageSharp
3.2.0+ already needs a commercial key (the new dependabot comment) or only v4 does (the fitness
function and the Directory.Packages.props comment); anchors are rebased. That ImageSharp pin,
its gate and its dependabot range were all removed in v1.258.0 (see the 2026-10-25 revision).
Revised 2026-10-25: SixLabors.ImageSharp has left the framework (replaced by SkiaSharp in v1.258.0,
and image processing itself left the framework in v1.259.0), so the ImageSharp gate, its package-id
list and its dependabot ignore are gone and MassTransit below major 9 is the only license-boundary
pin; the ceiling now reads all five MassTransit packages Common pins, on the shared 8.5.12 patch,
and the anchors are rebased.
Revised 2026-10-26: the transport surface in Transport exit options is recounted as fifteen
files across four packages and the trial point is restated as an IBrokerTransport registered
through AddBrokerTransport beside four broker transports, replacing the retired
MessageBusProvider switch; anchors are rebased after v1.261.0.
Revised 2026-10-28: Decision 3 now says MassTransit* is the only license-motivated dependabot
ignore among five semver-major ignores, and ADC's emulator-tier comment names 8.5.12 in agreement
with its entry; anchors refreshed after v1.265.1.
Revised 2026-11-23: Decision 3 now lists seven other semver-major dependabot ignores (MessagePack
is no longer ignored; Firebase.Messaging, EF Core, Data.Sqlite and Npgsql are), with MassTransit*
still the only license-motivated one; anchors refreshed after the consumers moved to 1.315.0.
Amended (2026-11-23): MassTransit leaves the workspace
(ADR-118, Amendment 2026-11-23), so the MassTransit pin, its
MassTransit_MustNotExceed_MajorVersion8 gate and the Transport exit options section become
history: the gate is replaced by a ban on any MassTransit* reference, and the dependabot ignore for
MassTransit* goes with the last pin. The lockstep rule itself is unchanged, and the cutover ships as one
MMCA.Common release swept into every consumer under it.
Amended (2026-11-24): MinVer leaves the build (MMCA.Common 1.318.0). The lockstep version is still the
vX.Y.Z tag, now passed to the release build and pack explicitly, and every other build carries the
0.0.0-dev placeholder; the Microsoft.OpenApi semver-major dependabot ignore Decision 3 lists is gone
with the direct reference. See Amendment (2026-11-24) at the end.
Context
MMCA.Common publishes its MMCA.Common.* NuGet package set (see FACTS.md for the authoritative
list and count) consumed by three downstream repos: the two
production apps (Store, ADC) and the reference seed Helpdesk (which defaults to local-source mode but
declares the same MMCA.Common.* package versions in its own Directory.Packages.props).
Two related governance questions had no recorded answer:
- How do the packages version and roll out? Independent per-package versions invite a
combinatorial compatibility matrix ("which
.Domainworks with which.Infrastructure?"), and a phased / opt-in rollout across consumers invites long-lived version skew between the apps and the framework. - Can dependencies float? A routine "update all NuGet packages" sweep repeatedly pulled
MassTransitto v9, which requires a commercial license (MT_LICENSE) and crashes every broker-enabled service at startup.
Decision
Version the whole
MMCA.Common.*package set in lockstep. All packages share one version (MinVer, derived from a singlevX.Y.Zgit tag); a release tags every package (seeFACTS.mdfor the authoritative list and count) at the same version. SemVer and the breaking-change policy live incommon-VERSIONING.mdindocs-src/guides/.Sweep every consumer in one pass, with no phased rollout. A framework change ships and all consumers bump every
MMCA.Common.*entry in theirDirectory.Packages.propstogether. The two production apps (Store, ADC) now commit NuGet lock files (RestorePackagesWithLockFile, R7/TD-01), so each one's sweep is a version bump plus a restore that regenerates its lock files (the sameaudit=all/--force-evaluatemechanics Common already uses); Helpdesk, which defaults to local-source mode, keeps no lock files. What makes the one-pass sweep safe is not that framework-to-app ([C->A]) changes are non-breaking: breaking changes ship deliberately, as MINOR bumps, and the version number is therefore not a breakage signal on its own (Website/docs-src/guides/common-VERSIONING.md:49-56). It is safe because every first-party caller moves in the same change set, an API removal is proven against Helpdesk's source build first (common-VERSIONING.md:73-74), and there is no[Obsolete]grace period to keep in step (common-VERSIONING.md:76-82).Pin a commercial-license dependency below its paid major, enforced by a fitness function.
DependencyVersionTestsBaseparsesDirectory.Packages.propsand fails the build when a pinned package reaches the major where its licensing changes (ADR-015), and the same major is mirrored as a dependabot ignore so the bump is never even proposed. MassTransit is the instance that applies today, and the only one: every MassTransit package Common pins stays below major 9 (v9 demandsMT_LICENSEat startup, so every broker-enabled host crashes without one). The gate reads five package ids,MassTransit,MassTransit.RabbitMQ,MassTransit.Azure.ServiceBus.Core,MassTransit.AmazonSQSandMassTransit.SqlTransport.PostgreSQL, against an exclusive ceiling of 9 (MMCA.Common/Source/Hosting/MMCA.Common.Testing.Architecture/Bases/Governance/DependencyVersionTestsBase.cs:16-41, the list at:18-25, the test at:27-40, the ceiling at:34). All five are pinned on 8.5.12 under the v8 comment (MMCA.Common/Directory.Packages.props:182-187, the entries at:188-190,:193and:199), and dependabot ignores everyMassTransit*semver-major update (MMCA.Common/.github/dependabot.yml:60-63). SixLabors.ImageSharp was a second instance (gated below major 4) until v1.258.0, which removed the package, its fitness test and its package-id list (MMCA.Common/CHANGELOG.md:1035, under the 1.258.0 heading at:1031); its dependabot ignore is gone too, leavingMassTransit*as the only license-motivated package ignore underignore:(MMCA.Common/.github/dependabot.yml:59-63). The six other semver-major ignores there,Microsoft.VisualStudio.Threading.Analyzers(:67-68),StackExchange.Redis(:78-79),Xamarin.Firebase.Messaging(:83-84),Microsoft.EntityFrameworkCore*(:94-95),Microsoft.Data.Sqlite(:96-97) andNpgsql*(:101-102), hold back breaking, build-constrained, NU1608 or NU1202 majors and have no fitness test;Xamarin.AndroidX.Biometricis held by a version range, not a semver-major ignore (:85-86). See the 2026-10-25 revision.The assertions run in MMCA.Common only, the one repo that subclasses the base (
MMCA.Common/Tests/Architecture/MMCA.Common.Architecture.Tests/Governance/DependencyVersionTests.cs:9). Helpdesk declares no MassTransit package. Store and ADC takeMassTransit,MassTransit.RabbitMQandMassTransit.SqlTransport.PostgreSQLtransitively throughMMCA.Common.Infrastructure(MMCA.Common/Source/Core/MMCA.Common.Infrastructure/MMCA.Common.Infrastructure.csproj:49-50,:54), andMassTransit.Azure.ServiceBus.CorethroughMMCA.Common.AzureandMMCA.Common.Testing.Azure(MMCA.Common/Source/Hosting/MMCA.Common.Azure/MMCA.Common.Azure.csproj:27,MMCA.Common/Source/Hosting/MMCA.Common.Testing.Azure/MMCA.Common.Testing.Azure.csproj:21), which both declare (MMCA.ADC/Directory.Packages.props:178,:183,MMCA.Store/Directory.Packages.props:37-38). Each also declares one MassTransit entry of its own:MassTransit.Azure.ServiceBus.Core8.5.12 for the Service Bus emulator test tier, carrying a comment that names Common's lockstep v8 pin (MMCA.ADC/Directory.Packages.props:112-117,MMCA.Store/Directory.Packages.props:110-115). Common's own MassTransit entries are on that same 8.5.12 (MMCA.Common/Directory.Packages.props:188-190), so all three repos sit on one patch version. Alignment there is a convention the app-side comments carry, not something the gate enforces: Store's comment names the lockstep pin without a patch number (MMCA.Store/Directory.Packages.props:111-112), so it holds across patch bumps, while ADC's names the patch, 8.5.12, matching its 8.5.12 entry today but due for a hand edit on every patch bump (MMCA.ADC/Directory.Packages.props:113,:117). What the pin governs, and what the fitness function reads, is the major, so an app-side entry on a different v8 patch would still be inside the decision. They still do not subclass the test: its default list also names the four package ids they do not declare, and the rule fails on a pin it cannot find (MMCA.Common/Source/Hosting/MMCA.Common.Testing.Architecture/Rules/Governance/ArchitectureRules.Governance.cs:42-45).
Rationale
- One version, one compatibility story. Lockstep removes the N-package matrix: "everything on
vX.Y.Z" is the only supported combination, which is the right trade for a small team. - No skew. Sweeping all consumers at once keeps the framework and both apps converged rather than drifting across releases.
- A license pin is a build gate, not a comment. A blanket "update all packages" sweep does not read license terms. It pulled MassTransit to v9 once already, and because CI never starts a broker the build stayed green while every host was primed to crash at startup. What stops it is the pair: the dependabot ignore keeps the proposal from being raised, and the fitness function catches it when a hand edit raises it to the gated major anyway (which is exactly the invariant-over-discipline posture of ADR-015). The gate reads majors only, so a license line drawn inside a major would need more than this pair.
Trade-offs
- A consumer cannot adopt a single package in isolation: it takes the whole set at the new version.
- Lockstep will bump a package whose code did not change (acceptable: the version means "compatible with this set," not "this package changed").
- The pin forgoes the newer major (MassTransit v9) until a licensing decision is made; bumping it is a deliberate, multi-step change, not a one-line version edit.
- The gate reads MMCA.Common's
Directory.Packages.propsand nothing else, so theMassTransit.Azure.ServiceBus.Coreentry Store and ADC each declare for their emulator tier sits outside its reach. What holds those two at v8 is that neither repo lets dependabot touch NuGet at all: each carries adependabot.ymlscoped to the github-actions and docker ecosystems only (MMCA.ADC/.github/dependabot.yml:7,:28,MMCA.Store/.github/dependabot.yml:15,:32), whose own comment says NuGet is deliberately excluded becauseMMCA.Common.*bumps happen solely through this ADR's lockstep sweep and MassTransit must stay v8 (MMCA.ADC/.github/dependabot.yml:1-4,MMCA.Store/.github/dependabot.yml:6-8, the latter added 2026-07-29), plus review.
Transport exit options
The ordered list of what replaces MassTransit is owned by ADR-118 (Accepted 2026-09-11), which is the later decision and supersedes the candidate list below wherever the two differ: its decision 4 fixes the replacement order as Wolverine first and a raw-SDK adapter second, and its decision 5 rejects a commercial MassTransit v9 outright. This section keeps the surface inventory, the trial point and the proving ground, which ADR-118 relies on, and records the 2026-08-28 candidates as they were first sketched.
The pin has a horizon. MassTransit v8 is the free major and its community support ends at the end of 2026 (a maintainer statement about the package, not something this repository can assert), so "stay on v8" is a decision with an expiry rather than a permanent one. Nothing changes today; the candidates are recorded now so the eventual move is a comparison and not a scramble.
What makes any of them a bounded change is where MassTransit actually sits. The whole
using MassTransit surface is fifteen files across four packages (seventeen directives, because
Messaging/Consumers/FaultIntegrationEventConsumer.cs:1-2 and
Messaging/Transports/PostgreSqlBrokerTransport.cs:1-2 carry two each). Eleven are in
MMCA.Common.Infrastructure: Source/Core/MMCA.Common.Infrastructure/DependencyInjection.Messaging.cs:2,
Messaging/BrokerMessageBus.cs:2, Messaging/Consumers/IntegrationEventConsumer.cs:1,
Messaging/Consumers/IntegrationEventConsumerExtensions.cs:2,
Messaging/Consumers/UpcastingIntegrationEventConsumer.cs:3,
Messaging/Consumers/FaultIntegrationEventConsumer.cs:1,
Messaging/Consumers/ConsumerOriginRestore.cs:2, Messaging/Transports/IBrokerTransport.cs:1,
Messaging/Transports/BrokerTransportPolicies.cs:1, Messaging/Transports/RabbitMqBrokerTransport.cs:1
and Messaging/Transports/PostgreSqlBrokerTransport.cs:1. MMCA.Common.Azure has two,
Source/Hosting/MMCA.Common.Azure/Messaging/AzureServiceBusTransport.cs:2 and
Messaging/ServiceBusEmulatorSupport.cs:4; MMCA.Common.Aws has one,
Source/Hosting/MMCA.Common.Aws/Messaging/AmazonSqsTransport.cs:6; and MMCA.Common.Testing.Azure
has one, Source/Hosting/MMCA.Common.Testing.Azure/Fixtures/ServiceBusEmulatorFixtureBase.cs:5.
ServiceBusEmulatorSupport.cs and ServiceBusEmulatorFixtureBase.cs are the emulator pair, and
they sit on different sides: ServiceBusEmulatorSupport.cs ships in the MMCA.Common.Azure
adapter and the transport itself calls it for an emulator connection string when no namespace is
configured (the namespace branch at AzureServiceBusTransport.cs:81-84 wins), the development-stack
path (AzureServiceBusTransport.cs:85-93), while ServiceBusEmulatorFixtureBase.cs is the test
tier in MMCA.Common.Testing.Azure. Each one lowers the process-global
MassTransit.AzureServiceBusTransport.Defaults entity quotas the emulator rejects
(ServiceBusEmulatorSupport.cs:115-117, ServiceBusEmulatorFixtureBase.cs:74-76), a v8 constraint
that moves with the Azure transport package and with the test fixture. Every one of the fifteen references a MassTransit
type, so none of them is an unused import: IConsumer<T>, ConsumeContext<T>,
IPublishEndpoint and IBusRegistrationConfigurator across the transport-side files (the last one
is the parameter of IBrokerTransport.Configure, Messaging/Transports/IBrokerTransport.cs:41),
IBusFactoryConfigurator in the shared receive policies
(Messaging/Transports/BrokerTransportPolicies.cs:37), plus Fault<T>
(IConsumer<Fault<TEvent>> at FaultIntegrationEventConsumer.cs:39) and an explicit implementation of
IEndpointRegistrationConfigurator (IntegrationEventConsumerExtensions.cs:189), where
ConsumerOriginRestore takes the consume context's Headers
(Messaging/Consumers/ConsumerOriginRestore.cs:35); the emulator pair adds
IServiceBusBusFactoryConfigurator (ServiceBusEmulatorSupport.cs:87) and IBusControl
(ServiceBusEmulatorFixtureBase.cs:68) on top of the quota statics.
Application, Domain and Shared never reference it:
IMessageBus is the Application-layer abstraction
(MMCA.Common/Source/Core/MMCA.Common.Application/Messaging/IMessageBus.cs:29) and
BrokerMessageBus is its only broker implementation (BrokerMessageBus.cs:44), which is the
boundary ADR-008's MicroserviceExtractionTests already keep enforced.
Three candidates as first sketched, none implemented and none evaluated against a running broker here (ADR-118 decision 5 has since rejected candidate 2, and its decision 4 ranks a raw-SDK adapter, the shape of candidate 3, second behind Wolverine):
- The OpenTransit community fork of MassTransit v8. Cheapest on paper, a package id swap under
the same API. No repo in this workspace references it, and the part that would decide it is Azure
Service Bus parity, since production runs Service Bus while local runs RabbitMQ
(
Messaging/Transports/RabbitMqBrokerTransport.cs:24,MMCA.Common/Source/Hosting/MMCA.Common.Azure/Messaging/AzureServiceBusTransport.cs:79). Its release status and its parity are external facts this record cannot verify and does not assert. - A commercial MassTransit v9 license. The straight-line option: the pin exists only because v9
demands
MT_LICENSEat startup and every broker-enabled host crashes without it (MMCA.Common/Directory.Packages.props:183-187). A license retires the gate rather than routing around it, at a recurring cost. - A direct
Azure.Messaging.ServiceBusimplementation ofIMessageBus. The largest and the most owned. Publishing is one class (BrokerMessageBus.cs:44), but the consume side is where the library earns its keep: three consumers rideIConsumer<T>(IntegrationEventConsumer.cs:42,UpcastingIntegrationEventConsumer.cs:36,FaultIntegrationEventConsumer.cs:39) and the transport wiring supplies exponential in-process retry plus second-level delayed redelivery (both inMessaging/Transports/BrokerTransportPolicies.cs,UseDelayedRedeliveryat:65and the exponential retry at:85, the two-level argument at:11-22; on RabbitMQ the redelivery half is opt-in behindEnableDelayedRedelivery, off by default,Messaging/Transports/RabbitMqBrokerTransport.cs:33andMessaging/MessageBusSettings.cs:206, while on Service Bus it is unconditional,AzureServiceBusTransport.cs:99), all of which would be hand-written. It also drops RabbitMQ, which the local Aspire stack provisions.
The trial point is the same for all three and it is additive: a new IBrokerTransport registered
through AddBrokerTransport
(MMCA.Common/Source/Core/MMCA.Common.Infrastructure/DependencyInjection.Messaging.cs:159) before
AddBrokerMessaging, which ResolveBrokerTransport (:188) finds by its provider name after the
two built-in branches (IsRabbitMq at :190, IsPostgreSql at :195), throwing when no transport
by that name is registered (:219-220). The built-in provider names are string constants in
Messaging/Transports/MessageBusProviders.cs (InProcess, RabbitMq and PostgreSql at :16,
:19 and :27); an adapter transport carries its own name (AzureServiceBus is
AzureServiceBusTransport.ProviderName,
MMCA.Common/Source/Hosting/MMCA.Common.Azure/Messaging/AzureServiceBusTransport.cs:29), and
MessageBusProviders only maps the two adapter names to their packages for the registration error,
AzureServiceBus to MMCA.Common.Azure and AmazonSqs to MMCA.Common.Aws (:37-38). So a candidate ships beside the four existing broker transports (RabbitMQ and
PostgreSQL built in, Azure Service Bus and Amazon SQS as adapters) instead of replacing any, and a
consumer opts in by configuration. The two artifacts that move
with a decision are the pin
(MMCA.Common/Directory.Packages.props:182-187, the five entries at :188-190, :193 and :199)
and the fitness function that reads it
(MMCA.Common/Source/Hosting/MMCA.Common.Testing.Architecture/Bases/Governance/DependencyVersionTestsBase.cs:18-25,
the major ceiling at :27-40), plus the dependabot ignore they are paired with
(MMCA.Common/.github/dependabot.yml:60-63).
A proving ground already exists: both consumers' nightlies run an Azure Service Bus emulator smoke
against their real integration-event contracts, and the tier is authoritative rather than advisory
(MMCA.ADC/.github/workflows/cross-service-tests.yml:146, the gating rationale at :120-130,
and the equivalent servicebus-emulator-smoke job in
MMCA.Store/.github/workflows/cross-service-tests.yml:146, rationale at :126-140; the deploy-side
halves are recorded in ADR-066 and ADR-064). The deploy gate is a recency gate, not a per-run one:
cross-service-freshness requires the cross-service and servicebus-emulator-smoke jobs to have
both succeeded in one completed run of cross-service-tests.yml (whatever triggered it, so a
dispatched green run counts too) within window-days: '5'
(MMCA.ADC/.github/workflows/deploy.yml:1282-1303, window at :1295, same-run at :1300;
MMCA.Store/.github/workflows/deploy.yml:1042-1063, window at :1055, same-run at :1060).
The proof's age is floored to whole days and the gate fails only when that age exceeds the window
(MMCA.Common/.github/actions/freshness-gate/action.yml:25-26, :143-145), so a red nightly blocks
a deploy only once the last run green on both jobs is six or more whole days old.
Any transport candidate has somewhere to be exercised that is not production.
Alternatives rejected
- Opt-in flags and compatibility shims for a framework change, with consumers upgraded per page or
per PR. Declined outright: no
virtualopt-in properties, no parallel old and new code paths, no sequencing that leaves a consumer half upgraded. The rejection was made concrete against a proposedUseQueryStringStateflag onDataGridListPageBase, which would have kept unconverted pages working until each was migrated; every consumer page in MMCA.ADC and MMCA.Store was updated in the same change instead. What removes the usual reason to phase a sweep is thelocal.propssource-mapping path, which makes a lockstep cross-repo change practical without a NuGet publish round trip. A half-upgraded codebase is the cost this record is spending lockstep releases to avoid, so re-introducing one per feature would defeat the decision above.
Revision (2026-10-01)
No decision, pin, gate or rationale changed: MassTransit stays below major 9 and ImageSharp below
major 4, and every repo still sits on one MassTransit patch. The current-state text is refreshed to
match source. The shared patch is now 8.5.11 in all three repos
(MMCA.Common/Directory.Packages.props:128-130, MMCA.ADC/Directory.Packages.props:65,
MMCA.Store/Directory.Packages.props:93), and Store's emulator-tier comment, which named 8.5.10, now names the pin
without a patch number (MMCA.Store/Directory.Packages.props:89-90). MMCA.Common.Infrastructure references all three
MassTransit packages, so MassTransit.Azure.ServiceBus.Core also flows transitively
(MMCA.Common.Infrastructure.csproj:50-52). The Store and ADC dependabot.yml files now also
manage the docker ecosystem, still excluding NuGet (MMCA.ADC/.github/dependabot.yml:28,
MMCA.Store/.github/dependabot.yml:32). The transport wiring lives in
DependencyInjection.Messaging.cs, and RabbitMQ second-level redelivery is opt-in behind
EnableDelayedRedelivery (default false), while Service Bus applies it unconditionally
(DependencyInjection.Messaging.cs:246-251, :277). The Directory.Packages.props,
dependabot.yml, MMCA.Common.Infrastructure.csproj, BrokerMessageBus.cs, consumer,
MessageBusSettings.cs, cross-service-tests.yml and common-VERSIONING.md citations are
rebased onto their current lines; the nine-file using MassTransit count is unchanged.
Revision (2026-10-06)
- Transport exit options and Related now cede the ordered replacement list to ADR-118 (Accepted 2026-09-11; decision 4 orders Wolverine first and a raw-SDK adapter second, decision 5 rejects a commercial v9), replacing the claim that the two lists are unreconciled and that neither was adopted. The three 2026-08-28 candidates stay as the record of the first sketch. The pin, the gate and the dependency set are unchanged.
- The MassTransit type list for the transport-side files now also names
Fault<T>(FaultIntegrationEventConsumer.cs:27) and the explicitIEndpointRegistrationConfiguratorimplementation (IntegrationEventConsumerExtensions.cs:189), which matter when sizing a hand-written adapter. - Facts recorded in the 2026-10-01 revision now sit at: the three MassTransit entries
MMCA.Common/Directory.Packages.props:124-126, theMMCA.Common.Infrastructure.csprojreferences at:52-54, and the redelivery posture inDependencyInjection.Messaging.cs:252-257, with the RabbitMQEnableDelayedRedeliverygate at:283. - Every live-section anchor (
Directory.Packages.props,MMCA.Common.Infrastructure.csproj,DependencyInjection.Messaging.cs,IntegrationEventConsumerExtensions.cs,ConsumerOriginRestore.cs) was re-verified against current source and rebased where it had moved.
Revision (2026-10-07)
Re-verified against current source. The pin, the gate and the dependency set are unchanged:
MassTransit stays below major 9, ImageSharp below major 4, and all three repos sit on MassTransit
8.5.11 (MMCA.Common/Directory.Packages.props:124-126, MMCA.ADC/Directory.Packages.props:65,
MMCA.Store/Directory.Packages.props:89). The gate itself did not change (window-days: '5' with
required-jobs-mode: same-run was already in place); what changed is this record's description
of it, plus anchors moved by the 2026-10-07 workflow pruning in MMCA.ADC #258 and MMCA.Store #197.
- Transport exit options no longer says a transport regression blocks the next deploy. The
cross-service-freshnessstep is a recency gate: it passes on the newest completed run ofcross-service-tests.yml(any trigger, so a dispatched green run counts) in whichcross-serviceandservicebus-emulator-smokeboth succeeded withinwindow-days: '5'(MMCA.ADC/.github/workflows/deploy.yml:883-888,MMCA.Store/.github/workflows/deploy.yml:838-843), with the age floored to whole days and compared as greater-than (MMCA.Common/.github/actions/freshness-gate/action.yml:25-26,:143-145), so a red nightly blocks a deploy only once that last proving run is six or more whole days old (MMCA.ADC/.github/workflows/deploy.yml:867,MMCA.Store/.github/workflows/deploy.yml:824). - Anchors rebased after MMCA.ADC #258 and MMCA.Store #197 (both "ci: prune unneeded workflow jobs
and steps", 2026-10-07) shifted them: Store's emulator-tier comment block
MMCA.Store/Directory.Packages.props:84-87(the patch-agnostic pin sentence at:85-86) and its entry at:89, previously:88-90and:93; the ADCservicebus-emulator-smokejobMMCA.ADC/.github/workflows/cross-service-tests.yml:142with its AUTHORITATIVE (TD-17) rationale at:116-126, previously:159and:132-143; the Store jobMMCA.Store/.github/workflows/cross-service-tests.yml:141with its rationale at:121-135, previously:160and:140-154. The ADC comment and entryMMCA.ADC/Directory.Packages.props:60-65are unchanged. The earlier anchors were exact when the 2026-10-01 and 2026-10-06 revisions recorded them.
Revision (2026-10-21)
Re-verified against current source. The pin, the gate and the dependency set are unchanged:
MassTransit stays below major 9 and ImageSharp below major 4 in the fitness function, and all three
repos sit on MassTransit 8.5.11 (MMCA.Common/Directory.Packages.props:124-126,
MMCA.ADC/Directory.Packages.props:65, MMCA.Store/Directory.Packages.props:92). What moved is the
dependabot half of the ImageSharp pin: MMCA.Common #576 (2026-10-21) replaced its semver-major
ignore with a version range and rewrote its comment, so the record follows, plus anchors.
- Decision 3 no longer says each gated package is mirrored as a dependabot major-update ignore,
which was accurate until #576. Of the two gated packages only MassTransit still is
(
update-types: ["version-update:semver-major"],MMCA.Common/.github/dependabot.yml:59-60); ImageSharp is now ignored by the version range>= 3.2.0(:64-65), which tightens the dependabot side from v3 to 3.1.x and is tighter than the major-4 gate. - Decision 3 now discloses that source is internally inconsistent about ImageSharp licensing:
MMCA.Common/.github/dependabot.yml:61-63says 3.2.0+ already requires a commercial key at build time, whileDependencyVersionTestsBase.cs:43and:58-59,MMCA.Common/Directory.Packages.props:134-138andMMCA.Common/Directory.Build.props:35-36,:45place the licensing line at v4, and the gate checks only major below 4 (:55). The HELD comment (Directory.Packages.props:141-143) treats the Split License as within the commercial-package exclusion. The record states these and does not adjudicate; which is right is an external licensing fact. Under the dependabot reading, a hand edit to 3.2.x passes the gate and is stopped by the build itself, not by the dependabot range, and Rationale now says the gate reads majors only. - Anchors re-verified against current source:
DependencyVersionTestsBase.csclass at:16-62, the MassTransit package-id list at:18-23and the major ceiling at:25-38(previously:17-60,:17-22,:24-37); the threeMMCA.Common.Infrastructure.csprojMassTransit references at:55-57(previously:52-54); Store's emulator-tier comment and entry atMMCA.Store/Directory.Packages.props:87-92with the patch-agnostic pin sentence at:88-89(previously:84-89and:85-86); thecross-service-freshnessstep atMMCA.ADC/.github/workflows/deploy.yml:885-906(window:898,same-run:903) andMMCA.Store/.github/workflows/deploy.yml:827-848(window:840,same-run:845), previously:883-888and:838-843. The freshness-gate floor and comparison (MMCA.Common/.github/actions/freshness-gate/action.yml:25-26,:143-145) are unchanged.
Revision (2026-10-25, ImageSharp leaves the framework)
Re-verified against current source (MMCA.Common main at v1.260.0, MMCA.ADC and MMCA.Store main).
The MassTransit ceiling is unchanged: every MassTransit package Common pins stays below major 9, and
all three repos sit on MassTransit 8.5.12 (MMCA.Common/Directory.Packages.props:125-127, :130,
:136, MMCA.ADC/Directory.Packages.props:73, MMCA.Store/Directory.Packages.props:97). What moved
is the second instance of the pattern, which no longer exists.
- SixLabors.ImageSharp is gone from the framework. v1.258.0 (MMCA.Common #603) moved image
normalization from ImageSharp to SkiaSharp (MIT) and removed, with the package,
DependencyVersionTestsBase.ImageSharp_MustNotExceed_MajorVersion3,ImageSharpPackageIdsand the five ImageSharpNuGetAuditSuppressentries (MMCA.Common/CHANGELOG.md:23,MMCA.Common/UPGRADING.md:67-68). The dependabot ignore went with it: the only package-specific license ignore left isMassTransit*(MMCA.Common/.github/dependabot.yml:57-60), andMMCA.Common/Directory.Build.props:33-36now says no NuGet advisory is accepted. v1.259.0 (MMCA.Common #608) then removed image processing from the framework altogether, SkiaSharp included, because its native libraries were copied into every project referencingMMCA.Common.Infrastructureand ran consumer CI runners out of disk (MMCA.Common/CHANGELOG.md:17). - Decision 3, Rationale and Trade-offs therefore name MassTransit as the only gated package. The general rule is unchanged: a license-boundary major is pinned with a fitness test plus a dependabot ignore. The licensing inconsistency the 2026-10-21 revision disclosed (whether ImageSharp 3.2.0+ or only v4 needed a key) is moot with the package gone, so Decision 3 no longer carries it.
- The MassTransit gate itself widened in v1.258.0:
MassTransitPackageIdsnow also listsMassTransit.AmazonSQSandMassTransit.SqlTransport.PostgreSQL, so it reads five ids (DependencyVersionTestsBase.cs:18-25;MMCA.Common/CHANGELOG.md:33). The base class now spans:16-41, the test:27-40, the ceiling:34(previously:16-62,:18-23,:25-38). Store and ADC still declare none of the other four ids, so Context now says four. - Context anchors rebased.
MMCA.Common.Infrastructure.csprojreferencesMassTransitandMassTransit.RabbitMQat:48-49andMassTransit.SqlTransport.PostgreSQLat:53(previously three MassTransit references at:55-57);MassTransit.Azure.ServiceBus.Corenow flows fromMMCA.Common.Azure.csproj:28andMMCA.Common.Testing.Azure.csproj:21. The pin comment is atMMCA.Common/Directory.Packages.props:119-124(previously:119-123), its entries at:125-127(previously:124-126); the ADC emulator-tier comment and entry atMMCA.ADC/Directory.Packages.props:68-73(previously:60-65), Store's atMMCA.Store/Directory.Packages.props:92-97with the patch-agnostic sentence at:93-94(previously:87-92and:88-89).
Revision (2026-10-26)
Re-verified against current source (MMCA.Common main at v1.261.0, MMCA.ADC and MMCA.Store main).
The pin, the gate and the dependency set are unchanged, and so are the three candidates and their
ordering under ADR-118. What moved is the shape of the transport layer this record inventories: the
broker transports now sit behind an IBrokerTransport extension point with Azure Service Bus and
Amazon SQS shipped as adapter packages, so Transport exit options is restated.
- The
using MassTransitsurface is now fifteen files across four packages (eleven inMMCA.Common.Infrastructure, two inMMCA.Common.Azure, one inMMCA.Common.Aws, one inMMCA.Common.Testing.Azure), which supersedes the nine-file, two-package figure. The four added Infrastructure files areMessaging/Transports/IBrokerTransport.cs:1,BrokerTransportPolicies.cs:1,RabbitMqBrokerTransport.cs:1andPostgreSqlBrokerTransport.cs:1;AzureServiceBusTransport.cs:1andAmazonSqsTransport.cs:6are the adapters; the emulator pair moved toMMCA.Common.Azure/Messaging/ServiceBusEmulatorSupport.cs:4andMMCA.Common.Testing.Azure/Fixtures/ServiceBusEmulatorFixtureBase.cs:5. Application, Domain and Shared still reference no MassTransit type. - The trial point is no longer a new case in a
MessageBusProviderswitch insideConfigureBrokerTransport(neither exists): it is anIBrokerTransportregistered throughAddBrokerTransport(DependencyInjection.Messaging.cs:159) and resolved by provider name inResolveBrokerTransport(:188, built-in branches:190and:195, the throw at:219-220), with the built-in provider names as string constants inMessaging/Transports/MessageBusProviders.cs(:16,:19,:27) and each adapter carrying its own (AzureServiceBusTransport.cs:19). A candidate now ships beside four broker transports, not two. - Candidate 3's retry and redelivery description now points at the shared policy class
(
BrokerTransportPolicies.cs:11-22,:65,:85) and the per-transport switch (RabbitMqBrokerTransport.cs:33opt-in behindEnableDelayedRedelivery,MessageBusSettings.cs:206, default false;AzureServiceBusTransport.cs:52unconditional). The opt-in versus unconditional semantics are unchanged. - Anchors re-verified against current source:
Fault<T>atFaultIntegrationEventConsumer.cs:39(previously:27); candidate 1's RabbitMQ and Service Bus wiring atRabbitMqBrokerTransport.cs:24andAzureServiceBusTransport.cs:33(previouslyDependencyInjection.Messaging.cs:271,:302); the ImageSharp removal in Decision 3 atMMCA.Common/CHANGELOG.md:55(previously:23, before the 1.261.0 entry landed on top); thecross-service-freshnessstep atMMCA.ADC/.github/workflows/deploy.yml:886-907(window:899,same-run:904) andMMCA.Store/.github/workflows/deploy.yml:828-849(window:841,same-run:846), previously:885-906and:827-848. Unchanged:IntegrationEventConsumer.cs:42,UpcastingIntegrationEventConsumer.cs:36,IntegrationEventConsumerExtensions.cs:189,ConsumerOriginRestore.cs:35,BrokerMessageBus.cs:43,IMessageBus.cs:28,ServiceBusEmulatorSupport.cs:87,:115-117andServiceBusEmulatorFixtureBase.cs:68,:74-76.
Revision (2026-10-28)
Re-verified against current source (MMCA.Common, MMCA.ADC and MMCA.Store main, consumers on
1.265.1). The pin, the gate and the dependency set are unchanged: the one gated test is
MassTransit_MustNotExceed_MajorVersion8 over five package ids with an exclusive ceiling of 9
(DependencyVersionTestsBase.cs:18-25, :27-40, :34), and all three repos sit on MassTransit
8.5.12 (MMCA.Common/Directory.Packages.props:125-127, :130, :136,
MMCA.ADC/Directory.Packages.props:73, MMCA.Store/Directory.Packages.props:97). What moved is two
statements of fact in Decision and a set of anchors.
- Decision 3 no longer says
MassTransit*is the only package ignore underignore:.MMCA.Common/.github/dependabot.yml:56lists five semver-major ignores:MassTransit*(:59-60),Microsoft.VisualStudio.Threading.Analyzers(:64-65),Microsoft.OpenApi(:72-73),StackExchange.Redis(:76-77) andMessagePack(:78-79).MassTransit*is the only license-motivated one and the only one paired with a fitness test, which is how the 2026-10-25 revision already worded it; Decision 3 now uses that wording. - Decision 3 no longer says ADC's emulator-tier comment names 8.5.11 above an 8.5.12 entry. The
comment now reads "matches MMCA.Common's lockstep MassTransit 8.5.12 pin"
(
MMCA.ADC/Directory.Packages.props:69) above the 8.5.12 entry (:73), so the two agree. It still carries a patch number, unlike Store's (MMCA.Store/Directory.Packages.props:93-94), and the gate still reads only Common's props, so alignment remains a convention. - Anchors re-verified against current source: the
MMCA.Common.Infrastructure.csprojreferencesMassTransitandMassTransit.RabbitMQat:52-53andMassTransit.SqlTransport.PostgreSQLat:57(previously:48-49and:53); the ImageSharp removal atMMCA.Common/CHANGELOG.md:98, under the 1.258.0 heading at:94(previously:55). Unchanged:MMCA.Common.Azure.csproj:28,MMCA.Common.Testing.Azure.csproj:21,MMCA.Common/Directory.Packages.props:119-124,MMCA.ADC/Directory.Packages.props:68-73,:128-129,MMCA.Store/Directory.Packages.props:17-18,:92-97,DependencyVersionTests.cs:9andArchitectureRules.Governance.cs:42-45. The CHANGELOG and UPGRADING anchors inside the 2026-10-25 and 2026-10-26 revisions are left as recorded.
Revision (2026-11-23)
Re-verified against current source (MMCA.Common main, MMCA.ADC and MMCA.Store main, consumers on
1.315.0). The pin, the gate and the dependency set are unchanged: MassTransit_MustNotExceed_MajorVersion8
still reads five package ids against an exclusive ceiling of 9 (DependencyVersionTestsBase.cs:18-25,
:27-40, :34), and all three repos sit on MassTransit 8.5.12
(MMCA.Common/Directory.Packages.props:188-190, :193, :199,
MMCA.ADC/Directory.Packages.props:117, MMCA.Store/Directory.Packages.props:115). What moved is
one statement of fact in Decision and a set of anchors.
- Decision 3 no longer says there are four other semver-major ignores including
MessagePack.MessagePackis no longer underignore:(MMCA.Common/.github/dependabot.yml:59). The seven other semver-major ignores areMicrosoft.VisualStudio.Threading.Analyzers(:67-68),Microsoft.OpenApi(:75-76),StackExchange.Redis(:78-79),Xamarin.Firebase.Messaging(:83-84),Microsoft.EntityFrameworkCore*(:94-95),Microsoft.Data.Sqlite(:96-97) andNpgsql*(:101-102), eight withMassTransit*(:62-63);Xamarin.AndroidX.Biometricis a version-range ignore (>= 1.1.0.31,:85-86), not a semver-major one. Every other comment gives a build-constraint, breaking-change, NU1608 or NU1202 reason, soMassTransit*is still the only license-motivated ignore and the only one paired with a fitness test. - Transport exit options is unchanged in substance. Both consumers'
cross-service-freshnesssteps still requirecross-serviceandservicebus-emulator-smokein the same run withinwindow-days: '5', and both now reference the shared composite action pinned at a commit SHA tagged v1.313.0 (MMCA.ADC/.github/workflows/deploy.yml:1289,MMCA.Store/.github/workflows/deploy.yml:1049) rather than a branch. - Anchors re-verified against current source: the pin header and v8 comment at
MMCA.Common/Directory.Packages.props:182-187(MT_LICENSEat:185), entries at:188-190,:193,:199(previously:119-124,:125-127,:130,:136); the dependabotignore:atMMCA.Common/.github/dependabot.yml:59andMassTransit*at:60-63(previously:56,:57-60);MMCA.Common.Infrastructure.csproj:49-50,:54(previously:52-53,:57);MMCA.Common.Azure.csproj:27(previously:28);MMCA.ADC/Directory.Packages.props:178,:183andMMCA.Store/Directory.Packages.props:37-38(previously:128-129,:17-18); the ADC emulator-tier comment and entry atMMCA.ADC/Directory.Packages.props:112-117(patch named at:113, entry:117, previously:68-73,:69,:73) and Store's atMMCA.Store/Directory.Packages.props:110-115(patch-agnostic sentence:111-112, previously:92-97,:93-94);AzureServiceBusTransport.cs:2(using),:29(ProviderName),:79(UsingAzureServiceBus),:85-93(emulator branch) and:99(unconditional redelivery), previously:1,:19,:33,:41-44,:52;BrokerMessageBus.cs:44andIMessageBus.cs:29(previously:43,:28); the ImageSharp removal atMMCA.Common/CHANGELOG.md:1035under the 1.258.0 heading at:1031(previously:98,:94); thecross-service-freshnessstep atMMCA.ADC/.github/workflows/deploy.yml:1282-1303(window:1295,same-run:1300) andMMCA.Store/.github/workflows/deploy.yml:1042-1063(window:1055,same-run:1060), previously:886-907and:828-849; theservicebus-emulator-smokejob atMMCA.ADC/.github/workflows/cross-service-tests.yml:146(rationale:120-130) andMMCA.Store/.github/workflows/cross-service-tests.yml:146(rationale:126-140), previously:142,:116-126and:141,:121-135;common-VERSIONING.md:49-56,:73-74,:76-82(previously:44-50,:69-70,:72-78). Unchanged:MMCA.Common.Testing.Azure.csproj:21,DependencyVersionTests.cs:9,ArchitectureRules.Governance.cs:42-45andMMCA.Common/.github/actions/freshness-gate/action.yml:25-26,:143-145. Anchors inside earlier revisions are left as recorded.
Amendment (2026-11-24): the tag is the version, without MinVer
Decision. The lockstep rule is unchanged: one vX.Y.Z tag versions every MMCA.Common.* package.
What changes is how the tag reaches the build. MinVer is no longer referenced; release.yml passes the
tag as -p:Version to the build and -p:PackageVersion to the pack
(MMCA.Common/.github/workflows/release.yml:85, :105; the MAUI job the same at :311, :314),
and every other build, local or PR CI, carries the 0.0.0-dev placeholder from
MMCA.Common/Directory.Build.props:87-90, so no build depends on git history
(MMCA.Common/AGENTS.md:39). "MinVer, derived from a single vX.Y.Z git tag" in Decision 1 reads as
"the single vX.Y.Z git tag, passed to the release build".
Dependabot. With Microsoft.OpenApi no longer pinned or referenced directly (MMCA.Common 1.318.0:
Microsoft.AspNetCore.OpenApi requires a patched version itself), its semver-major ignore is gone.
The remaining semver-major ignores are Microsoft.VisualStudio.Threading.Analyzers
(MMCA.Common/.github/dependabot.yml:62), StackExchange.Redis (:65),
Xamarin.Firebase.Messaging (:70), Microsoft.EntityFrameworkCore* (:81),
Microsoft.Data.Sqlite (:83) and Npgsql* (:88), with Xamarin.AndroidX.Biometric held by a
version range (:72); none is license-motivated now that MassTransit* is gone. Decision 3 is
corrected in place to drop Microsoft.OpenApi; its other anchors are left as recorded.
Related
ADR-015 (the fitness function that enforces the pins), ADR-003 / ADR-006 (MassTransit is the broker transport behind the outbox and database-per-service flows). ADR-118 owns the exit strategy and the ordered replacement list (Wolverine first, a raw-SDK adapter second, a commercial v9 rejected); it is the later decision, so where its list and the 2026-08-28 candidates in Transport exit options differ, ADR-118 governs. No replacement is implemented yet.