Skip to content

Add support for custom units in OpenHTF proto converters.#1287

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_919012532
Jun 11, 2026
Merged

Add support for custom units in OpenHTF proto converters.#1287
copybara-service[bot] merged 1 commit into
masterfrom
test_919012532

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add support for custom units in OpenHTF proto converters.

This change modifies the mfg_event_converter and test_runs_converter to populate the custom_unit_code and custom_unit_suffix fields in the output protos when a measurement's unit code is not in the predefined UOM_CODE_MAP. New test cases are added to verify the correct handling of custom units in both converters.

@google-cla

google-cla Bot commented May 21, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service Bot force-pushed the test_919012532 branch 8 times, most recently from 14a01d8 to 6505559 Compare May 21, 2026 14:36
@copybara-service copybara-service Bot force-pushed the test_919012532 branch 4 times, most recently from 2bc664e to 790f7b9 Compare June 11, 2026 00:42
This change modifies the mfg_event_converter and test_runs_converter to populate the custom_unit_code and custom_unit_suffix fields in the output protos when a measurement's unit code is not in the predefined UOM_CODE_MAP. New test cases are added to verify the correct handling of custom units in both converters.

PiperOrigin-RevId: 930179956
@copybara-service copybara-service Bot merged commit e08cff1 into master Jun 11, 2026
6 of 7 checks passed
@copybara-service copybara-service Bot deleted the test_919012532 branch June 11, 2026 00:50
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.

0 participants