File tree 1 file changed +1
-18
lines changed
packages/cli-v3/src/entryPoints/managed
1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -835,9 +835,7 @@ export class RunExecution {
835
835
/**
836
836
* Processes env overrides from the metadata service. Generally called when we're resuming from a suspended state.
837
837
*/
838
- public async processEnvOverrides (
839
- reason ?: string
840
- ) : Promise < { executionWasRestored : boolean ; overrides : Metadata } | null > {
838
+ public async processEnvOverrides ( reason ?: string ) : Promise < { overrides : Metadata } | null > {
841
839
if ( ! this . metadataClient ) {
842
840
return null ;
843
841
}
@@ -866,20 +864,6 @@ export class RunExecution {
866
864
currentEnv : this . env . raw ,
867
865
} ) ;
868
866
869
- let executionWasRestored = false ;
870
-
871
- if ( this . env . TRIGGER_RUNNER_ID !== overrides . TRIGGER_RUNNER_ID ) {
872
- this . sendDebugLog ( "[override] runner ID mismatch, execution was restored" , {
873
- reason,
874
- currentRunnerId : this . env . TRIGGER_RUNNER_ID ,
875
- incomingRunnerId : overrides . TRIGGER_RUNNER_ID ,
876
- } ) ;
877
-
878
- // we should keep a list of restored snapshots
879
-
880
- executionWasRestored = true ;
881
- }
882
-
883
867
// Override the env with the new values
884
868
this . env . override ( overrides ) ;
885
869
@@ -899,7 +883,6 @@ export class RunExecution {
899
883
}
900
884
901
885
return {
902
- executionWasRestored,
903
886
overrides,
904
887
} ;
905
888
}
You can’t perform that action at this time.
0 commit comments