-
Notifications
You must be signed in to change notification settings - Fork 100
Unified Check Run flow implementation #4906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ievdokdm
wants to merge
13
commits into
flutter:main
Choose a base branch
from
ievdokdm:176982-unified-checkrun-flow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jtmcdole
reviewed
Jan 8, 2026
app_dart/lib/src/request_handlers/presubmit_luci_subscription.dart
Outdated
Show resolved
Hide resolved
…ck Run Flow - Updated `GithubChecksService` to use the new `isTaskFailed` method for checking task failure. - Removed the deprecated `taskFailed` method from `GithubChecksService`. - Modified `LuciBuildService` to support unified check run flow, including changes to method signatures and logic for scheduling builds. - Enhanced `PresubmitUserData` to include optional fields for guard check run ID and stage. - Updated JSON serialization for `PresubmitUserData` to handle new fields. - Refactored `Scheduler` to integrate unified check run logic, including changes to document initialization and task scheduling. - Adjusted tests to reflect changes in method signatures and logic, ensuring proper mocking and verification.
… to work with PresubmitCompletedCheck
…accessing `check.isMergeGroup`
… single `processCheckRunCompleted` method.
58b19ad to
4a401be
Compare
jtmcdole
reviewed
Jan 14, 2026
Member
jtmcdole
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Comment on lines
+188
to
+191
| // Workaround for https://github.com/SpinlockLabs/github.dart/issues/412 | ||
| if (jsonData['conclusion'] == 'null') { | ||
| jsonData.remove('conclusion'); | ||
| } |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: do we need to update our package to get the update (that bug was closed.)
jtmcdole
approved these changes
Jan 14, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor GitHub Checks Service and Luci Build Service for Unified Check Run Flow
GithubChecksServiceto use the newisTaskFailedmethod for checking task failure.taskFailedmethod fromGithubChecksService.LuciBuildServiceto support unified check run flow, including changes to method signatures and logic for scheduling builds.PresubmitUserDatato include optional fields for guard check run ID and stage.PresubmitUserDatato handle new fields.Schedulerto integrate unified check run logic, including changes to document initialization and task scheduling.Fixes: flutter/flutter#176981
Fixes: flutter/flutter#176982