Skip to content

Create a type to represent the metadata image. #1271

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

Databean
Copy link
Member

The type provides access to the path of the metadata image, given that the file satisfies the constraints we impose on it. This means that accessing the file path guarantees that the file is created with the right constraints.

More specifically:

  • Remove metadata-specific members from CuttlefishConfig::InstanceSpecific.
  • Remove the --blank_metadata_image_mb flag. This has no users in Android CI.
  • Enforce the metadata.img name is only referenced in one place.

Bug: b/424863187

@Databean Databean requested review from jemoreira and cjreynol June 13, 2025 22:16
The type provides access to the path of the metadata image, given that
the file satisfies the constraints we impose on it. This means that
accessing the file path guarantees that the file is created with the
right constraints.

More specifically:
- Remove metadata-specific members from
  `CuttlefishConfig::InstanceSpecific`.
- Remove the `--blank_metadata_image_mb` flag. This has no users in
  Android CI.
- Enforce the `metadata.img` name is only referenced in one place.

Bug: b/424863187
@Databean
Copy link
Member Author

Thanks for reviewing!

@Databean Databean enabled auto-merge June 16, 2025 21:52
@Databean Databean added this pull request to the merge queue Jun 16, 2025
Merged via the queue into google:main with commit e8e0339 Jun 17, 2025
17 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