mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
fix: an unanswered head read confirms rather than assuming the app editor is current
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
46817d8a90
commit
a51ead0e21
@@ -497,7 +497,9 @@
|
||||
onLatest = appVersion?.version === undefined || base === appVersion?.version
|
||||
} catch (e) {
|
||||
console.error('Error comparing versions', e)
|
||||
onLatest = true
|
||||
// The head is what this compares against, so an unanswered read is not
|
||||
// evidence of being current: confirm, as an unclaimable deploy does.
|
||||
onLatest = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -638,7 +638,9 @@
|
||||
onLatest = appVersion?.version === undefined || version === appVersion?.version
|
||||
} catch (e) {
|
||||
console.error('Error comparing versions', e)
|
||||
onLatest = true
|
||||
// The head is what this compares against, so an unanswered read is not
|
||||
// evidence of being current: confirm, as an unclaimable deploy does.
|
||||
onLatest = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user