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

fix: actually use history in aggregate_test_results #789

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@joseph-sentry joseph-sentry requested a review from a team September 3, 2024 17:50
@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!

Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.14%. Comparing base (b08bc0c) to head (3c1aa45).
Report is 26 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##               main       #789   +/-   ##
===========================================
  Coverage   96.14000   96.14000           
===========================================
  Files           812        812           
  Lines         18486      18486           
===========================================
  Hits          17773      17773           
  Misses          713        713           
Flag Coverage Δ
unit 91.98% <ø> (ø)
unit-latest-uploader 91.98% <ø> (ø)

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.

dt.datetime.now(dt.UTC) - dt.timedelta(days=30)
if history is not None
else thirty_days_ago
(dt.datetime.now(dt.UTC) - history) if history is not None else thirty_days_ago
Copy link
Contributor

Choose a reason for hiding this comment

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

What values can history range from?

Copy link
Contributor Author

@joseph-sentry joseph-sentry Sep 12, 2024

Choose a reason for hiding this comment

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

i guess it could technically be anything if the caller to this function decides, as long as its a timedelta

Copy link
Contributor

Choose a reason for hiding this comment

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

If this is going to leverage the partitions, I'd perhaps leave a comment noting the partition size and to be aware of preferred ranges 👌

@joseph-sentry joseph-sentry added this pull request to the merge queue Sep 12, 2024
Merged via the queue into main with commit a182d7c Sep 12, 2024
18 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-test-results-gql branch September 12, 2024 17:05
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