Skip to content

data(watch): drop invalid sub-1GB storage_options_gb from Huawei 2018 watches - #53

Merged
Seungpyo1007 merged 2 commits into
mainfrom
data/fix-huawei-watch-storage
Jun 22, 2026
Merged

Seungpyo1007 merged 2 commits into
mainfrom
data/fix-huawei-watch-storage

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Jun 22, 2026 •

Copy link
Copy Markdown
Member

What

Huawei Watch GT and Huawei Watch Magic (2018) carried storage_options_gb: [0.125] (128 MB stored as fractional GB). That is not a valid integer-GB value:

  • app.validate._check_storage_options_gb requires int >= 1.
  • TechEngine's MobileDeviceRead schema rejects the fractional float, which breaks the static dump (test_dump fails: Input should be a valid integer, got 0.125).

Because TechEngine's test.yml checks out TechAPI main live and seeds from it, this one bad value fails the test suite on every TechEngine PR.

Fix

Remove the optional storage_options_gb field from both records (surgical text removal — no reserialization, all other fields byte-identical). 128 MB cannot be represented as integer GB and the field is optional, so dropping it is the clean fix.

Effect

Unblocks TechEngine CI (and the weekly-refresh dump). The public site/public/v1 dump is regenerated by the refresh pipeline.

Closes #1

… watches

Huawei Watch GT/Magic carried storage_options_gb: [0.125] (128 MB), which is
not a valid integer-GB value: app.validate requires int >= 1 and TechEngine's
MobileDeviceRead rejects the fractional float, breaking the static dump. Remove
the field (the optional storage list) so the records validate and dump cleanly.

Refs #1
… watches

Huawei Watch GT/Magic carried storage_options_gb: [0.125] (128 MB), which is
not a valid integer-GB value: app.validate requires int >= 1 and TechEngine's
MobileDeviceRead rejects the fractional float, breaking the static dump. Remove
the field (the optional storage list) so the records validate and dump cleanly.

Refs #1
@github-actions github-actions Bot added data Dataset changes enhancement New feature or request labels Jun 22, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Jun 22, 2026
@Seungpyo1007
Seungpyo1007 merged commit 6ea442a into main Jun 22, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Jun 22, 2026
@Seungpyo1007
Seungpyo1007 deleted the data/fix-huawei-watch-storage branch June 22, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Dataset changes enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

TechAPI dataset roadmap and status: all categories (1989-2026)

1 participant