Skip to content

build: bump Abstractions + TestKit to 0.22.0 - #202

Closed
Chris-Wolfgang wants to merge 1 commit into
mainfrom
feat/bump-abstractions-0.20-testkit-0.13
Closed

build: bump Abstractions + TestKit to 0.22.0#202
Chris-Wolfgang wants to merge 1 commit into
mainfrom
feat/bump-abstractions-0.20-testkit-0.13

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Foundation for the thorough-review PR series. Bumps Abstractions 0.16→0.20 (src) and TestKit/.Xunit 0.10→0.13 (tests).

Behaviour fix the new contract surfaced: TestKit 0.13's LoaderBaseContractTests adds a 'pre-cancelled token reads nothing' contract, which the loader failed (it read one item — and would run the pre-action/truncate — before observing cancellation). Fixed by checking the token at the top of LoadWorkerAsync. The finalization tail was extracted to FinalizeLoadAsync to stay under the method-length limit.

Duplicate tests removed: 3 hand-written tests now covered verbatim by the inherited contract base (item-count increment / MaximumItemCount / SkipItemCount) — pure generic LoaderBase behaviour, no SqlBulkCopy-specific assertions. SqlBulkCopy-specific tests kept.

Verified: 273 unit tests green; whole solution builds clean on the new deps (all 5 src TFMs).

Note: vNext was first updated from main (Dependabot had already moved it to Abstractions 0.16 / TestKit 0.10). #195 (the AOT descriptor work) is unmerged and will need rebasing onto this.

Copilot AI review requested due to automatic review settings July 28, 2026 23:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Chris-Wolfgang
Chris-Wolfgang force-pushed the feat/bump-abstractions-0.20-testkit-0.13 branch from 9a1a6b5 to 7cb597b Compare August 3, 2026 01:54
@Chris-Wolfgang
Chris-Wolfgang changed the base branch from vNext to feat/sourcegen-descriptors August 3, 2026 01:54
…d token

Bump Wolfgang.Etl.Abstractions 0.16 -> 0.22.0 (src) and Wolfgang.Etl.TestKit /
TestKit.Xunit 0.13 -> 0.22.0 (tests). 0.22 is fully additive — no breaking
change — so this is a straight recompile plus two adaptations:

- Honour a pre-cancelled token in LoadWorkerAsync (LoaderBaseContractTests
  contract, present since TestKit 0.13): check cancellation before any read or
  pre-action; extracted the finalize tail to FinalizeLoadAsync (MA0051).
- Migrate the timer contract to TestKit 0.22: the base now drives progress
  timing via ManualProgressTimerCore + WithManualProgressTimer, so CreateSut
  no longer injects a timer and the retired CreateSutWithTimer override is
  dropped. The loader's own IProgressTimer-injection path stays (still covered
  by CultureInvarianceTests / SqlBulkCopyLoaderTests).

Removed 3 tests now covered verbatim by the LoaderBase contract base.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Chris-Wolfgang
Chris-Wolfgang force-pushed the feat/bump-abstractions-0.20-testkit-0.13 branch from 7cb597b to bbd8123 Compare August 5, 2026 12:41
@Chris-Wolfgang Chris-Wolfgang changed the title build: Abstractions 0.20.0 + TestKit 0.13.0 + pre-cancelled-token fix build: bump Abstractions + TestKit to 0.22.0 Aug 5, 2026
Base automatically changed from feat/sourcegen-descriptors to vNext August 8, 2026 01:10
Base automatically changed from vNext to main August 8, 2026 15:48
@Chris-Wolfgang

Copy link
Copy Markdown
Owner Author

Closing as superseded/stale. This branch bumps Abstractions/TestKit to 0.22, but (a) 0.22 is still only in the local feed and not on nuget.org (CI restore fails NU1102), and (b) main has since shipped v0.5.0 and evolved well past this branch's base — a rebase onto main is textually clean but semantically broken (MA0051: the pre-cancel edits collide with main's already-trimmed LoadWorkerAsync). Rather than salvage a stale branch that's blocked anyway, the 0.22 bump will be redone fresh on main when Abstractions/TestKit 0.22 are published to nuget.org (a clean, quick change on the current tree). Tracked for the v0.6.0 cycle.

@Chris-Wolfgang
Chris-Wolfgang deleted the feat/bump-abstractions-0.20-testkit-0.13 branch August 10, 2026 01:19
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.

2 participants