Improve support for long build traces
UX: @dimitrieh FE: @filipa
We recently merged: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10336.
It works great. However, we need a few tweaks by looking at: https://dev.gitlab.org/gitlab/gitlabhq/builds/1000361.
- Change
LIMIT_SIZEto500 KiB,50seems too small, - Add to truncate message a link to
raw:raw_namespace_project_build_path(@project.namespace, @project, @build), - Fix message: currently, we show amount in
KiBand we get.sizefromjsonwhich is in bytes. This data should be formatted by the frontend. It seems that it is fine now to divide.size/1024now, - Update amount of data presented when we receive next jsons with
size. Currently, our flow is to show the message if!appendwhich is correct. However, we should update truncated size with every received.json, - Improve limiting on the backend, to skip to next new line (Stretch).
Design
- making the line opaque (no opacity)
- link to complete trace also in line in build log
