8000 [bindings] Add crate tests for parsing metadata by gnalh · Pull Request #692 · trunk-io/analytics-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[bindings] Add crate tests for parsing metadata #692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged

Conversation

gnalh
Copy link
Collaborator
@gnalh gnalh commented Jun 19, 2025

We were also missing conditional feature flags. These were failing to build locally when running from the crate directory. This passed CI because it runs all tests using the feature flag.

@gnalh gnalh requested a review from cmillar-trunk as a code owner June 19, 2025 00:33
Copy link
trunk-io bot commented Jun 19, 2025

😎 Merged successfully - details.

@gnalh gnalh requested review from dfrankland and pv72895 June 19, 2025 00:33
Comment on lines +345 to +346
match parsed_meta.unwrap() {
VersionedBundle::V0_7_7(meta) => {
Copy link
Member

Choose a reason for hiding this comment

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

optional, but I find it nice: the assert_matches! macro can do this without needing to nest your statements

@codecov-commenter
Copy link
codecov-commenter commented Jun 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.12%. Comparing base (4d35464) to head (16ca0b2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #692      +/-   ##
==========================================
+ Coverage   73.80%   74.12%   +0.32%     
==========================================
  Files          68       68              
  Lines       14983    15023      +40     
==========================================
+ Hits        11058    11136      +78     
+ Misses       3925     3887      -38     

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

Copy link
trunk-staging-io bot commented Jun 19, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

1 similar comment
Copy link

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Copy link
trunk-io bot commented Jun 19, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@trunk-io trunk-io bot merged commit 25a10a9 into main Jun 19, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0