Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

test view: don't create links for missing builds #109

Open
khilman opened this issue Jun 8, 2020 · 2 comments
Open

test view: don't create links for missing builds #109

khilman opened this issue Jun 8, 2020 · 2 comments
Assignees

Comments

@khilman
Copy link
Contributor

khilman commented Jun 8, 2020

In the tests view, before making the build name into a clickable link, check to see if build exists.

Downstream users can use KCI to show results for tests that do not use KCI builds, so don't create link to for builds which are not present.

@gctucker
Copy link
Contributor

gctucker commented Jun 9, 2020

I was just talking about that with @alexandrasp earlier today.

Doing the HTTP equivalent of curl -I <URL on the frontend before creating links from the storage server should work fine. I guess we also need to work out what is the best way to show to the user that a file is not present. Just not having a link but only the text is one option, but it might look a bit like a bug compared to other views that have the link. Maybe crossing out the text would make it clearer that it's not available i.e. Image or modules.tar.xz.

@gctucker
Copy link
Contributor

Also, kernelci.org should at some point start showing test results that don't involve a build - things like DT validation, KUnit or static analysis. So this will apply not just to downstream users.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants