File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ export class ScionPageHarnessConfigDetail extends LitElement {
519519 }
520520
521521 const result = await response . json ( ) ;
522- this . buildRunId = result . run_id ?? '' ;
522+ this . buildRunId = result . runId ?? '' ;
523523 this . startBuildPolling ( ) ;
524524 } catch ( err ) {
525525 this . buildError = err instanceof Error ? err . message : 'Failed to start build' ;
@@ -542,7 +542,12 @@ export class ScionPageHarnessConfigDetail extends LitElement {
542542 }
543543
544544 private async pollBuildStatus ( ) : Promise < void > {
545- if ( ! this . buildRunId ) return ;
545+ if ( ! this . buildRunId ) {
546+ this . buildRunning = false ;
547+ this . buildStatus = 'failed' ;
548+ this . buildError = 'Build started but no run ID was returned' ;
549+ return ;
550+ }
546551
547552 try {
548553 const resp = await apiFetch (
You can’t perform that action at this time.
0 commit comments