Page MenuHomePhabricator

Typo in secondary schemas: mexLength instead of maxLength
Closed, ResolvedPublic1 Estimated Story Points

Description

And it's messing with tests!

Test failed https://gitlab.wikimedia.org/repos/data-engineering/schemas-event-secondary/-/jobs/536479

1) Schema Compatibility in Repository ./jsonschema/
       analytics/product_metrics/web/translation
         Major Version 1
           1.4.2 must be compatible with 1.0.0:

      AssertionError [ERR_ASSERTION]: Error at path: .properties.element_id.mexLength
      + expected - actual

       {
         "description": "The ID of the UI element that was clicked."
      -  "maxLength": 64
      +  "mexLength": 64
         "type": "string"
       }

All schemas affected by typo: https://codesearch.wmcloud.org/analytics/?q=mexLength&files=&excludeFiles=&repos=repos%2Fdata-engineering%2Fschemas-event-secondary

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
product_metrics/web/translation: use common 1.4.2repos/data-engineering/schemas-event-secondary!58bearlogatranslation-experimentationmaster
Customize query in GitLab