Skip to content

Removes RetryHistory.Id - #5698

Merged
johnsimons merged 1 commit into
masterfrom
john/refactor_retry_history
Aug 5, 2026
Merged

Removes RetryHistory.Id#5698
johnsimons merged 1 commit into
masterfrom
john/refactor_retry_history

Conversation

@johnsimons

Copy link
Copy Markdown
Member

The RavenDB store now passes the document key to StoreAsync explicitly rather than stamping it onto the model.

Why

The property only ever held the constant "RetryOperations/History", the key of the singleton document the retry history lives in. 4966cf21c3 ("move all ravendb specific ID generation into the ravenDB persistence layer") already deleted RetryHistory.MakeId() and inlined the string as a private const in the Raven store. The Id property was the last piece left behind, and it leaks a document-store concept into a model that the EF Core persisters also have to implement, where there is no document and no key to carry.

Impact

GET /api/recoverability/history no longer returns id.
This PR against ServicePulse ensures we are not using the Id on the frontend code.

This is just a Raven concern
@johnsimons johnsimons self-assigned this Aug 5, 2026
@johnsimons
johnsimons merged commit 1d95900 into master Aug 5, 2026
37 checks passed
@johnsimons
johnsimons deleted the john/refactor_retry_history branch August 5, 2026 04:25
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