Skip to content

Conversation

@jperals
Copy link
Member

@jperals jperals commented Sep 9, 2025

Description of changes: Pass package name along with component metrics so that we can distinguish from components from different packages that have the same name (motivation: Pie Chart from Components vs Pie Chart from Chart Components).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.32%. Comparing base (e539ae0) to head (5b21706).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #160   +/-   ##
=======================================
  Coverage   99.32%   99.32%           
=======================================
  Files          36       36           
  Lines         893      893           
  Branches      248      235   -13     
=======================================
  Hits          887      887           
  Misses          6        6           

☔ 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.

@jperals jperals marked this pull request as ready for review September 10, 2025 08:39
@jperals jperals requested a review from a team as a code owner September 10, 2025 08:39
@jperals jperals requested review from ClaudioGSDB and just-boris and removed request for a team September 10, 2025 08:39
// "used" – individual component used
action: 'loaded' | 'used';
configuration?: ComponentConfiguration;
packageSource?: string;
Copy link
Member

Choose a reason for hiding this comment

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

Why is it called packageSource instead of sourcePackage or just package?

Copy link
Member Author

Choose a reason for hiding this comment

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

Based on the existing context.packageSource, but I don't have a strong preference.

Could also be packageName for consistency with componentName.

Let's call it package for simplicity?

@jperals jperals enabled auto-merge (squash) September 10, 2025 11:12
@jperals jperals removed the request for review from ClaudioGSDB September 10, 2025 11:13
@jperals jperals disabled auto-merge September 10, 2025 11:14
@jperals jperals enabled auto-merge (squash) September 10, 2025 11:14
@jperals jperals merged commit 86f1d80 into main Sep 10, 2025
36 checks passed
@jperals jperals deleted the chore/emit-package-in-metrics branch September 10, 2025 11:36
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.

3 participants