Skip to content

Add mime_type field to InformationParameter in test_runs.proto - #1328

Merged
Sayter99 merged 1 commit into
google:masterfrom
gred0216:add-mime-type-field
Aug 28, 2026
Merged

Add mime_type field to InformationParameter in test_runs.proto#1328
Sayter99 merged 1 commit into
google:masterfrom
gred0216:add-mime-type-field

Conversation

@gred0216

Copy link
Copy Markdown
Contributor

Summary

Adds an optional mime_type field (tag 9) to InformationParameter in openhtf/output/proto/test_runs.proto.

Motivation

InformationParameter currently only supports specifying the payload format via the InformationTag enum (or defaulting to BINARY). Adding mime_type allows storing arbitrary MIME type strings for attachments/info parameters (matching the pattern in mfg_event.proto) so that downstream consumers and parsers can correctly identify the attachment format without losing the original MIME type.

Changes

  • Added optional string mime_type = 9; to message InformationParameter.
  • Updated // next tag = 10.
  • Fully backwards-compatible optional field addition.

@Sayter99
Sayter99 merged commit 70e4a32 into google:master Aug 28, 2026
14 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.

2 participants