feat: E2e — unit-of-work currency flips to Weasel.Storage.IStorageOperation (#273)#298
Merged
Conversation
…ration (#273) - IWorkTracker.Operations, WorkTracker, ChangeSet, telemetry, and the daemon batch queue now speak the shared closed-shape operation contract; bespoke ops and the closed-shape adapter flow through as subtypes. - Flush-time dispatch via StorageOperationExecution.Configure: bespoke ops (incl. the adapter, which carries its own possibly tenant-scoped session) use their one-arg entry point; raw shared ops get the executing session (the daemon batch passes none by design — every op it aggregates carries its own session context). - Eject and IChangeSet.Deleted/Updated/Inserted matching handle both bespoke DocumentId/Document and shared IDeletion.Id / IDocumentStorageOperation.Document. - WorkTracker.cs edited with per-line-ending preservation (mixed EOL). Public break: IWorkTracker.Operations element type (part of the #269 listener-surface ripple). IChangeSet itself is unchanged. Full suite: 1400 passed / 3 skipped (net10.0). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
#273 phase E2e (op-currency flip — final punch-list increment)
The session unit of work now speaks the shared closed-shape operation contract end to end:
IWorkTracker.Operations(public),WorkTracker,ChangeSet, the OpenTelemetry decorator, and the async daemon's batch queue all holdWeasel.Storage.IStorageOperation. Bespoke event-side ops andClosedShapeOperationAdapterflow through as subtypes — no change to the ~20 remaining bespoke op classes.StorageOperationExecution.Configure): bespoke ops configure through their one-arg entry point (the adapter forwards to its captured — possibly tenant-scoped — session); raw shared ops get the executing session. The daemon batch passes no session by design: it aggregates ops from multiple tenant sessions, each carrying its own context.DocumentId/Documentand sharedIDeletion.Id/IDocumentStorageOperation.Document.WorkTracker.cs(the mixed-EOL file) was edited with per-line-ending preservation — the diff touches only the intended lines.Public break: the element type of
IWorkTracker.Operations(the #269 listener-surface ripple).IChangeSet—Updated/Inserted/Deleted/events — is unchanged.Full suite: 1400 passed / 3 skipped (net10.0).
🤖 Generated with Claude Code