Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

test: skip flaky Vite backend-input reload test (#44983)

Stephen Zhou2724ac4da464
diff --git a/packages/openapi-content-mapper/test/source.test.mjs b/packages/openapi-content-mapper/test/source.test.mjs
index 30fe5fb92e2..e730dad3954 100644
--- a/packages/openapi-content-mapper/test/source.test.mjs
+++ b/packages/openapi-content-mapper/test/source.test.mjs
@@ -200,7 +200,9 @@ if (await load(undefined, {client: (await import('@dify/openapi-content-mapper')
assert(!after.includes('"pets"'))
})
-test('Vite refreshes command sources when a new backend input is added', async (t) => {
+// Skipped while flaky on CI: Vite sometimes never reloads after the new input is added on Linux
+// runners (Depot and GitHub-hosted), failing unrelated PRs.
+test.skip('Vite refreshes command sources when a new backend input is added', async (t) => {
const { directory, file, content } = fixture(t)
writeFileSync(file, JSON.stringify({ ...JSON.parse(content), optionalInputs: ['.env'] }))
const exporter = join(directory, 'export.mjs')