Skip to content

Commit

Permalink
Merge branch 'main' into TRAB-646
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis authored Jan 21, 2025
2 parents 40abb72 + 1ca7a5f commit 9e2800a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/fetch_health_metrics_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def perform(production_release_id, frequency)
release = production_release.release
return if release.stopped?
return if release.finished? && production_release.beyond_monitoring_period?
return if production_release.stale?

begin
production_release.fetch_health_data!
Expand Down
1 change: 1 addition & 0 deletions app/models/production_release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def fetch_health_data!
return if store_rollout.blank?
return if beyond_monitoring_period?
return if monitoring_provider.blank?
return if stale?

release_data = monitoring_provider.find_release(platform, version_name, build_number)

Expand Down

0 comments on commit 9e2800a

Please sign in to comment.