ExportXMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DB Integration & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      Parser support for the metrics grammar in the IDL compiler (epic SPM-4962, split from SERVER-138331). *_metrics.idl files parse and validate after this change; nothing downstream acts on them yet.

      Scope

      • New buildscripts/idl/idl/metrics/ subpackage: syntax.py, ast.py, parser.py, errors.py.
      • Thin hooks in idl/parser.py, idl/syntax.py, idl/ast.py, idl/errors.py, tests/testcase.py.
      • Schemas: buildscripts/idl/metrics_schema.yml and the idl_schema.yml extension.
      • Metrics grammar files must be named <feature>_metrics.idl; only metrics_sections.idl may declare a metrics_section block.
      • OWNERS.yml and CODEOWNERS for the new subpackage.

      Tests

      tests/test_metrics_parser.py, tests/test_metrics_yaml_schema.py. Full IDL suite green (197 passed).

            Assignee:
            Finley Lau
            Reporter:
            Finley Lau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: