#423 Zuul pipeline status page takes minutes to load because of a 6.5 MB javascript file
Closed by mvadkert. Opened by omos.

How to reproduce:
1. Go to https://fedora.softwarefactory-project.io/zuul/status (or any running pipeline status page linked from a Dist-git PR, where it was first observed) with browser cache cleared (Ctrl+F5 on Firefox).
2. The page load takes minutes because it fetches a 6.5 MB (!!!) javascript file (https://fedora.softwarefactory-project.io/zuul/static/js/2.90715d88.chunk.js) at ~30 KB/s.

This is ridiculous! Please do something about the size of the script or the download speed (ideally both).


Metadata Update from @fbo:
- Issue tagged with: Zuul CI

Hi Ondrej,

I agree that this JS file is heavy and it should not. It does not seem to be "minified". However the download speed is worrying and I don't experience this from my side, loading the page is quite fast.

time curl -s -w "%{speed_download} B/s"   https://fedora.softwarefactory-project.io/zuul/static/js/2.90715d88.chunk.js --output /dev/null
3039814 B/s
real    0m2.154s
user    0m0.077s
sys 0m0.032s

Metadata Update from @fbo:
- Issue untagged with: Zuul CI

Metadata Update from @fbo:
- Issue tagged with: Zuul CI

Hm... Indeed I get much better download speeds now (a few megabytes per second). So the download speed was likely some infra/network issue that is now resolved. With that the size of the script becomes less of an issue, but hopefully there is some way reduce that, too :)

@fbo do you want to follow up in Zuul upstream on the minification?

I would maybe close this issue here.

We are working on a new version of Software Factory based on the k8s Operator pattern. I've added story in our backlog for this new version to tackle that issue. So yes we can close the issue as this tracked in our backlog. Thanks you for the heads up.

Closed based on previous comment

Metadata Update from @mvadkert:
- Issue status updated to: Closed (was: Open)

Metadata