Skip to content

UN-3974 [DEV] Cut dashboard cron DB time by splitting the metrics schedule by tier and indexing workflow_execution on created_at - #2265

Merged
kirtimanmishrazipstack merged 22 commits into
UN-3883-Optimize-DB-cron-queries-causing-high-DB-loadfrom
UN-3974-split-metrics-schedule-and-prefilter-index
Sep 2, 2026
Merged

UN-3974 [DEV] Cut dashboard cron DB time by splitting the metrics schedule by tier and indexing workflow_execution on created_at#2265
kirtimanmishrazipstack merged 22 commits into
UN-3883-Optimize-DB-cron-queries-causing-high-DB-loadfrom
UN-3974-split-metrics-schedule-and-prefilter-index

UN-3974 [FIX] Merge the updated base after #2255 and #2264 landed

afbfa2d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 2, 2026 in 58s

Annotations

Check warning on line 90 in backend/dashboard_metrics/migrations/0006_split_aggregation_schedule.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "PeriodicTask" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaBYR5ubNoLA8-7j6wIl&open=AaBYR5ubNoLA8-7j6wIl&pullRequest=2265

Check warning on line 162 in backend/dashboard_metrics/migrations/0006_split_aggregation_schedule.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "PgPeriodicTask" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaBYR5ubNoLA8-7j6wIo&open=AaBYR5ubNoLA8-7j6wIo&pullRequest=2265

Check warning on line 89 in backend/dashboard_metrics/migrations/0006_split_aggregation_schedule.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "CrontabSchedule" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaBYR5ubNoLA8-7j6wIk&open=AaBYR5ubNoLA8-7j6wIk&pullRequest=2265

Check warning on line 91 in backend/dashboard_metrics/migrations/0006_split_aggregation_schedule.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "PgPeriodicTask" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaBYR5ubNoLA8-7j6wIm&open=AaBYR5ubNoLA8-7j6wIm&pullRequest=2265

Check warning on line 161 in backend/dashboard_metrics/migrations/0006_split_aggregation_schedule.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "PeriodicTask" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaBYR5ubNoLA8-7j6wIn&open=AaBYR5ubNoLA8-7j6wIn&pullRequest=2265