feat(#4975): exact ReadProjectionProgressAsync(ShardName) override + JasperFx 2.29.0#4976
Merged
Merged
Conversation
…JasperFx 2.29.0 Follow-up to #4962. #529 (JasperFx.Events 2.29.0) adds an exact per-cell progression read; implement it on MartenDatabase as a straight `where name = @name.Identity` lookup against mt_event_progression — no version/shard collapsing, so a blue/green deploy's versions, a sliced projection's shard keys, and per-tenant partitions each address their own row. A ShardKey of "All" is the projection's global cell. Returns null when the identity has no row; AgentStatus/LastHeartbeat stay null (#519). Bumps the JasperFx packages 2.28.1 -> 2.29.0. Adds read_projection_progress coverage: exact overload reads the specific version (not the newest), returns null for an absent identity, and distinguishes tenant rows. Closes #4975. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XKKBPsFJ83jd2o4hyGJnj6
This was referenced Jul 18, 2026
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.
Follow-up to #4962. JasperFx/jasperfx#529 (JasperFx.Events 2.29.0) adds an exact per-cell progression read; this implements it on
MartenDatabase.What
ReadProjectionProgressAsync(ShardName name, CancellationToken)— a straightwhere name = @name.Identitylookup againstmt_event_progression, no version/shard collapsing (the caller supplies the fullShardName, e.g. fromAllProjectionProgress). A blue/green deploy's versions, a sliced projection's shard keys, and per-tenant partitions each address their own row;ShardKey == "All"is the projection's global cell. Returnsnullfor an absent identity;AgentStatus/LastHeartbeatstaynull(#519).Bumps the JasperFx packages 2.28.1 → 2.29.0.
Tests
Extends
read_projection_progress: the exact overload reads the specific version (25 for V2, not the newest V3's 40), returnsnullfor an absent identity, and distinguishes tenant rows. 8/8 pass locally against the published 2.29.0.Closes #4975. Companion to the Polecat adoption (JasperFx/polecat#333) and the umbrella #435.
🤖 Generated with Claude Code