Trim System.Title if length is > 128#3284
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3284 +/- ##
=======================================
Coverage 31.46% 31.46%
=======================================
Files 307 307
Lines 37202 37219 +17
=======================================
+ Hits 11704 11712 +8
- Misses 25498 25507 +9
|
54f43c8 to
ff98a92
Compare
|
Agree about this:
Could we add an additional field to the template for the full title and always include it? |
We can probably put it at the top of the bug's "Repro Steps". I don't think we have much control over the fields since they're org specific. |
ae1017f to
a9e9dc2
Compare
a9e9dc2 to
7c053dc
Compare
Sorry, I was imprecise here, I meant a variable for the Scriban template to render, not the ADO fields. |
|
@kananb how did we decide on the 128 char limit? |
40e9989 to
77debf0
Compare
https://github.com/MicrosoftDocs/azure-devops-docs/issues/5890#issuecomment-539632059 |
…nserting it into repro steps
77debf0 to
2c43c2b
Compare
| return new Renderer( | ||
| container, | ||
| filename, | ||
| issueTitle, |
There was a problem hiding this comment.
Let's render the title, untrimmed.
Summary of the Pull Request
Trim System.Title when longer than 128 characters. Trims some extra characters to append the first 8 chars of the title hash for collision avoidance.
We probably want to write the full System.Title value somewhere in the bug so that the trimmed information isn't just lost.
What is this about?
#3015
PR Checklist
Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?