Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): treat null dep kind as normal in storage owner check

Steven Enamakel531ded0bda57
diff --git a/scripts/ci/check-storage-owner.mjs b/scripts/ci/check-storage-owner.mjs
index 5d76dfbb15..8be1c15bdc 100644
--- a/scripts/ci/check-storage-owner.mjs
+++ b/scripts/ci/check-storage-owner.mjs
@@ -192,7 +192,7 @@ export function checkEngineClosure(metadata, roots) {
// dep_kinds may be absent (defaults to normal per cargo convention).
const dep_kinds = dep.dep_kinds ?? [{ kind: null }];
const has_normal_or_build = dep_kinds.some(
- dk => dk.kind === undefined || dk.kind === 'normal' || dk.kind === 'build'
+ dk => dk.kind === undefined || dk.kind === null || dk.kind === 'normal' || dk.kind === 'build'
);
if (!has_normal_or_build) continue;