From ead79013c81370463dbc596cd85da8978850ceb3 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 25 Apr 2025 12:02:42 +0200 Subject: [PATCH] Skip path checks for nodes with build command --- libraries/core/src/descriptor/validate.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/core/src/descriptor/validate.rs b/libraries/core/src/descriptor/validate.rs index 526fedff..871cfb99 100644 --- a/libraries/core/src/descriptor/validate.rs +++ b/libraries/core/src/descriptor/validate.rs @@ -43,6 +43,8 @@ pub fn check_dataflow( info!("skipping path check for remote node `{}`", node.id); } } + } else if custom.build.is_some() { + info!("skipping path check for node with build command"); } else { resolve_path(source, working_dir).wrap_err_with(|| { format!("Could not find source path `{}`", source) @@ -51,7 +53,7 @@ pub fn check_dataflow( } }, dora_message::descriptor::NodeSource::GitBranch { repo, rev } => { - // TODO: implement git repo check + info!("skipping check for node with git source"); } }, descriptor::CoreNodeKind::Runtime(node) => {