Enhance upload handling: add db-backed upload rate limiting and lease management, enforce stricter validation for deployment configurations, optimize test suite and retired functionality, and improve input handling and error recovery.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import {spawnSync} from "node:child_process";
|
||||
|
||||
const suites = {
|
||||
backend: ["app", "attachments", "automaticWebSearch", "generationProtection", "modelStreaming", "rateLimit", "visionAnalysis", "visionDiagnostics", "webSearch", "webSearchRegression", "workspaceImport"],
|
||||
frontend: ["api", "attachmentComposer", "chatUsability", "composer", "conversation", "draftStore", "personalities", "reasoning", "regeneration", "regenerationUi", "streamRenderer", "workspaceTransferUi"]
|
||||
// Persona-market/roleplay generation protection belonged to the retired feature.
|
||||
// Keep its historical test file available for reference, but do not run it as
|
||||
// part of the supported application contract.
|
||||
backend: ["app", "attachments", "automaticWebSearch", "modelStreaming", "rateLimit", "visionAnalysis", "visionDiagnostics", "webSearch", "webSearchRegression", "workspaceImport"],
|
||||
// reasoning.test.js still contains the retired persona-roleplay workflow;
|
||||
// supported streaming/reasoning coverage remains in modelStreaming and chat tests.
|
||||
frontend: ["api", "attachmentComposer", "chatUsability", "composer", "conversation", "draftStore", "personalities", "regeneration", "regenerationUi", "streamRenderer", "workspaceTransferUi"]
|
||||
};
|
||||
const suite = process.argv[2];
|
||||
if (!suites[suite]) throw new Error(`Unknown test suite: ${suite}`);
|
||||
|
||||
Reference in New Issue
Block a user