Skip to content

Consume JasperFx 3.5.0; fix ON ONLY index parsing (#869) and partitioning rebuilds (#871) - #874

Merged
jeremydmiller merged 3 commits into
masterfrom
stoat/critter-stack-net11/weasel-consume-jasperfx
Nov 17, 2026
Merged

jeremydmiller merged 3 commits into
masterfrom
stoat/critter-stack-net11/weasel-consume-jasperfx

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Batch W1 (Stoat node weasel-consume-jasperfx, plan critter-stack-net11).

  • JasperFx 3.5.0: JasperFx, JasperFx.Events and JasperFx.SourceGenerator pinned from 3.0.0 to 3.5.0. Nothing in 3.0.1..3.5.0 needed a Weasel change: a full rebuild of Weasel.slnx (both frameworks) gives the same 3,163 warnings as 3.0.0, and no JFXEVT008/JFXEVT009. 3.5.0's net11.0 build still depends on the 11.0.0-rc.3 hosting packages, so the net11.0 overrides stay as they are.
  • Closes IndexDefinition.Parse mis-reads ON ONLY index definitions and throws when the table name contains 'using' #869: IndexDefinition.Parse skips the ONLY in ON ONLY table, and looks for USING by equality instead of Contains, so a table name containing using no longer throws.
  • Closes Rebuilding a table to drop its partitioning fails when the primary key loses the partition column (0A000) #871: a change of partitioning (PartitionDelta.Rebuild) now writes only the column changes against the old table, then the copy, drop, create and copy back. Index, primary key, foreign key, check constraint and storage parameter changes all come from the create statement. Before this, removing partitioning from a table whose primary key lost the partition column failed with 0A000. Foreign keys from other tables, which the drop table ... cascade removed, are now added back after the copy (before this they were added before the drop and lost).

Both new test sets fail without the fixes (NOT YET DEALING WITH ... and 0A000).

Local gate

./build.sh LocalGate --framework all: 18 units, all clean, 2m19s.

Suite net10.0 net11.0
Weasel.Core.Tests 1114 passed 1114 passed
Weasel.Postgresql.Tests 1134 passed, 3 skipped 1134 passed, 3 skipped
Weasel.CommandLine.Tests 57 passed 57 passed
Weasel.Sqlite.Tests 647 passed 647 passed
Weasel.SqlServer.Tests 960 passed, 4 skipped 960 passed, 4 skipped
Weasel.MySql.Tests 396 passed 396 passed
Weasel.Oracle.Tests 433 passed 433 passed
Weasel.Firebird.Tests 1093 passed, 6 skipped 1093 passed, 6 skipped
Weasel.EntityFrameworkCore.Tests 159 passed 159 passed

No new Weasel version in this PR.

🤖 Generated with Claude Code

jeremydmiller and others added 3 commits November 17, 2026 08:58
…erator)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gainst the old table

The rebuild creates the table from the expected definition, so only the column changes the copy
back needs are made first. A primary key that lost the partition column failed with 0A000 on the
table that was still partitioned. Foreign keys from other tables that the drop cascaded to are
added back after the copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremydmiller
jeremydmiller merged commit 69d6e85 into master Nov 17, 2026
20 checks passed
@jeremydmiller
jeremydmiller deleted the stoat/critter-stack-net11/weasel-consume-jasperfx branch November 17, 2026 15:03
@jeremydmiller jeremydmiller mentioned this pull request Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant