fix(venice): retry model discovery on transient fetch failures

This commit is contained in:
Peter Steinberger
2026-03-03 03:20:46 +00:00
parent 85a320de54
commit 17bb87f432
3 changed files with 225 additions and 10 deletions

View File

@@ -1,8 +1,7 @@
import { createRequire } from "node:module";
import { describe, expect, it } from "vitest";
const require = createRequire(import.meta.url);
const { detectChangedScope } = require("../../scripts/ci-changed-scope.mjs") as {
const { detectChangedScope } = (await import("../../scripts/ci-changed-scope.mjs")) as unknown as {
detectChangedScope: (paths: string[]) => {
runNode: boolean;
runMacos: boolean;