Skip to content

[hip] Incremental snapshots - #1823

Merged
ludfjig merged 4 commits into
hyperlight-dev:mainfrom
ludfjig:hip_3_snapshot
Oct 1, 2026
Merged

ludfjig merged 4 commits into
hyperlight-dev:mainfrom
ludfjig:hip_3_snapshot

Conversation

@ludfjig

@ludfjig ludfjig commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 10, 2026 20:22
@ludfjig ludfjig changed the title Add hip for incremental snapshots [hip] Incremental snapshots Sep 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The HIP text has a few clarity/formatting issues (including an ambiguous “cap” definition) that should be tightened to make the proposal easier to review and implement consistently.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Lite
Findings: 3 Low severity

New issues introduced by this change (3)
Severity Finding
Low severity proposals/​0003-incremental-snapshots/​README.md — Fix run-on sentence and wrap lines in Motivation paragraph
Low severity proposals/​0003-incremental-snapshots/​README.md — Remove extra blank lines before Proposal heading
Low severity proposals/​0003-incremental-snapshots/​README.md — Clarify what determines the snapshot mapping cap
What changed in this PR

Adds HIP 0003 proposing an incremental snapshot format for Hyperlight sandboxes, aiming to reduce snapshot latency and memory usage by sharing immutable snapshot “blobs” across snapshot layers.

Changes:

  • Introduces a new HIP describing an incremental, layered snapshot data model (layers, blobs, live ranges).
  • Describes algorithms for taking/restoring snapshots with minimal remapping by diffing live ranges.
  • Proposes an OCI-based on-disk representation using one file per blob and a v2 config format.
File Description
proposals/​0003-incremental-snapshots/​README.md New HIP documenting the incremental snapshot design, restore/take flow, and on-disk representation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread proposals/0003-incremental-snapshots/README.md Outdated
Comment thread proposals/0003-incremental-snapshots/README.md
Comment thread proposals/0003-incremental-snapshots/README.md Outdated
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Sep 10, 2026
andreiltd
andreiltd previously approved these changes Sep 11, 2026
Comment thread proposals/0003-incremental-snapshots/README.md Outdated
Comment thread proposals/0003-incremental-snapshots/README.md
Comment thread proposals/0003-incremental-snapshots/README.md
Comment thread proposals/0003-incremental-snapshots/README.md Outdated
Comment thread proposals/0003-incremental-snapshots/README.md
Comment thread proposals/0003-incremental-snapshots/README.md

@jsturtevant jsturtevant left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall looks like a good approach, left a few comments on the details.

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@jsturtevant

Copy link
Copy Markdown
Contributor

Discussed at community meeting (on Mondays find link here). Notes are in https://hackmd.io/AhiY2H3fRniOTVBje_4aWg

The general discussion direction was agreed upon, please read and post comments here otherwise we will have lazy consensus for merging on the Sept 28th (2 weeks).

Comment thread proposals/0003-incremental-snapshots/README.md

@syntactically syntactically left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great to me!

@ludfjig
ludfjig merged commit 1588736 into hyperlight-dev:main Oct 1, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants