Closed Bug 1999558 Opened 6 months ago Closed 1 month ago

Commit message cut off (last character missing if commit message contains no line break)

Categories

(Testing :: PerfCompare, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Assigned: moijes12)

References

Details

(Whiteboard: [pcf])

Attachments

(3 files)

Example: https://perf.compare/compare-results?baseRev=f37fd7e1c1d049641ac1693c93d450f9927d0317&baseRepo=try&newRev=3a648c55b0d2262c96c50afb2ea46e5894ceac34&newRepo=try&framework=15

PerfHerder displays "warmup classifie" without the "r" at the end even though the actual commit message is "warmup classifier".

Looks like getLatestCommitMessage doesn't handle the case where lastUsefulRevision.comments.indexOf('\n') returns -1.
https://github.com/mozilla/perfcompare/blob/cd19ffee93fb5fcf22019bea96089ac79c7c7186/src/utils/helpers.ts#L21-L24

Severity: -- → S3
Priority: -- → P3
Assignee: nobody → moijes12
Attached file GitHub Pull Request

Attaching PR for fix

Why am I still seeing this issue even though the PR is merged ? Is the update not deployed on the prod instance yet ?

Flags: needinfo?(csevere)

Yes, this issue has been resolved with checked in PR: https://github.com/mozilla/perfcompare/commit/fda1fb2bee4d820ef35b604a1ee0fca079b7fbf3. Closing now.

Status: NEW → RESOLVED
Closed: 2 months ago
Flags: needinfo?(csevere)
Resolution: --- → FIXED

I agree with comment 4 - it doesn't appear to be fixed in production. Kala, could you answer the question in comment 4?

Flags: needinfo?(csevere)
Status: RESOLVED → REOPENED
Flags: needinfo?(csevere)
Resolution: FIXED → ---

My apologies, reopening because it hasn't been merged into production yet. We'll do a deploy to prod next week and it will be checked in.

Makes sense, thanks!

Deployed to prod!

Status: REOPENED → RESOLVED
Closed: 2 months ago1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: