Skip to content

Add provenance tracking for V2#1313

Open
jsuereth wants to merge 6 commits intoopen-telemetry:mainfrom
jsuereth:wip-provenance-in-v2
Open

Add provenance tracking for V2#1313
jsuereth wants to merge 6 commits intoopen-telemetry:mainfrom
jsuereth:wip-provenance-in-v2

Conversation

@jsuereth
Copy link
Copy Markdown
Contributor

This adds the provenance tracking we had discussed during our list SIG.

  • Weaver Resolved schema will track the following:
    • The whole schema has a list of dependencies, which are schema_urls
    • Every attribute in the catalog has a Provenance which will include a reference to the index of the dependency that defined it.
    • Every signal / attribute group will have the same Provenance.
    • Any attribute / signal defined locally to the schema (i.e. not imported) will NOT have a Provenance.
  • This does NOT impact "forge" / template schema yet, that will be follow-on work and we may want to discuss what belongs in forge.

@jsuereth jsuereth requested a review from a team as a code owner March 23, 2026 12:49
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 92.15686% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.2%. Comparing base (21c405e) to head (99bbaa9).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
crates/weaver_resolver/src/dependency.rs 84.8% 5 Missing ⚠️
crates/weaver_resolved_schema/src/v2/provenance.rs 50.0% 2 Missing ⚠️
crates/weaver_resolved_schema/src/v2/mod.rs 97.8% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #1313    +/-   ##
======================================
  Coverage   81.2%   81.2%            
======================================
  Files        111     112     +1     
  Lines       9371    9608   +237     
======================================
+ Hits        7617    7810   +193     
- Misses      1754    1798    +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant