Skip to content

All telemetry criteria bug #8084

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 5 commits into from
Jun 25, 2025
Merged

All telemetry criteria bug #8084

merged 5 commits into from
Jun 25, 2025

Conversation

akhenry
Copy link
Contributor

@akhenry akhenry commented May 30, 2025

Closes VIPERGC-816

Describe your changes:

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this a notable change that will require a special callout in the release notes? For example, will this break compatibility with existing APIs or projects that consume these plugins?

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes? Yes - VIPERGC-816 regression test for condition sets bug akhenry/openmct-yamcs#495
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?

@akhenry akhenry changed the base branch from master to gold May 30, 2025 16:15
Copy link

codecov bot commented May 30, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (gold@4aea6a5). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ugins/condition/criterion/AllTelemetryCriterion.js 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             gold    #8084   +/-   ##
=======================================
  Coverage        ?   57.15%           
=======================================
  Files           ?      678           
  Lines           ?    27494           
  Branches        ?     2694           
=======================================
  Hits            ?    15714           
  Misses          ?    11439           
  Partials        ?      341           
Flag Coverage Δ
e2e-ci 62.82% <75.00%> (?)
e2e-full 23.59% <0.00%> (?)
unit 49.21% <75.00%> (?)
Files with missing lines Coverage Δ
.../plugins/condition/criterion/TelemetryCriterion.js 78.94% <100.00%> (ø)
...ugins/condition/criterion/AllTelemetryCriterion.js 45.52% <66.66%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4aea6a5...eea3335. Read the comment docs.

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

const validatedData = this.isValid()
? this.createNormalizedDatum(data, this.telemetryObject)
: {};
const validatedData = this.isValid() ? data : {};
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah! Because it's already normalized in ConditionManager. Nice!

@akhenry akhenry added this to the VIPER GDS 9.1 milestone Jun 24, 2025
@akhenry akhenry marked this pull request as ready for review June 24, 2025 21:42
@akhenry
Copy link
Contributor Author

akhenry commented Jun 24, 2025

@shefalijoshi Since this is targeting gold already, it will be less work to merge this into gold and then cherry-pick the squash merge into master.

@shefalijoshi shefalijoshi merged commit 3491473 into gold Jun 25, 2025
19 of 20 checks passed
@shefalijoshi shefalijoshi deleted the all-telemetry-criteria-bug branch June 25, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants