Skip to content

docs: explain optimistic concurrency workshop exercises - #323

Draft
NginxL wants to merge 1 commit into
oskardudycz:mainfrom
NginxL:docs/optimistic-concurrency-exercises-286
Draft

NginxL wants to merge 1 commit into
oskardudycz:mainfrom
NginxL:docs/optimistic-concurrency-exercises-286

Conversation

@NginxL

@NginxL NginxL commented Dec 6, 2026

Copy link
Copy Markdown

Linked issue

Fixes #286

What this adds

Missing exercise instructions for the Marten and KurrentDB optimistic-concurrency workshops. They explain how to use If-Match, pass the expected version or revision to the store, return the new ETag, and check stale-write conflicts.

The two READMEs also call out the version difference that matters while doing the exercises: Marten stream versions are one-based, while KurrentDB revisions are zero-based and use -1 for a missing stream. This matches the existing request/response tests.

Checks and gaps

  • git diff --check passed.
  • Verified that both READMEs, their test directories, and the linked workshop README exist.
  • Compared the instructions with the exercise APIs, solved append paths, and ETag assertions in the test suites.

No .NET build or workshop integration test was run because the .NET SDK and Docker-backed Postgres/KurrentDB services were unavailable. This is a documentation-only change.

AI assistance: an AI coding assistant drafted the exercise steps from the code and tests. I checked the version numbering and file references against the repository.

Signed-off-by: NginxL <8777777+NginxL@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

Exercise 10 and 11 are missing a README.md

1 participant