Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a more proper snapshot format #430

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Conversation

jorisdral
Copy link
Collaborator

The current snapshot format is only loosely established, so we add a more concrete snapshot format, which is more amenable to refactoring. This snapshot format is still temporary -- we will implement snapshots properly in a later package.

#426 is near to being ready, but it is currently still failing some tests related to snapshots. Establishing a snapshot format makes bug-hunting in the snapshot code easier.

The current snapshot format is only loosely established, so we add a more
concrete snapshot format, which is more amenable to refactoring. This snapshot
format is still temporary -- we will implement snapshots properly in a later
package.
Copy link
Collaborator

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

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

So unless I missed anything, this is mostly just moving the interim impl of snapshots from .Internal (and .Config and .RunNumber) into .Snapshot. Which is fine.

@jorisdral jorisdral added this pull request to the merge queue Oct 14, 2024
@jorisdral jorisdral removed this pull request from the merge queue due to a manual request Oct 14, 2024
@jorisdral
Copy link
Collaborator Author

So unless I missed anything, this is mostly just moving the interim impl of snapshots from .Internal (and .Config and .RunNumber) into .Snapshot. Which is fine.

That, and the (interim) format of a snapshot is more explicit

Copy link
Collaborator

@mheinzel mheinzel left a comment

Choose a reason for hiding this comment

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

That looks like a sensible improvement 👍

@jorisdral jorisdral added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit 23939c1 Oct 14, 2024
24 checks passed
@jorisdral jorisdral deleted the jdral/snapshot-format branch October 14, 2024 12:42
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