Skip to content

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Oct 29, 2023

Issue

Closes #73

Description

This PR adds runc checkpoint --auto-dedup <id> and runc restore --auto-dedup <id> support.

Signed-off-by: Austin Vazquez [email protected]

@codecov-commenter
Copy link

codecov-commenter commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4a6db15) 21.40% compared to head (c7a99a6) 25.34%.

❗ Current head c7a99a6 differs from pull request most recent head aa7c06c. Consider uploading reports for the commit aa7c06c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   21.40%   25.34%   +3.93%     
==========================================
  Files           7        7              
  Lines         724      726       +2     
==========================================
+ Hits          155      184      +29     
+ Misses        528      474      -54     
- Partials       41       68      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@austinvazquez austinvazquez marked this pull request as ready for review October 29, 2023 06:06
defer cancel()

okRunc := &Runc{
Command: "/bin/true",
Copy link
Member Author

@austinvazquez austinvazquez Oct 29, 2023

Choose a reason for hiding this comment

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

I also tried /bin/echo thinking I could validate the command by having it returned in output for a better assertion; however, runOrError only returns output as error when non-zero exit code.

@austinvazquez austinvazquez changed the title Enable checkpoint auto deduplication of memory images Enable checkpoint/restore auto deduplication of memory images Feb 9, 2024
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.

Enable passing the --auto-dedup flag

2 participants