Skip to content

Store buildNumber in presubmitJob on inProgress event#5008

Open
ievdokdm wants to merge 2 commits intomainfrom
176973-buildnum
Open

Store buildNumber in presubmitJob on inProgress event#5008
ievdokdm wants to merge 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
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