Skip to content

Initial prototype for dependencies in forge schema. - #1671

Open
jsuereth wants to merge 5 commits into
open-telemetry:mainfrom
jsuereth:wip-dependencies-in-forge
Open

Initial prototype for dependencies in forge schema.#1671
jsuereth wants to merge 5 commits into
open-telemetry:mainfrom
jsuereth:wip-dependencies-in-forge

Conversation

@jsuereth

@jsuereth jsuereth commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Initial implementation of adding dependencies to forge schema.

  • Dependencies are now included in forge / template schema
  • Dependencies use cache, if it exists
  • Dependencies are hierarchical not linear.

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.41935% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.4%. Comparing base (a4a8081) to head (06f7ea5).

Files with missing lines Patch % Lines
crates/weaver_resolver/src/lib.rs 0.0% 4 Missing ⚠️
crates/weaver_forge/src/v2/registry.rs 88.8% 3 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1671   +/-   ##
=====================================
  Coverage   81.4%   81.4%           
=====================================
  Files        131     131           
  Lines      11715   11748   +33     
=====================================
+ Hits        9543    9571   +28     
- Misses      2172    2177    +5     

☔ View full report in Codecov by Harness.
📢 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.

Comment thread crates/weaver_forge/src/v2/registry.rs Outdated
@jsuereth
jsuereth marked this pull request as ready for review August 7, 2026 20:43
@jsuereth
jsuereth requested a review from a team as a code owner August 7, 2026 20:43
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 7, 2026

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-08-08 00:39 UTC

Respond to 2 review items (e.g. link a commit, explain why not, ask a follow-up):

  • Inline threads: 1, 2
Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with reviewers? Comment /dashboard route:reviewers to route it to them.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

"description": "A resolved semantic convention registry used in the context of the template and policy\nengines.\n\nThis includes all registries fully fleshed out and ready for codegen.",
"type": "object",
"properties": {
"dependencies": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please update md doc we have next to this file

Comment thread src/weaver.rs
weaver_forge::v2::registry::ForgeResolvedRegistry::try_from_resolved_schema(
resolved.clone(),
)?;
let template = match weaver_forge::v2::registry::ForgeResolvedRegistry::try_from_resolved_schema(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can you please add some tests? Mostly interested in having some existing test registry her, rendering its forge schema and having expected output checked in

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.

2 participants