Skip to content

In markConclusion do not throw exception if remainingJobs is zero#5113

Merged
auto-submit[bot] merged 1 commit into
flutter:mainfrom
ievdokdm:189989-update
Jul 24, 2026
Merged

In markConclusion do not throw exception if remainingJobs is zero#5113
auto-submit[bot] merged 1 commit into
flutter:mainfrom
ievdokdm:189989-update

Conversation

@ievdokdm

Copy link
Copy Markdown
Contributor

In markConclusion do not throw exception if remainingJobs is zero but keep it zero

fix: flutter/flutter#189989

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jul 24, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the UnifiedCheckRun class to gracefully handle cases where the remaining jobs count is already zero by logging the occurrence instead of throwing an exception, and adds a corresponding unit test. The reviewer identified a critical runtime issue where log.error is called on a Dart Logger instance, which does not exist and will throw a NoSuchMethodError at runtime; they recommended using log.warning or log.severe instead.

Comment thread app_dart/lib/src/service/firestore/unified_check_run.dart
@ievdokdm ievdokdm added the autosubmit Merge PR when tree becomes green via auto submit App. label Jul 24, 2026
@auto-submit
auto-submit Bot merged commit f876a76 into flutter:main Jul 24, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App. CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update job status failed if field "remaining_jobs" is already zero

2 participants