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

Enable timeseries for local testing environment #904

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

michelletran-codecov
Copy link
Contributor

@michelletran-codecov michelletran-codecov commented Nov 20, 2024

All the Skipping timeseries migration logs are due to the fact that a timeseries database is configured (by default) but it's not enabled, which doesn't trigger the migration and hence the warning. We could probably also remove the warning, as it's kind of noisy. But this is quicker, because the warning is in shared.

I could also be convinced to just set line 207 to hardcode TIMESERIES_ENABLED=true (this will affect the tests in CI, but this doesn't really affect test runs).

BTW, running the tests on the umbrella-hat version of worker doesn't have this issue because the configuration in umbrella-hat sets timeseries to be enabled.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

All the `Skipping timeseries migration` logs are due to the fact that a
timeseries database is configured (by default) but it's not enabled,
which doesn't trigger the migration and hence the warning.
We _could_ probably also remove the warning, as it's kind of noisy.
But this is quicker, because the warning is in `shared`.
@michelletran-codecov michelletran-codecov requested a review from a team November 20, 2024 03:02
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.01%. Comparing base (3676a01) to head (eaf6898).
Report is 7 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #904   +/-   ##
=======================================
  Coverage   98.01%   98.01%           
=======================================
  Files         444      446    +2     
  Lines       35540    35608   +68     
=======================================
+ Hits        34835    34902   +67     
- Misses        705      706    +1     
Flag Coverage Δ
integration 41.99% <ø> (-0.01%) ⬇️
unit 90.88% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link

✅ All tests successful. No failed tests were found.

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@michelletran-codecov michelletran-codecov added this pull request to the merge queue Nov 20, 2024
Merged via the queue into main with commit 29d2d64 Nov 20, 2024
27 checks passed
@michelletran-codecov michelletran-codecov deleted the ensure_timeseries_migrations_in_tests branch November 20, 2024 16:32
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