Skip to content

Store in firestore resutls of auto retry - #5116

Open
ievdokdm wants to merge 4 commits into
flutter:mainfrom
ievdokdm:190165-autorerun
Open

Store in firestore resutls of auto retry#5116
ievdokdm wants to merge 4 commits into
flutter:mainfrom
ievdokdm:190165-autorerun

Conversation

@ievdokdm

Copy link
Copy Markdown
Contributor

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jul 28, 2026
@ievdokdm
ievdokdm requested a review from jtmcdole July 28, 2026 23:17

@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 introduces functionality to automatically reschedule failed presubmit jobs for unified check runs by re-initializing them in Firestore. Specifically, it adds the reInitializeInProgressJob method to UnifiedCheckRun to transition the current job's status to failed and initialize a new job attempt, along with corresponding unit and integration tests. The review feedback highlights a race condition in reInitializeInProgressJob where the current job is read outside of the transaction before being updated. It is recommended to perform this read inside the transaction to ensure atomicity and consistency.

Comment thread app_dart/lib/src/service/firestore/unified_check_run.dart Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatic job rerun fail to update job status

1 participant