Skip to content
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

#9257: fix heartbeat telemetry regression #9258

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

twschiller
Copy link
Contributor

@twschiller twschiller commented Oct 9, 2024

What does this PR do?

Checklist

  • Cut/submit a beta to CWS beta channel

Future Work

For more information on our expectations for the PR process, see the
code review principles doc

Copy link

github-actions bot commented Oct 9, 2024

Playwright test results

passed  131 passed
flaky  7 flaky
skipped  4 skipped

Details

report  Open report ↗︎
stats  142 tests across 46 suites
duration  15 minutes, 42 seconds
commit  c7c6627
info  For more information on how to debug and view this report, see our readme

Flaky tests

chrome › tests/pageEditor/addStarterBrick.spec.ts › Add starter brick to mod
msedge › tests/pageEditor/addStarterBrick.spec.ts › Add starter brick to mod
msedge › tests/pageEditor/copyMod.spec.ts › run a copied mod with a built-in integration
msedge › tests/pageEditor/liveEditing.spec.ts › live editing behavior
msedge › tests/pageEditor/modEditorPane.spec.ts › mod editor pane behavior
chrome › tests/pageEditor/saveMod.spec.ts › can save a new trigger mod
msedge › tests/regressions/hideModalsOnPageEditorRefresh.spec.ts › should hide add brick modal when Page Editor refreshes

Skipped tests

chrome › tests/regressions/doNotCloseSidebarOnPageEditorSave.spec.ts › #8104: Do not automatically close the sidebar when saving in the Page Editor
msedge › tests/regressions/doNotCloseSidebarOnPageEditorSave.spec.ts › #8104: Do not automatically close the sidebar when saving in the Page Editor
chrome › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options
msedge › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options

// ModDefinition does not currently require version.
blueprintVersion:
modInstance.definition.metadata.version ??
normalizeSemVerString("0.0.0"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: why "0.0.0" vs "1.0.0"?

It seems like we do this defaulting logic in a couple of different places so it might be worth looking into if we can make this a non-optional field upstream.

Copy link
Contributor Author

@twschiller twschiller Oct 9, 2024

Choose a reason for hiding this comment

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

nit: why "0.0.0" vs "1.0.0"?

So on the backend it's easier to see if it's defaulted or not

It seems like we do this defaulting logic in a couple of different places so it might be worth looking into if we can make this a non-optional field upstream.

I agree - see the future work ticket calling out fixing the upstream types. The change was too large to make on short turnaround

Copy link

github-actions bot commented Oct 9, 2024

No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack.

Do not edit this comment manually.

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

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

Project coverage is 75.10%. Comparing base (8318d74) to head (c7c6627).
Report is 352 commits behind head on main.

Files with missing lines Patch % Lines
src/utils/deploymentUtils.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9258      +/-   ##
==========================================
+ Coverage   74.24%   75.10%   +0.85%     
==========================================
  Files        1332     1370      +38     
  Lines       40817    42302    +1485     
  Branches     7634     7892     +258     
==========================================
+ Hits        30306    31769    +1463     
- Misses      10511    10533      +22     

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

@twschiller twschiller merged commit e95e85b into main Oct 9, 2024
20 checks passed
@twschiller twschiller deleted the feature/9257-fix-heartbeat-metadata branch October 9, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression
Development

Successfully merging this pull request may close these issues.

Invalid mod version number passed in heartbeat
2 participants