fix: compare script modules and real step metadata in the ci test rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-11-23 17:18:23 +01:00
co-authored by Claude Opus 5.5
parent d80b5b5b37
commit 34a01ac644
9 changed files with 152 additions and 101 deletions
+7 -1
View File
@@ -1385,7 +1385,13 @@ async fn create_script_internal<'c>(
&db,
&w_id,
&ns.path,
windmill_dep_map::ci_tests::DeployedContent::Script(&ns.content),
windmill_dep_map::ci_tests::DeployedContent::Script {
content: &ns.content,
modules: ns
.modules
.as_ref()
.and_then(|m| serde_json::to_value(m).ok()),
},
&authed,
&authed.groups,
authed.is_admin,