Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: builds are a card under the job graph on the jobs tab

The builds tab is gone from the nav; its card sits below the jobs card on
/jobs. The swarm-builder commit status now links to /jobs?run=<id>, and the old
/builds address redirects there with its query so links already on PRs still
open the build. Docs and the link test follow.
This commit is contained in:
iris 2026-10-26 20:02:57 +01:00
commit a2f000bab4

View file

@ -210,7 +210,7 @@ async fn record(
if !builds.record(&build).await {
return None;
}
link_base.map(|base| format!("{}/builds?run={}", base.trim_end_matches('/'), build.id))
link_base.map(|base| format!("{}/jobs?run={}", base.trim_end_matches('/'), build.id))
}
/// A failed node carrying `error`, and the status write's own failure when
@ -349,7 +349,7 @@ mod tests {
assert_eq!((&build.out_path, &build.detail), (&None, &None));
assert!(build.id.starts_with("atlas-abc-"), "{}", build.id);
assert!(build.finished_unix >= build.started_unix);
let link = format!("https://swarm.example/builds?run={}", build.id);
let link = format!("https://swarm.example/jobs?run={}", build.id);
assert_eq!(
written,
[