Skip to content

default text if summary is null or empty#5016

Merged
auto-submit[bot] merged 2 commits intomainfrom
184360-details
Apr 6, 2026
Merged

default text if summary is null or empty#5016
auto-submit[bot] merged 2 commits intomainfrom
184360-details

Conversation

@ievdokdm
Copy link
Copy Markdown
Contributor

@ievdokdm ievdokdm commented Apr 3, 2026

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

github-actions bot commented Apr 3, 2026

🤖 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.

@ievdokdm ievdokdm requested a review from eyebrowsoffire April 3, 2026 18:50
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 addresses an issue where an empty summary (not null) in a presubmit job would be displayed as an empty box instead of default details. The fix correctly uses a null-aware and empty-check pattern to show default information in these cases.

🔍 General Feedback

  • Robustness: While the fix correctly handles null and empty strings, consider using trim().isEmpty to also handle cases where the summary consists only of whitespace characters.
  • Maintenance: A minor typo ('bellow' instead of 'below') was noted in the related _getDefaultJobDetails function's return strings, which should be corrected for better user experience.
  • Testing: Adding a test case for the empty string scenario would ensure the fix is robust and prevents future regressions.

@ievdokdm ievdokdm added CICD Run CI/CD and removed CICD Run CI/CD labels Apr 4, 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 f20d3ad into main Apr 6, 2026
46 checks passed
@reidbaker
Copy link
Copy Markdown
Contributor

This pr possibly caused an auto submit regression.

@reidbaker
Copy link
Copy Markdown
Contributor

See flutter/flutter#184764

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.

Rename "Execution Log" to "Execution Details"

3 participants