Update code so weaver check now supports v2 schema. by jsuereth · Pull Request #1016 · open-telemetry/weaver

@jsuereth

  • Adds a new flag which will force all policies to use new v2 schema
  • Tests after_resolution policy against v2 schema
  • Tests comparison with baseline policy with v2 schema
  • Adds warning to before_resolution for v2 schema and policies. (We will not support before_resolution in v2, for now)

@jsuereth

github-advanced-security[bot]

@jsuereth

@codecov

@jsuereth

@jsuereth

github-advanced-security[bot]

github-advanced-security[bot]

@jsuereth

@jsuereth jsuereth marked this pull request as ready for review

November 20, 2025 20:58

lmolkova

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out in semconv, works like a charm!

@jsuereth

@jsuereth

github-advanced-security[bot]

github-advanced-security[bot]

@jsuereth

@jsuereth

jerbly

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsuereth