kubernetes-sigs / prow

Prow is a Kubernetes based CI/CD system developed to serve the Kubernetes community. This repository contains Prow source code and Hugo sources for Prow documentation site.
https://docs.prow.k8s.io
Apache License 2.0
112 stars 90 forks source link

Deck's build log lens should fail gracefully on large build-log.txt files. #176

Open BenTheElder opened 4 months ago

BenTheElder commented 4 months ago

(re-filed from https://github.com/kubernetes/test-infra/issues/27497)

What happened: A large (e.g. >26MB) build-log.txt cannot be rendered by Spyglass' build log lens due to the file size. The lens shows the spinning loading symbol forever.

What you expected to happen: I don't expect the lens to be able to highlight and render such a large file, but it should fail more gracefully. We should display an error if the file is large enough to have no chance of rendering in time and if a timeout is reached that should be displayed on the front end rather than spinning the loading symbol forever.

How to reproduce it (as minimally and precisely as possible): Create a job with lots of standard output.

/help-wanted

/kind bug

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

BenTheElder commented 1 month ago

/lifecycle frozen