Skip to content

Re-land Replay extraction PRs#4893

Merged
clockwork-labs-bot merged 5 commits intomasterfrom
centril/reland-replay-extract
Apr 27, 2026
Merged

Re-land Replay extraction PRs#4893
clockwork-labs-bot merged 5 commits intomasterfrom
centril/reland-replay-extract

Conversation

@Centril
Copy link
Copy Markdown
Contributor

@Centril Centril commented Apr 24, 2026

Description of Changes

See the corresponding commits/PRs for descriptions.

API and ABI breaking changes

None

Expected complexity level and risk

1 -- individual PRs already reviewed.

Testing

No semantic changes.

Centril added 5 commits April 24, 2026 15:29
# Description of Changes

Moves stuff out of `datastore.rs` and `committed_state.rs` that has to
do with replay into its own module `replay.rs`.
This also shaves 64 bytes off of `CommittedState` so that we don't
continue carrying the cost of replay after it has finished.

This is a more limited version / part 1 of
#4055 which focuses on
almost pure code motion so that we're more diligent and careful about
the transition. Future PRs will continue with other parts of #4055.

# API and ABI breaking changes

None

# Expected complexity level and risk

1, just simple and safe code motion.

# Testing

Covered by existing tests as this is code motion.
# Description of Changes

Shaves another 32 bytes off of `CommittedState` by moving the last
replay only map out of the type.

# API and ABI breaking changes

None

# Expected complexity level and risk

2

# Testing

Covered by existing tests.
# Description of Changes

First two commits are code motion.
The second commit fixes a mistake I made in a previous PR that made us
use potentially several `ReplayCommittedState`s per
`datastore.replay(..)`.

More to come in terms of PRs; stay tuned.

# API and ABI breaking changes

None

# Expected complexity level and risk

3
# Description of Changes

Move the rest of replay logic to `mod replay`.

Closes #4055.

# API and ABI breaking changes

None

# Expected complexity level and risk

2

# Testing

Just code motion.
@clockwork-labs-bot clockwork-labs-bot added this pull request to the merge queue Apr 27, 2026
Merged via the queue into master with commit 3b28744 Apr 27, 2026
94 of 99 checks passed
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.

3 participants