examples: add arcade example to servers (#399)
This commit is contained in:
parent
2187bd4498
commit
adf0bbd611
2 changed files with 25 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ const EXTRA_WAIT_MS: Record<string, number> = {
|
|||
|
||||
// Servers to skip (screenshots maintained manually)
|
||||
const SKIP_SERVERS = new Set([
|
||||
"arcade-server", // Loads games from archive.org - screenshots maintained manually
|
||||
"video-resource", // Uses custom screenshot from PR comment
|
||||
"qr-server", // Uses custom screenshot from PR comment
|
||||
"say-server", // TTS model download from HuggingFace can be slow
|
||||
|
|
@ -37,6 +38,7 @@ const EXAMPLE_FILTER = process.env.EXAMPLE;
|
|||
|
||||
// Server configurations (excludes integration-server which is for E2E testing)
|
||||
const ALL_SERVERS = [
|
||||
{ key: "arcade-server", name: "Arcade Server", dir: "arcade-server" },
|
||||
{
|
||||
key: "basic-react",
|
||||
name: "Basic MCP App Server (React)",
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ const DYNAMIC_MASKS: Record<string, string[]> = {
|
|||
// Servers that need extra stabilization time (e.g., for tile loading, WebGL init)
|
||||
const SLOW_SERVERS: Record<string, number> = {
|
||||
"map-server": 15000, // CesiumJS needs time for tiles to load
|
||||
"arcade-server": 15000, // Game loading from archive.org can be slow
|
||||
threejs: 2000, // Three.js WebGL initialization
|
||||
"say-server": 10000, // TTS model download from HuggingFace can be slow
|
||||
};
|
||||
|
|
@ -57,7 +58,7 @@ const HOST_MASKS: Record<string, string[]> = {
|
|||
|
||||
// Servers to skip in CI (require special resources like GPU, large ML models)
|
||||
const SKIP_SERVERS = new Set<string>([
|
||||
// None currently - say-server view works without TTS model for screenshots
|
||||
"arcade-server", // Loads games from archive.org which may be slow/unreliable in CI
|
||||
"qr-server", // TODO
|
||||
"say-server", // TTS model download from HuggingFace can be slow
|
||||
]);
|
||||
|
|
@ -67,6 +68,7 @@ const EXAMPLE_FILTER = process.env.EXAMPLE;
|
|||
|
||||
// Server configurations (key is used for screenshot filenames, name is the MCP server name, dir is the folder name)
|
||||
const ALL_SERVERS = [
|
||||
{ key: "arcade-server", name: "Arcade Server", dir: "arcade-server" },
|
||||
{
|
||||
key: "integration",
|
||||
name: "Integration Test Server",
|
||||
|
|
|
|||
Loading…
Reference in a new issue