Skip to content

Conversation

@Databean
Copy link
Member

@Databean Databean commented Oct 23, 2025

Adds a new flag --extract_super_image_fragments to cvd fetch.

This enables a new flow to download the super image components out of the target_files zip, using a path that only downloads the fragments of the zip necessary.

Downloading the super image fragments is comparable to downloading the image zip, but these files can be used to build a super image ourselves with any last-minute modifications we need.

Some performance and correctness improvements in the partial zip download are included in this change: increasing the chunk size for partial downloads, and working around libzip doing read-all behavior from its read calls. The partial zip download takes twice the time of the full image zip download, so hopefully more performance improvements are possible afterward.

This change also supersedes #1558 .

Bug: b/439877215

@Databean Databean force-pushed the download_super_info branch 2 times, most recently from 8f4d796 to 99d4fe8 Compare October 23, 2025 23:13
@Databean
Copy link
Member Author

Thanks for reviewing!

@Databean Databean added the kokoro:run Run e2e tests. label Oct 23, 2025
This enables a new flow to download the super image components out of
the target_files zip, using a path that only downloads the fragments of
the zip necessary.

Downloading the super image fragments is comparable to downloading the
image zip, but these files can be used to build a super image ourselves
with any last-minute modifications we need.

Some performance and correctness improvements in the partial zip
download are included in this change: increasing the chunk size for
partial downloads, and working around libzip doing read-all behavior
from its read calls. The partial zip download takes twice the time of
the full image zip download, so hopefully more performance improvements
are possible afterward.

This change also supersedes
google#1558 .

Bug: b/439877215
@Databean Databean force-pushed the download_super_info branch from 99d4fe8 to 1f60a7d Compare October 23, 2025 23:14
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Oct 23, 2025
@Databean Databean added this pull request to the merge queue Oct 24, 2025
Merged via the queue into google:main with commit 9af6ea8 Oct 24, 2025
41 of 42 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