From 02f8a104974ca5f8a509317c73b08f72d84f2d2c Mon Sep 17 00:00:00 2001 From: Alex Pickering Date: Thu, 19 Sep 2024 13:30:48 -0700 Subject: [PATCH] add logging Signed-off-by: Alex Pickering --- src/api.v2/helpers/pipeline/shouldPipelineRerun.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api.v2/helpers/pipeline/shouldPipelineRerun.js b/src/api.v2/helpers/pipeline/shouldPipelineRerun.js index 3831e5cba..ee8ae37a0 100644 --- a/src/api.v2/helpers/pipeline/shouldPipelineRerun.js +++ b/src/api.v2/helpers/pipeline/shouldPipelineRerun.js @@ -114,6 +114,11 @@ const shouldPipelineRerun = async (experimentId, pipelineType) => { if (execution === undefined) return true; const currentParams = await pipelineRerunVariablesGetters[pipelineType](experimentId); + console.log('currentParams!!!'); + console.log(currentParams); + console.log('execution.lastPipelineParams!!!'); + console.log(execution.lastPipelineParams); + return !_.isEqual(currentParams, execution.lastPipelineParams); };