summaryrefslogtreecommitdiff
path: root/Hutch/Views/Builds/BuildDetailView.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-18 19:34:59 -0500
committerChristian Cleberg <[email protected]>2026-03-18 19:34:59 -0500
commit430741f0236ab21583acda8e2774d95e6e0e4ffe (patch)
treee8ef38d574939a0c47f2a92e14db60950b824151 /Hutch/Views/Builds/BuildDetailView.swift
parent796c39d8ff08829bd695bc4e7497a147640eb79a (diff)
downloadhutch-430741f0236ab21583acda8e2774d95e6e0e4ffe.tar.gz
hutch-430741f0236ab21583acda8e2774d95e6e0e4ffe.tar.bz2
hutch-430741f0236ab21583acda8e2774d95e6e0e4ffe.zip
stabilize build task identity and log cache keys
Diffstat (limited to 'Hutch/Views/Builds/BuildDetailView.swift')
-rw-r--r--Hutch/Views/Builds/BuildDetailView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Hutch/Views/Builds/BuildDetailView.swift b/Hutch/Views/Builds/BuildDetailView.swift
index 977cd87..0479f76 100644
--- a/Hutch/Views/Builds/BuildDetailView.swift
+++ b/Hutch/Views/Builds/BuildDetailView.swift
@@ -312,13 +312,13 @@ private struct TaskLogSection: View {
var body: some View {
DisclosureGroup(isExpanded: $isExpanded) {
- if viewModel.loadingTaskLogs.contains(task.name) {
+ if viewModel.loadingTaskLogs.contains(task.logCacheKey) {
HStack {
Spacer()
ProgressView("Loading log…")
Spacer()
}
- } else if let logText = viewModel.taskLogs[task.name] {
+ } else if let logText = viewModel.taskLogs[task.logCacheKey] {
ScrollView(.horizontal, showsIndicators: false) {
Text(logText)
.font(.caption2.monospaced())