Skip to content

Commit d7ad768

Browse files
hotlongCopilot
andcommitted
fix(ci): bump artifact-environment-registry test timeout + sync changeset fixed list
- artifact-environment-registry: dynamic driver imports take >5s on cold CI runners; bump per-test timeout to 30s for the three integration tests. - .changeset/config.json: drop deleted '@objectstack/plugin-setup'; add plugin-mcp-server, service-cloud, service-package, service-tenant so the fixed group reflects the current workspace. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f714147 commit d7ad768

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.changeset/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@objectstack/plugin-msw",
2525
"@objectstack/plugin-dev",
2626
"@objectstack/plugin-security",
27-
"@objectstack/plugin-setup",
27+
"@objectstack/plugin-mcp-server",
2828
"@objectstack/express",
2929
"@objectstack/fastify",
3030
"@objectstack/hono",
@@ -42,6 +42,9 @@
4242
"@objectstack/service-realtime",
4343
"@objectstack/service-ai",
4444
"@objectstack/service-storage",
45+
"@objectstack/service-cloud",
46+
"@objectstack/service-package",
47+
"@objectstack/service-tenant",
4548
"@objectstack/docs",
4649
"create-objectstack",
4750
"objectstack-vscode"

packages/services/service-cloud/test/artifact-environment-registry.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function mockJson(body: any): Response {
1010

1111
describe('ArtifactEnvironmentRegistry', () => {
1212
it('resolves a hostname end-to-end through the artifact API', async () => {
13+
// Driver dynamic-import warmup can exceed 5s on cold CI runners.
1314
let fetchCalls: string[] = [];
1415
const fakeFetch = async (url: string) => {
1516
fetchCalls.push(url);
@@ -56,7 +57,7 @@ describe('ArtifactEnvironmentRegistry', () => {
5657
const peek = registry.peekById('proj_demo');
5758
expect(peek?.project.organization_id).toBe('org_demo');
5859
expect(peek?.project.database_driver).toBe('memory');
59-
});
60+
}, 30_000);
6061

6162
it('returns null when hostname cannot be resolved', async () => {
6263
const fakeFetch = async () => ({ ok: false, status: 404, json: async () => null }) as unknown as Response;
@@ -98,5 +99,5 @@ describe('ArtifactEnvironmentRegistry', () => {
9899
const peek = registry.peekById('proj_b');
99100
expect(peek?.project.database_driver).toBe('memory');
100101
expect(peek?.project.database_url).toBe('memory://fallback');
101-
});
102+
}, 30_000);
102103
});

0 commit comments

Comments
 (0)