Closed k0machi closed 1 month ago
Demo
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.
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