Closed Bug 976165 Opened 10 years ago Closed 10 years ago

Set some sort of upper-limit on how many characters to feed into the annotated summary

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: emorley)

References

Details

Attachments

(1 file, 1 obsolete file)

In bug 967640, we hit an instance where log mangling caused huge lines to be fed into the annotated summary generator which led to browser hangs upon clicking a failed job on TBPL. We should probably truncate after a certain number of characters to avoid sending an overly-long string into the regex.
Assignee: nobody → emorley
Attached patch WIP (obsolete) — Splinter Review
Need to test & play around with the number of characters (picked 500 for now).
Status: NEW → ASSIGNED
I reduced the length down so it would trigger all the time, in order to test. For now let's just use 500 chars unless you would rather something else? :-)
Attachment #8408337 - Flags: review?(ryanvm)
Attachment #8394267 - Attachment is obsolete: true
Attachment #8408337 - Flags: review?(ryanvm) → review+
Depends on: 1000304
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: