scylladb / argus

Apache License 2.0
4 stars 11 forks source link

improvement(frontend): Add frontend endpoint for plugin/run_id #478

Closed k0machi closed 1 month ago

k0machi commented 1 month ago

This commit adds a new endpoint which replaces hard to use /test/test_id/runs?additionalRuns[]=run_id endpoint into a much more simpler /tests/plugin_name/run_id endpoint, allowing to build a link to the test run without knowing test_id in advance and simplifying sharing/searching for a run.

Part of Task: scylladb/qa-tasks#1490

k0machi commented 1 month ago

Demo image

k0machi commented 1 month ago

what happens if two runs are selected? Besides, I can't wait to see it merged :) LGTM

In both cases it wasn't possible to directly link to two runs in frontend. While the old endpoint supports array declaration /test/test_id/runs?additionalRuns[]=run_A&additionalRuns[]=run_B, you could build those manually but the functionality for that on the frontend UI side never existed.

To elaborate, the link exists on each run selected in its title, e.g. scylla/group/test#1 and always links to a single run.