Skip to content

Store buildNumber in presubmitJob on inProgress event#5008

Merged
auto-submit[bot] merged 2 commits intomainfrom
176973-buildnum
Mar 31, 2026
Merged

Store buildNumber in presubmitJob on inProgress event#5008
auto-submit[bot] merged 2 commits intomainfrom
176973-buildnum

Conversation

@ievdokdm
Copy link
Copy Markdown
Contributor

Store buildNumber in presubmitJob on inProgress event

Fix: flutter/flutter#184371

@ievdokdm ievdokdm added autosubmit Merge PR when tree becomes green via auto submit App. CICD Run CI/CD labels Mar 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 Hi @ievdokdm, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

## 📋 Review Summary

This pull request correctly adds the storage of the buildNumber in the presubmitJob record during the inProgress state. This ensures that the build number is available for monitoring or debugging purposes as soon as the build starts.

🔍 General Feedback

  • The change is surgical and consistent with the existing logic for handling job completion.
  • I've suggested adding a unit test to verify this behavior and prevent regressions in the future.
  • The use of state.buildNumber is safe because the PresubmitJob.buildNumber setter correctly handles nullable integers.

@ievdokdm ievdokdm added CICD Run CI/CD and removed CICD Run CI/CD labels Mar 31, 2026
@ievdokdm ievdokdm added CICD Run CI/CD and removed CICD Run CI/CD labels Mar 31, 2026
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App. label Mar 31, 2026
@auto-submit
Copy link
Copy Markdown
Contributor

auto-submit bot commented Mar 31, 2026

autosubmit label was removed for flutter/cocoon/5008, because - The status or check suite ci.yaml validation has failed. Please fix the issues identified (or deflake) before re-applying this label.

@ievdokdm ievdokdm added autosubmit Merge PR when tree becomes green via auto submit App. CICD Run CI/CD and removed CICD Run CI/CD labels Mar 31, 2026
Copy link
Copy Markdown
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

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

LGTM

@auto-submit auto-submit bot merged commit 98cdde6 into main Mar 31, 2026
10 checks passed
@ievdokdm ievdokdm deleted the 176973-buildnum branch March 31, 2026 21:50
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.

store build number for job on inProgress event

2 participants