UI to browse locked artifacts
Problem to solve
In #16267 (closed) we introduced locked artifacts which are exempt from the expire_in
policy in order to keep the latest artifact for a successful job of a successful pipeline, however missing are UI changes to allow browsing/downloading locked artifacts.
Intended users
Proposal
The UI should allow user to browse artifacts that are expired but locked (latest artifact for a ref).
To unblock #16267 (closed), this first iteration could simply be to continue showing the "Browse" button for locked+expired artifacts.
Having a separate view for all locked+expired artifacts could be a future iteration with designer involved.
Documentation
Availability & Testing
- Unit test changes - Yes, new unit tests for the new logic should be added
- End-to-end test change - Yes, please see proposing E2E test case #867 (closed) for more information.
What does success look like, and how can we measure that?
User can still browse a locked+expired artifact.
Is this a cross-stage feature?
Links / references
Potential follow ups
We need to involve UX here and determine if we should have the messages state that an artifact is expired, but locked, or just tell the user that the artifact is locked.
This will require some
UX
work and a follow-up issue if we decide to show the custom messages.
Having a separate view for viewing all of them could be the next step (in a future iteration).