Repository navigation
deps: Bump WolverineFx and 4 others - #101
Merged
Surentz merged 1 commit intoOct 6, 2026
Merged
Conversation
Bumps WolverineFx from 6.41.0 to 6.46.0 Bumps WolverineFx.EntityFrameworkCore from 6.41.0 to 6.46.0 Bumps WolverineFx.Postgresql from 6.41.0 to 6.46.0 Bumps WolverineFx.RabbitMQ from 6.41.0 to 6.46.0 Bumps WolverineFx.RuntimeCompilation from 6.41.0 to 6.46.0 --- updated-dependencies: - dependency-name: WolverineFx dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine - dependency-name: WolverineFx.EntityFrameworkCore dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine - dependency-name: WolverineFx.Postgresql dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine - dependency-name: WolverineFx.RabbitMQ dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine - dependency-name: WolverineFx.RuntimeCompilation dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine - dependency-name: WolverineFx.RuntimeCompilation dependency-version: 6.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: wolverine ... Signed-off-by: dependabot[bot] <support@github.com>
Test results
CoverageBackend — Line 93.9% (5,701 of 6,065 lines, −0.1 vs main) · Branch 82.7% · Method 94.8% Frontend — Line 85.6% (638 of 745 lines, ±0.0 vs main) · Branch 78.8% · Method 84.3% Backend coverage per assembly (unit + integration merged)
Commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated WolverineFx from 6.41.0 to 6.46.0.
Release notes
Sourced from WolverineFx's releases.
6.46.0
Wolverine 6.46.0 is the release where Native AOT stopped being aspirational. Ten of the changes below came out of one sustained hunt, and the pattern that emerged is worth stating plainly: under Native AOT, the fix is almost never to root a generic harder — it is to stop closing one.
Thank you to the people outside the core team who shipped code in this one. Five of the fixes here came from the community, and several of them are in corners the maintainers would not have found on their own.
Community contributions
[FromClaim]code generation was broken for URI claim types (#4783), and EF Core had three distinct problems in one report:[Entity]on a step method, query plans, and multi-tenantDbContextresolution (#4769).User-scope warning (#4779), plus a documentation fix for something that bites every newcomer: the first-use handler compile counts against a tracked session's timeout (#4786).[Deduplicated]claims are kept in the main store when you run a database per tenant (#4813). Every[Deduplicated]chain used to throw on its first keyed message in that configuration.Native AOT
Sagas work under Native AOT now (#4809). That took three separate blockers, and each one taught us a rule that is now written down:
[DynamicDependency]preserves metadata, not code. An AOT root over a value-type instantiation is silently ineffective — no warning, no diagnostic, just a missing type at startup. The roots that appear to work survive through reference-type canonical sharing, which is why this went unnoticed for so long.Acting on those: a frame can now contribute its own AOT root (#4801), the EF Core frames closed over your
DbContextare rooted (#4803), and the Marten, Polecat and FisherFetchLatestframes were de-genericized rather than rooted (#4793, #4806). The HTTP and response-aware chain paths got the closed generics they need (#4790), and an[UnconditionalSuppressMessage]scope that ILC rejects outright was fixed (#4791).Two things worth calling out for anyone running AOT in production:
Guidtenant id, or a[DeduplicationIdentity]on aGuid, which needs no configuration at all. Both crashed the host at startup in a native image. Neither was reachable by any existing rooting mechanism, so both now avoid closing the generic at all.Durability and clustered agents
A wave of fixes to inbox ownership and global partition slots, all of them cases where a message could stall rather than fail:
TenantedSenderdeliberately cannot forward anISenderCallback— doing so broke fire-and-forget senders in a previous attempt. There is now aCallbackAwareTenantedSenderfor the senders that settle the outbox themselves, with the original left exactly as it was. Every broker-per-tenant transport can use it; only MQTT does so far.Security and dependencies
System.Formats.Asn17.0.0 is lifted, and the whole package graph is audited (#4781, GH-4773).JasperFx.Eventsinterface breaks a store at runtime rather than at compile time, so leaving a store package behind is the actual hazard.6.45.0
Wolverine 6.45.0 is mostly a community release. Seven people outside JasperFx shaped it, and the headline feature came in as a contributor's pull request with 17 tests already passing.
Idempotency keys that answer with the first response
6.44 could stop a
POSTrunning twice. It could not tell the second caller what the first one created.[Deduplicated]refuses a repeat with a status code, which is the right answer when the client can go and fetch the resource. It is the wrong answer when the client is the one that lost the connection mid-request and has no idea what id it created. The docs said as much, and said replaying the original response was out of scope.6.45 adds
[DeduplicatedWithResponse], which stores the first response and replays it:A repeat under the same
Idempotency-Keygets the original status — a 201 stays a 201 — along with the body and theLocationheader. The handler does not run again, and its cascaded messages are not sent again.Three details worth knowing before you reach for it:
Scopeis required, not optional. A claimed key used to be global across every endpoint, tenant and user. That was tolerable when a duplicate was merely refused; it is not tolerable when a stored response is replayed to whoever presents the key. So the attribute will not let you declare it without saying who a key belongs to, and refuses at startup if you try.The request is compared by a hash of the bytes sent — method, path, query string and body. A repeat that differs gets
422rather than being answered with a response that does not belong to it. The corollary: a retry has to resend the same bytes, so a client that re-serializes and reorders JSON properties will see a 422.It is opt-in and provisions its own table.
opts.Durability.EnableDeduplicatedResponses = true, a separatewolverine_deduplicated_responsestable, and nothing changes for an application that does not ask for it. PostgreSQL, SQL Server, MySQL and SQLite, which covers Marten and EF Core applications. F# endpoints are supported —[Deduplicated]still does not support them.Three more deduplication fixes landed alongside it. Two cases where a claim outlived a request that did no work: middleware ending the request early with a success code, and a caller hanging up while the request was failing — in the second, the release itself was being cancelled by the caller's own disconnect, so the key survived for the full window. Deduplication keys also now compare the same way on every engine; they previously followed the database's default collation, so
Abcandabcwere one claim on SQL Server and MySQL but two on PostgreSQL and SQLite.Thank you
[DeduplicatedWithResponse]itself, the two claim-leak fixes, the collation report, theEnableRelayOfUserNamediagnosis, and a doc correction. Four pull requests and three issues in one release.InvokeAsyncretry discarded the failed attempt's outgoing messages, and fixed it.ReleaseIncomingAsyncscanned the whole inbox on SQL Server. Measured at 6,748 logical reads before and 3 after.And from the core team, @erdtsieck caught the worst regression in 6.44 — every durable-inbox message dead-lettered on partitioned Marten inboxes — and reported it with the exact SQL that
QueueSqlCommandwas rejecting, which is why it was fixed the same day.Durability and reliability
;, which Marten'sQueueSqlCommandrejects — so every durable-inbox message was dead-lettered. (#4736)owner_id = @owner, so these were clustered index scans; a blue/green deploy had been failing on the resulting command timeouts. (#4739)HttpChaincould never serve a request again — a missed type lookup overwrote an already-resolved handler type with null. (#4749)Native AOT
... (truncated)
6.44.0
This release came overwhelmingly from outside the core team. Six people outside JasperFx reported or fixed
the work in it, including three who sent the pull request themselves, and one report that reconstructed a
production cluster failure in enough detail to find two defects nobody had suspected.
Thank you
MessageIdentity.IdAndDestinationhad every destination's inbox row retired by the first handler to commit, losing the copies whose handlers had not run, with no dead letter and no log. Also reported GH-4704.propertiesToModify, so poison messages silently never reached$DeadLetterQueue. Bisected across 27 releases and identified why the existing tests were blind to it.TypeLoadMode.StaticignoredDisableConventionalDiscovery().The agent control queue stall (GH-4718)
@erdtsieck reported 5.4–6.7 MB agent commands being rejected on a sharded multi-tenant cluster — 512
databases, ~2,200 tenants, 37,000–58,000 agents — alongside agent assignment stalling for 30–60 minutes
after every node change, and explicitly marked the causal link between the two as a hypothesis rather than
a finding. It held, and the report's detail is what made both halves findable:
AgentStartBatchSize; stops took a destination's whole set in one envelope. A node shedding 7,592 agentsemitted a single ~6 MB command that the destination refuses to read at all. This is also why lowering
AgentStartBatchSizechanged nothing — that knob had never touched the stop path.expired-row cleanup share one transaction, so the failed read rolled back the very expiry that would have
cleared the offending row. The node then re-read it every poll and received no control message at all,
which is why the leader reported "confirmed 0 of N" for chunk after correctly-sized chunk.
addressed to.
Fixes
identity rather than the id alone, on EF Core (#4703) and on Marten, Polecat and Fisher (#4725). Both
also pick up the partition-aware statement, so a redelivered row can be retired under
EnableInboxPartitioning.[Entity],[All],[FirstOrDefault],[Queryable]or a query plan now enrolls the transaction. Mutating one and relying on the transactional middleware
previously saved nothing at all, on EF Core with no diagnostic. GH-4717 closes the same gap for every
other provider.
propertiesToModify.the promoting node happens to be able to build a local circuit.
DisableConventionalDiscovery().[Transactional]no longer reports a chain as transactional when no provider claimed itand no transaction was applied. HTTP endpoints affected by this stop advertising a 409 they cannot raise.
... (truncated)
6.43.0
A dependency release. The store pins had been queued behind two releases because every store's current version takes Weasel 9.36.0 as a floor, and 9.36 carried an Oracle regression. That is fixed upstream now, so all three move together.
JasperFx stays at 2.76.1.
This is why 6.43.0 is a minor rather than a patch. Nothing in Wolverine's own public API changed, but crossing six Weasel releases changes what a migration does:
MODIFY.DROP INDEXfor them. Fixed.Oracle: the node tables stop drifting
Two fixes in Wolverine itself, both needed to work with Weasel 9.38.0.
Column defaults are no longer hand-escaped. Wolverine wrote every Oracle timestamp default as
SYSTIMESTAMP AT TIME ZONE ''UTC'', with the quotes already doubled, because Weasel used to paste DDL verbatim into anEXECUTE IMMEDIATE '...'literal. Weasel 9.36 escapes literals itself, so both sides escaped and the executed default becameAT TIME ZONE ''UTC''— not a time zone region, and every table create failed withORA-01882.Identity columns are declared through
AutoIncrement()rather than in the type string.wolverine_nodes.node_numberand the node-record table'sidwere declared asNUMBER(10) GENERATED BY DEFAULT AS IDENTITY— with the clause written into the type. Oracle does not store it there: the catalog reports the type as plainNUMBER(10)and carries identity separately. The model could never equal what came back, so every migration emitted anALTER … MODIFYthat Oracle refuses withORA-01031.That type string was a workaround rather than an oversight —
AutoIncrement()emitted the identity clause after the null constraint, which isORA-03076, so it could not create a table at all. Fixed upstream in weasel#667 along with two related defects: identity was never read back fromALL_TAB_COLUMNS.IDENTITY_COLUMN, and a schema containing an identity column could not be dropped at all, because the teardown tried to drop the system-generated sequence behind it.Existing Oracle deployments should settle rather than migrate: the column is already
NUMBER(10)identity in the database, and 9.38.0 now reads that back, so the model matches it.Verification
Built pinned the way CI builds it (
-c Release -f net9.0), 0 errors and 0 warnings, then 17 database suites locally across PostgreSQL, SQL Server, MySQL, Oracle and SQLite — including Marten, Polecat, Fisher, claim check and leader election on four engines.OracleTestswent from 181 failing to 203 passing.6.42.0
A release driven almost entirely by what users reported. Five of the durability fixes below came from one reporter working a multi-tenant deployment hard enough to find them, and the pattern running through them is the same: a failure that belonged to one tenant was being paid for by every tenant, or was not being reported at all.
GH-4662.
PublishAsync/ScheduleAsyncmade outside a handler and outside any transaction, to a local queue made durable byUseDurableLocalQueues(), used to return without an error when the message store was unreachable. Four attempts inside ~400 ms, one line atInformation, and the message was gone — not even recovered after the database came back, because no inbox row was ever written.The cause was the shape of the retry rather than the retry itself.
RetryBlock.PostAsyncruns one attempt inline and posts the rest to its own worker, so the task the caller awaits completes the moment the first attempt fails. That is the right shape once an envelope is durable somewhere and recovery can find it; it is the wrong shape for the write that makes it durable, because there is no other copy.DurableWriteRetrykeeps the same 50/100/250 ms budget, awaits it inline, and lets the last exception reach the caller.Who is affected is narrower than it sounds. If you enlist a real outbox (EF Core, Marten,
DatabaseEnvelopeTransaction) nothing changes — that path never reached this code. Inside a handler nothing new escapes either; the publish is buffered and a failure is still caught, logged and recorded as a discard, just atErrorwith a real tracking event instead of a buriedInformationline. Only the un-transacted publish from outside a handler can now throw.One tenant's outage stops costing you every tenant
timestampdefault is now a true UTC instant (GH-4663). It depended on the session's time zone, soInboxStaleTimehanded back envelopes that were still running.Partitioning
A scheduled message no longer runs on a node that does not own the slot (GH-4673). Under global partitioning a scheduled envelope took the local shortcut regardless of slot ownership, so two nodes could process the same group id concurrently — the exact thing partitioning exists to prevent. A promoted scheduled envelope also no longer still reports its status as
Scheduled.HTTP
Stream large multipart uploads through a
MultipartReaderendpoint parameter, contributed by @erdtsieck (#4674) — no buffering the whole upload to handle it. F# code generation emits the new frame too, and the F# codegen coverage is now gated against a committed baseline so a new unsupported frame cannot slip in unnoticed.Diagnostics, metrics and operations
local://destination was being classified as System traffic, so a user's own local queue never reached the per-type/per-tenantDeadLettersmetric (GH-4665).BrokerResource.Checkno longer reports a thrown check as a missing resource (GH-4693), which was hiding the real cause behind "Missing known broker resources".ShardStartException.Reason.SqliteNodePersistencehonors the table prefix (GH-4668); node shutdown failed outright on a prefixed store.Dependencies
node_numbercolumn that is alreadyGENERATED BY DEFAULT AS IDENTITYis read back as drift, so every migration emits anALTER ... MODIFYthat Oracle refuses. It will ship once that is fixed upstream.Thank you
MultipartReaderstreaming upload support in #4674Commits viewable in compare view.
Updated WolverineFx.EntityFrameworkCore from 6.41.0 to 6.46.0.
Release notes
Sourced from WolverineFx.EntityFrameworkCore's releases.
6.46.0
Wolverine 6.46.0 is the release where Native AOT stopped being aspirational. Ten of the changes below came out of one sustained hunt, and the pattern that emerged is worth stating plainly: under Native AOT, the fix is almost never to root a generic harder — it is to stop closing one.
Thank you to the people outside the core team who shipped code in this one. Five of the fixes here came from the community, and several of them are in corners the maintainers would not have found on their own.
Community contributions
[FromClaim]code generation was broken for URI claim types (#4783), and EF Core had three distinct problems in one report:[Entity]on a step method, query plans, and multi-tenantDbContextresolution (#4769).User-scope warning (#4779), plus a documentation fix for something that bites every newcomer: the first-use handler compile counts against a tracked session's timeout (#4786).[Deduplicated]claims are kept in the main store when you run a database per tenant (#4813). Every[Deduplicated]chain used to throw on its first keyed message in that configuration.Native AOT
Sagas work under Native AOT now (#4809). That took three separate blockers, and each one taught us a rule that is now written down:
[DynamicDependency]preserves metadata, not code. An AOT root over a value-type instantiation is silently ineffective — no warning, no diagnostic, just a missing type at startup. The roots that appear to work survive through reference-type canonical sharing, which is why this went unnoticed for so long.Acting on those: a frame can now contribute its own AOT root (#4801), the EF Core frames closed over your
DbContextare rooted (#4803), and the Marten, Polecat and FisherFetchLatestframes were de-genericized rather than rooted (#4793, #4806). The HTTP and response-aware chain paths got the closed generics they need (#4790), and an[UnconditionalSuppressMessage]scope that ILC rejects outright was fixed (#4791).Two things worth calling out for anyone running AOT in production:
Guidtenant id, or a[DeduplicationIdentity]on aGuid, which needs no configuration at all. Both crashed the host at startup in a native image. Neither was reachable by any existing rooting mechanism, so both now avoid closing the generic at all.Durability and clustered agents
A wave of fixes to inbox ownership and global partition slots, all of them cases where a message could stall rather than fail:
TenantedSenderdeliberately cannot forward anISenderCallback— doing so broke fire-and-forget senders in a previous attempt. There is now aCallbackAwareTenantedSenderfor the senders that settle the outbox themselves, with the original left exactly as it was. Every broker-per-tenant transport can use it; only MQTT does so far.Security and dependencies
System.Formats.Asn17.0.0 is lifted, and the whole package graph is audited (#4781, GH-4773).JasperFx.Eventsinterface breaks a store at runtime rather than at compile time, so leaving a store package behind is the actual hazard.6.45.0
Wolverine 6.45.0 is mostly a community release. Seven people outside JasperFx shaped it, and the headline feature came in as a contributor's pull request with 17 tests already passing.
Idempotency keys that answer with the first response
6.44 could stop a
POSTrunning twice. It could not tell the second caller what the first one created.[Deduplicated]refuses a repeat with a status code, which is the right answer when the client can go and fetch the resource. It is the wrong answer when the client is the one that lost the connection mid-request and has no idea what id it created. The docs said as much, and said replaying the original response was out of scope.6.45 adds
[DeduplicatedWithResponse], which stores the first response and replays it:A repeat under the same
Idempotency-Keygets the original status — a 201 stays a 201 — along with the body and theLocationheader. The handler does not run again, and its cascaded messages are not sent again.Three details worth knowing before you reach for it:
Scopeis required, not optional. A claimed key used to be global across every endpoint, tenant and user. That was tolerable when a duplicate was merely refused; it is not tolerable when a stored response is replayed to whoever presents the key. So the attribute will not let you declare it without saying who a key belongs to, and refuses at startup if you try.The request is compared by a hash of the bytes sent — method, path, query string and body. A repeat that differs gets
422rather than being answered with a response that does not belong to it. The corollary: a retry has to resend the same bytes, so a client that re-serializes and reorders JSON properties will see a 422.It is opt-in and provisions its own table.
opts.Durability.EnableDeduplicatedResponses = true, a separatewolverine_deduplicated_responsestable, and nothing changes for an application that does not ask for it. PostgreSQL, SQL Server, MySQL and SQLite, which covers Marten and EF Core applications. F# endpoints are supported —[Deduplicated]still does not support them.Three more deduplication fixes landed alongside it. Two cases where a claim outlived a request that did no work: middleware ending the request early with a success code, and a caller hanging up while the request was failing — in the second, the release itself was being cancelled by the caller's own disconnect, so the key survived for the full window. Deduplication keys also now compare the same way on every engine; they previously followed the database's default collation, so
Abcandabcwere one claim on SQL Server and MySQL but two on PostgreSQL and SQLite.Thank you
[DeduplicatedWithResponse]itself, the two claim-leak fixes, the collation report, theEnableRelayOfUserNamediagnosis, and a doc correction. Four pull requests and three issues in one release.InvokeAsyncretry discarded the failed attempt's outgoing messages, and fixed it.ReleaseIncomingAsyncscanned the whole inbox on SQL Server. Measured at 6,748 logical reads before and 3 after.And from the core team, @erdtsieck caught the worst regression in 6.44 — every durable-inbox message dead-lettered on partitioned Marten inboxes — and reported it with the exact SQL that
QueueSqlCommandwas rejecting, which is why it was fixed the same day.Durability and reliability
;, which Marten'sQueueSqlCommandrejects — so every durable-inbox message was dead-lettered. (#4736)owner_id = @owner, so these were clustered index scans; a blue/green deploy had been failing on the resulting command timeouts. (#4739)HttpChaincould never serve a request again — a missed type lookup overwrote an already-resolved handler type with null. (#4749)Native AOT
... (truncated)
6.44.0
This release came overwhelmingly from outside the core team. Six people outside JasperFx reported or fixed
the work in it, including three who sent the pull request themselves, and one report that reconstructed a
production cluster failure in enough detail to find two defects nobody had suspected.
Thank you
MessageIdentity.IdAndDestinationhad every destination's inbox row retired by the first handler to commit, losing the copies whose handlers had not run, with no dead letter and no log. Also reported GH-4704.propertiesToModify, so poison messages silently never reached$DeadLetterQueue. Bisected across 27 releases and identified why the existing tests were blind to it.TypeLoadMode.StaticignoredDisableConventionalDiscovery().The agent control queue stall (GH-4718)
@erdtsieck reported 5.4–6.7 MB agent commands being rejected on a sharded multi-tenant cluster — 512
databases, ~2,200 tenants, 37,000–58,000 agents — alongside agent assignment stalling for 30–60 minutes
after every node change, and explicitly marked the causal link between the two as a hypothesis rather than
a finding. It held, and the report's detail is what made both halves findable:
AgentStartBatchSize; stops took a destination's whole set in one envelope. A node shedding 7,592 agentsemitted a single ~6 MB command that the destination refuses to read at all. This is also why lowering
AgentStartBatchSizechanged nothing — that knob had never touched the stop path.expired-row cleanup share one transaction, so the failed read rolled back the very expiry that would have
cleared the offending row. The node then re-read it every poll and received no control message at all,
which is why the leader reported "confirmed 0 of N" for chunk after correctly-sized chunk.
addressed to.
Fixes
identity rather than the id alone, on EF Core (#4703) and on Marten, Polecat and Fisher (#4725). Both
also pick up the partition-aware statement, so a redelivered row can be retired under
EnableInboxPartitioning.[Entity],[All],[FirstOrDefault],[Queryable]or a query plan now enrolls the transaction. Mutating one and relying on the transactional middleware
previously saved nothing at all, on EF Core with no diagnostic. GH-4717 closes the same gap for every
other provider.
propertiesToModify.the promoting node happens to be able to build a local circuit.
DisableConventionalDiscovery().[Transactional]no longer reports a chain as transactional when no provider claimed itand no transaction was applied. HTTP endpoints affected by this stop advertising a 409 they cannot raise.
... (truncated)
6.43.0
A dependency release. The store pins had been queued behind two releases because every store's current version takes Weasel 9.36.0 as a floor, and 9.36 carried an Oracle regression. That is fixed upstream now, so all three move together.
JasperFx stays at 2.76.1.
This is why 6.43.0 is a minor rather than a patch. Nothing in Wolverine's own public API changed, but crossing six Weasel releases changes what a migration does:
MODIFY.DROP INDEXfor them. Fixed.Oracle: the node tables stop drifting
Two fixes in Wolverine itself, both needed to work with Weasel 9.38.0.
Column defaults are no longer hand-escaped. Wolverine wrote every Oracle timestamp default as
SYSTIMESTAMP AT TIME ZONE ''UTC'', with the quotes already doubled, because Weasel used to paste DDL verbatim into anEXECUTE IMMEDIATE '...'literal. Weasel 9.36 escapes literals itself, so both sides escaped and the executed default becameAT TIME ZONE ''UTC''— not a time zone region, and every table create failed withORA-01882.Identity columns are declared through
AutoIncrement()rather than in the type string.wolverine_nodes.node_numberand the node-record table'sidwere declared asNUMBER(10) GENERATED BY DEFAULT AS IDENTITY— with the clause written into the type. Oracle does not store it there: the catalog reports the type as plainNUMBER(10)and carries identity separately. The model could never equal what came back, so every migration emitted anALTER … MODIFYthat Oracle refuses withORA-01031.That type string was a workaround rather than an oversight —
AutoIncrement()emitted the identity clause after the null constraint, which isORA-03076, so it could not create a table at all. Fixed upstream in weasel#667 along with two related defects: identity was never read back fromALL_TAB_COLUMNS.IDENTITY_COLUMN, and a schema containing an identity column could not be dropped at all, because the teardown tried to drop the system-generated sequence behind it.Existing Oracle deployments should settle rather than migrate: the column is already
NUMBER(10)identity in the database, and 9.38.0 now reads that back, so the model matches it.Verification
Built pinned the way CI builds it (
-c Release -f net9.0), 0 errors and 0 warnings, then 17 database suites locally across PostgreSQL, SQL Server, MySQL, Oracle and SQLite — including Marten, Polecat, Fisher, claim check and leader election on four engines.OracleTestswent from 181 failing to 203 passing.6.42.0
A release driven almost entirely by what users reported. Five of the durability fixes below came from one reporter working a multi-tenant deployment hard enough to find them, and the pattern running through them is the same: a failure that belonged to one tenant was being paid for by every tenant, or was not being reported at all.
GH-4662.
PublishAsync/ScheduleAsyncmade outside a handler and outside any transaction, to a local queue made durable byUseDurableLocalQueues(), used to return without an error when the message store was unreachable. Four attempts inside ~400 ms, one line atInformation, and the message was gone — not even recovered after the database came back, because no inbox row was ever written.The cause was the shape of the retry rather than the retry itself.
RetryBlock.PostAsyncruns one attempt inline and posts the rest to its own worker, so the task the caller awaits completes the moment the first attempt fails. That is the right shape once an envelope is durable somewhere and recovery can find it; it is the wrong shape for the write that makes it durable, because there is no other copy.DurableWriteRetrykeeps the same 50/100/250 ms budget, awaits it inline, and lets the last exception reach the caller.Who is affected is narrower than it sounds. If you enlist a real outbox (EF Core, Marten,
DatabaseEnvelopeTransaction) nothing changes — that path never reached this code. Inside a handler nothing new escapes either; the publish is buffered and a failure is still caught, logged and recorded as a discard, just atErrorwith a real tracking event instead of a buriedInformationline. Only the un-transacted publish from outside a handler can now throw.One tenant's outage stops costing you every tenant
timestampdefault is now a true UTC instant (GH-4663). It depended on the session's time zone, soInboxStaleTimehanded back envelopes that were still running.Partitioning
A scheduled message no longer runs on a node that does not own the slot (GH-4673). Under global partitioning a scheduled envelope took the local shortcut regardless of slot ownership, so two nodes could process the same group id concurrently — the exact thing partitioning exists to prevent. A promoted scheduled envelope also no longer still reports its status as
Scheduled.HTTP
Stream large multipart uploads through a
MultipartReaderendpoint parameter, contributed by @erdtsieck (#4674) — no buffering the whole upload to handle it. F# code generation emits the new frame too, and the F# codegen coverage is now gated against a committed baseline so a new unsupported frame cannot slip in unnoticed.Diagnostics, metrics and operations
local://destination was being classified as System traffic, so a user's own local queue never reached the per-type/per-tenantDeadLettersmetric (GH-4665).BrokerResource.Checkno longer reports a thrown check as a missing resource (GH-4693), which was hiding the real cause behind "Missing known broker resources".ShardStartException.Reason.SqliteNodePersistencehonors the table prefix (GH-4668); node shutdown failed outright on a prefixed store.Dependencies
node_numbercolumn that is alreadyGENERATED BY DEFAULT AS IDENTITYis read back as drift, so every migration emits anALTER ... MODIFYthat Oracle refuses. It will ship once that is fixed upstream.Thank you
MultipartReaderstreaming upload support in #4674Commits viewable in compare view.
Updated WolverineFx.Postgresql from 6.41.0 to 6.46.0.
Release notes
Sourced from WolverineFx.Postgresql's releases.
6.46.0
Wolverine 6.46.0 is the release where Native AOT stopped being aspirational. Ten of the changes below came out of one sustained hunt, and the pattern that emerged is worth stating plainly: under Native AOT, the fix is almost never to root a generic harder — it is to stop closing one.
Thank you to the people outside the core team who shipped code in this one. Five of the fixes here came from the community, and several of them are in corners the maintainers would not have found on their own.
Community contributions
[FromClaim]code generation was broken for URI claim types (#4783), and EF Core had three distinct problems in one report:[Entity]on a step method, query plans, and multi-tenantDbContextresolution (#4769).User-scope warning (#4779), plus a documentation fix for something that bites every newcomer: the first-use handler compile counts against a tracked session's timeout (#4786).[Deduplicated]claims are kept in the main store when you run a database per tenant (#4813). Every[Deduplicated]chain used to throw on its first keyed message in that configuration.Native AOT
Sagas work under Native AOT now (#4809). That took three separate blockers, and each one taught us a rule that is now written down:
[DynamicDependency]preserves metadata, not code. An AOT root over a value-type instantiation is silently ineffective — no warning, no diagnostic, just a missing type at startup. The roots that appear to work survive through reference-type canonical sharing, which is why this went unnoticed for so long.Acting on those: a frame can now contribute its own AOT root (#4801), the EF Core frames closed over your
DbContextare rooted (#4803), and the Marten, Polecat and FisherFetchLatestframes were de-genericized rather than rooted (#4793, #4806). The HTTP and response-aware chain paths got the closed generics they need (#4790), and an[UnconditionalSuppressMessage]scope that ILC rejects outright was fixed (#4791).Two things worth calling out for anyone running AOT in production:
Guidtenant id, or a[DeduplicationIdentity]on aGuid, which needs no configuration at all. Both crashed the host at startup in a native image. Neither was reachable by any existing rooting mechanism, so both now avoid closing the generic at all.Durability and clustered agents
A wave of fixes to inbox ownership and global partition slots, all of them cases where a message could stall rather than fail:
TenantedSenderdeliberately cannot forward anISenderCallback— doing so broke fire-and-forget senders in a previous attempt. There is now aCallbackAwareTenantedSenderfor the senders that settle the outbox themselves, with the original left exactly as it was. Every broker-per-tenant transport can use it; only MQTT does so far.Security and dependencies
System.Formats.Asn17.0.0 is lifted, and the whole package graph is audited (#4781, GH-4773).JasperFx.Eventsinterface breaks a store at runtime rather than at compile time, so leaving a store package behind is the actual hazard.6.45.0
Wolverine 6.45.0 is mostly a community release. Seven people outside JasperFx shaped it, and the headline feature came in as a contributor's pull request with 17 tests already passing.
Idempotency keys that answer with the first response
6.44 could stop a
POSTrunning twice. It could not tell the second caller what the first one created.[Deduplicated]refuses a repeat with a status code, which is the right answer when the client can go and fetch the resource. It is the wrong answer when the client is the one that lost the connection mid-request and has no idea what id it created. The docs said as much, and said replaying the original response was out of scope.6.45 adds
[DeduplicatedWithResponse], which stores the first response and replays it:A repeat under the same
Idempotency-Keygets the original status — a 201 stays a 201 — along with the body and theLocationheader. The handler does not run again, and its cascaded messages are not sent again.Three details worth knowing before you reach for it:
Scopeis required, not optional. A claimed key used to be global across every endpoint, tenant and user. That was tolerable when a duplicate was merely refused; it is not tolerable when a stored response is replayed to whoever presents the key. So the attribute will not let you declare it without saying who a key belongs to, and refuses at startup if you try.The request is compared by a hash of the bytes sent — method, path, query string and body. A repeat that differs gets
422rather than being answered with a response that does not belong to it. The corollary: a retry has to resend the same bytes, so a client that re-serializes and reorders JSON properties will see a 422.It is opt-in and provisions its own table.
opts.Durability.EnableDeduplicatedResponses = true, a separatewolverine_deduplicated_responsestable, and nothing changes for an application that does not ask for it. PostgreSQL, SQL Server, MySQL and SQLite, which covers Marten and EF Core applications. F# endpoints are supported —[Deduplicated]still does not support them.Three more deduplication fixes landed alongside it. Two cases where a claim outlived a request that did no work: middleware ending the request early with a success code, and a caller hanging up while the request was failing — in the second, the release itself was being cancelled by the caller's own disconnect, so the key survived for the full window. Deduplication keys also now compare the same way on every engine; they previously followed the database's default collation, so
Abcandabcwere one claim on SQL Server and MySQL but two on PostgreSQL and SQLite.Thank you
[DeduplicatedWithResponse]itself, the two claim-leak fixes, the collation report, theEnableRelayOfUserNamediagnosis, and a doc correction. Four pull requests and three issues in one release.InvokeAsyncretry discarded the failed attempt's outgoing messages, and fixed it.ReleaseIncomingAsyncscanned the whole inbox on SQL Server. Measured at 6,748 logical reads before and 3 after.And from the core team, @erdtsieck caught the worst regression in 6.44 — every durable-inbox message dead-lettered on partitioned Marten inboxes — and reported it with the exact SQL that
QueueSqlCommandwas rejecting, which is why it was fixed the same day.Durability and reliability
;, which Marten'sQueueSqlCommandrejects — so every durable-inbox message was dead-lettered. (#4736)owner_id = @owner, so these were clustered index scans; a blue/green deploy had been failing on the resulting command timeouts. (#4739)HttpChaincould never serve a request again — a missed type lookup overwrote an already-resolved handler type with null. (#4749)Native AOT
... (truncated)
6.44.0
This release came overwhelmingly from outside the core team. Six people outside JasperFx reported or fixed
the work in it, including three who sent the pull request themselves, and one report that reconstructed a
production cluster failure in enough detail to find two defects nobody had suspected.
Thank you
MessageIdentity.IdAndDestinationhad every destination's inbox row retired by the first handler to commit, losing the copies whose handlers had not run, with no dead letter and no log. Also reported GH-4704.propertiesToModify, so poison mes...Description has been truncated