Commit message cut off (last character missing if commit message contains no line break)
Categories
(Testing :: PerfCompare, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mstange, Assigned: moijes12)
References
Details
(Whiteboard: [pcf])
Attachments
(3 files)
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
Updated•6 months ago
|
Comment 1•5 months ago
|
||
Link to patch that causes this issue: https://hg-edge.mozilla.org/try/rev/5a2e53ca502c56632d7f15f069bf65cc008d0695
Updated•5 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 2•3 months ago
|
||
Attaching PR for fix
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•2 months ago
|
||
Why am I still seeing this issue even though the PR is merged ? Is the update not deployed on the prod instance yet ?
Comment 5•2 months ago
|
||
Yes, this issue has been resolved with checked in PR: https://github.com/mozilla/perfcompare/commit/fda1fb2bee4d820ef35b604a1ee0fca079b7fbf3. Closing now.
| Reporter | ||
Comment 6•2 months ago
|
||
I agree with comment 4 - it doesn't appear to be fixed in production. Kala, could you answer the question in comment 4?
Updated•2 months ago
|
Comment 7•2 months ago
•
|
||
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.
| Reporter | ||
Comment 8•2 months ago
|
||
Makes sense, thanks!
Comment 9•1 month ago
|
||
Deployed to prod!
Updated•1 month ago
|
Description
•