Skip to content

Bug-1999558: Display complete commit message even when newline is absent#1000

Merged
kala-moz merged 4 commits intomozilla:mainfrom
moijes12:bug1999558
Feb 17, 2026
Merged

Bug-1999558: Display complete commit message even when newline is absent#1000
kala-moz merged 4 commits intomozilla:mainfrom
moijes12:bug1999558

Conversation

@moijes12
Copy link
Contributor

Change

This change ensures that single line commit messages with absent newlines are displayed correctly. If a newline is present in the message summary, then it is treated as the commit message. If no newline is present in the message summary, then the entire summary is taken as commit message.

Testing

A new test has been added to verify the change. The snapshots have been regenerated to reflect the changes.

@kala-moz @davehunt

Fixes Bug-1999558

@netlify
Copy link

netlify bot commented Feb 11, 2026

Deploy Preview for mozilla-perfcompare ready!

Name Link
🔨 Latest commit 69227ef
🔍 Latest deploy log https://app.netlify.com/projects/mozilla-perfcompare/deploys/6990914dec80e100085430ff
😎 Deploy Preview https://deploy-preview-1000--mozilla-perfcompare.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.46%. Comparing base (fa5cbcd) to head (69227ef).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1000   +/-   ##
=======================================
  Coverage   96.46%   96.46%           
=======================================
  Files         104      104           
  Lines        3025     3028    +3     
  Branches      691      694    +3     
=======================================
+ Hits         2918     2921    +3     
  Misses        106      106           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@moijes12 moijes12 marked this pull request as ready for review February 11, 2026 11:06
@moijes12
Copy link
Contributor Author

moijes12 commented Feb 12, 2026

@gmierz @kala-moz The review comments have been implemented. I have also rebased the changes over the latest code in the main branch. Please can you review this PR again.

@moijes12 moijes12 requested a review from gmierz February 12, 2026 06:04
@kala-moz
Copy link
Contributor

kala-moz commented Feb 12, 2026

@moijes12 Hi Alex, for future PRs, there's no need to @ Dave Hunt .

Copy link
Contributor

@kala-moz kala-moz left a comment

Choose a reason for hiding this comment

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

Thanks for your PR. Also, in the future, you can add screenshots to the PR itself vs the bug. Makes it faster to review. Aside from the comment changes, this LGTM.

@moijes12 moijes12 requested a review from kala-moz February 13, 2026 02:19
This change ensures that single line commit messages with absent newlines are displayed correctly.
If a newline is present in the message summary, then it is treated as the commit message.
If no newline is present in the message summary, then the entire summary is taken as commit message.

A new test has been added to verify the change. The snapshots have been regenerated to reflect the changes.

@kala-moz @davehunt

Fixes [Bug-1999558](https://bugzilla.mozilla.org/show_bug.cgi?id=1999558)
Implement review comment by making the added comment into a
multiline comment.
Remove Bug number from comment as suggested in review comment
Fix merge conflicts by rebasing code over latest changes in main.
@moijes12
Copy link
Contributor Author

moijes12 commented Feb 14, 2026

@kala-moz Rebased my changes over the latest code in main and fixed the merge conflicts in latest commit

@kala-moz kala-moz merged commit fda1fb2 into mozilla:main Feb 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments