Skip to content

[minor] Use SemanticRestateVersion instead of semver in ClusterMarker#4178

Merged
AhmedSoliman merged 2 commits intomainfrom
pr4178
Jan 13, 2026
Merged

[minor] Use SemanticRestateVersion instead of semver in ClusterMarker#4178
AhmedSoliman merged 2 commits intomainfrom
pr4178

Conversation

@AhmedSoliman
Copy link
Copy Markdown
Contributor

@AhmedSoliman AhmedSoliman commented Jan 12, 2026

Using our existing abstractions, fully compatible with semver::Version.


Stack created with Sapling. Best reviewed with ReviewStack.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 12, 2026

Test Results

  7 files  +  2    7 suites  +2   3m 6s ⏱️ + 1m 49s
 47 tests + 13   47 ✅ + 13  0 💤 ±0  0 ❌ ±0 
200 runs  +148  200 ✅ +148  0 💤 ±0  0 ❌ ±0 

Results for commit 781b41a. ± Comparison against base commit 96bd772.

This pull request removes 34 and adds 47 tests. Note that renamed tests count towards both.
dev.restate.sdktesting.tests.AwakeableIngressEndpointTest ‑ completeWithFailure(Client)
dev.restate.sdktesting.tests.AwakeableIngressEndpointTest ‑ completeWithSuccess(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$NewVersion ‑ completeAwakeable(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$NewVersion ‑ completeRetryableOperation(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$NewVersion ‑ proxyCallShouldBeDone(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$NewVersion ‑ proxyOneWayCallShouldBeDone(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$OldVersion ‑ createAwakeable(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$OldVersion ‑ startOneWayProxyCall(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$OldVersion ‑ startProxyCall(Client)
dev.restate.sdktesting.tests.BackwardCompatibilityTest$OldVersion ‑ startRetryableOperation(Client)
…
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[1]
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[2]
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[3]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromAdminAPI(BlockingOperation, Client, URI)[1]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromAdminAPI(BlockingOperation, Client, URI)[2]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromAdminAPI(BlockingOperation, Client, URI)[3]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromContext(BlockingOperation, Client)[1]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromContext(BlockingOperation, Client)[2]
dev.restate.sdktesting.tests.Cancellation ‑ cancelFromContext(BlockingOperation, Client)[3]
dev.restate.sdktesting.tests.Combinators ‑ awakeableOrTimeoutUsingAwakeableTimeoutCommand(Client)
…

♻️ This comment has been updated with latest results.

Adds support for HLC timestamps and extended headers in the record format
for both log-server and local_loglet storage layers.

Note that in this commit we don't actually write the HLC timestamp nor the extended header, but we handle decoding them correctly for forward compatibility. Additionally,
the new flag for ExtendedHeader allows arbitrary header fields to be added (based on flags) in the future.

Fixes #4149


- Add RecordFlags bitflags with HlcTimestamp and ExtendedHeader flags
- Decode HLC timestamps (UniqueTimestamp) when HlcTimestamp flag is set
- Skip extended header bytes when ExtendedHeader flag is set (forward compat)
- Add test cases for decoding records with various flag combinations
- Fix missing ExtendedHeader handling in bifrost decode_custom_encoded_record
Using our existing abstractions, fully compatible with semver::Version.
Copy link
Copy Markdown
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks for making our code base more uniform @AhmedSoliman. LGTM. +1 for merging :-)

@AhmedSoliman AhmedSoliman merged commit 7971441 into main Jan 13, 2026
59 checks passed
@AhmedSoliman AhmedSoliman deleted the pr4178 branch January 13, 2026 20:22
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants