Skip to content

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

fix(ci): skip only top-level vendored tinystoragedrivers

Steven Enamakel65eb4a328d86
diff --git a/scripts/ci/check-storage-owner.mjs b/scripts/ci/check-storage-owner.mjs
index e8edb8dfbd..b06a4bad5a 100644
--- a/scripts/ci/check-storage-owner.mjs
+++ b/scripts/ci/check-storage-owner.mjs
@@ -66,7 +66,10 @@ export function checkVendoredOwner(metadata) {
for (const pkg of packages) {
if (!isOwner(pkg.name)) continue;
const manifest = String(pkg.manifest_path ?? '').replaceAll('\\', '/');
- if (!pkg.source && manifest.includes(`/${VENDORED_TSD_DIR}`)) continue;
+ // Top-level checkout only: a nested vendor/*/vendor/tinystoragedrivers copy
+ // has another `/vendor/` before the match.
+ const at = manifest.indexOf(`/${VENDORED_TSD_DIR}`);
+ if (!pkg.source && at >= 0 && !manifest.slice(0, at).includes('/vendor/')) continue;
const dependents = [
...new Set(
packages