Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ dev-dependencies = [
[tool.uv.sources]
timestring = { git = "https://github.com/codecov/timestring", rev = "d37ceacc5954dff3b5bd2f887936a98a668dda42" }
test-results-parser = { git = "https://github.com/codecov/test-results-parser", rev = "190bbc8a911099749928e13d5fe57f6027ca1e74" }
shared = { git = "https://github.com/codecov/shared", rev = "284b92c74f0bc7ca5c4f6f139f3b26fe64fe9c1a" }
shared = { git = "https://github.com/codecov/shared", rev = "e30c1c7e3ff9c4527986d5bb67ae628dc1a18abb" }
5 changes: 1 addition & 4 deletions services/test_analytics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

def should_use_timeseries(repoid: int) -> bool:
timeseries_enabled = get_config("setup", "timeseries", "enabled", default=False)
test_analytics_database_enabled = get_config(
"setup", "test_analytics_database", "enabled", default=False
)
if timeseries_enabled and test_analytics_database_enabled:
if timeseries_enabled:

Check warning on line 7 in services/test_analytics/utils.py

View check run for this annotation

Codecov Notifications / codecov/patch

services/test_analytics/utils.py#L7

Added line #L7 was not covered by tests
return True
return False

Expand Down
4 changes: 2 additions & 2 deletions tasks/new_user_activated.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def run_impl(self, db_session, org_ownerid, user_ownerid, *args, **kwargs):
)

return {
"notifies_scheduled": bool(len(pulls_notified)),
"notifies_scheduled": bool(pulls_notified),
"pulls_notified": pulls_notified,
"reason": None
if len(pulls_notified)
if pulls_notified
else "no pulls/pull notifications met criteria",
}

Expand Down
Loading