Skip to content

refactor: type-safe snapshot system derived from OpenAPI schemas #20

refactor: type-safe snapshot system derived from OpenAPI schemas

refactor: type-safe snapshot system derived from OpenAPI schemas #20

Triggered via pull request April 11, 2026 12:14
Status Failure
Total duration 22s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
typecheck: src/commands/monitors/resume.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
typecheck: src/commands/monitors/pause.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
typecheck: src/commands/incidents/resolve.ts#L18
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
typecheck: src/commands/dependencies/track.ts#L14
Property 'query' is missing in type '{ path: { slug: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
typecheck: src/commands/auth/me.ts#L15
Property 'data' does not exist on type '{ "*/*": { data?: { id?: number | undefined; email?: string | undefined; emailVerified?: boolean | undefined; name?: string | null | undefined; userRole?: "ADMIN" | "SUPERADMIN" | "USER" | undefined; onboardingStage?: "WELCOME" | ... 4 more ... | undefined; imageUrl?: string | ... 1 more ... | undefined; createdAt?:...'.
typecheck: src/commands/auth/me.ts#L14
Expected 2 arguments, but got 1.
typecheck: src/commands/auth/login.ts#L29
Property 'data' does not exist on type '{ "*/*": { data?: { id?: number | undefined; email?: string | undefined; emailVerified?: boolean | undefined; name?: string | null | undefined; userRole?: "ADMIN" | "SUPERADMIN" | "USER" | undefined; onboardingStage?: "WELCOME" | ... 4 more ... | undefined; imageUrl?: string | ... 1 more ... | undefined; createdAt?:...'.
typecheck: src/commands/auth/login.ts#L28
Expected 2 arguments, but got 1.
typecheck: src/commands/api-keys/revoke.ts#L14
Property 'query' is missing in type '{ path: { id: number; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
typecheck: src/commands/alert-channels/test.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/monitors/resume.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/monitors/pause.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/incidents/resolve.ts#L18
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/dependencies/track.ts#L14
Property 'query' is missing in type '{ path: { slug: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/auth/me.ts#L15
Property 'data' does not exist on type '{ "*/*": { data?: { id?: number | undefined; email?: string | undefined; emailVerified?: boolean | undefined; name?: string | null | undefined; userRole?: "ADMIN" | "SUPERADMIN" | "USER" | undefined; onboardingStage?: "WELCOME" | ... 4 more ... | undefined; imageUrl?: string | ... 1 more ... | undefined; createdAt?:...'.
test: src/commands/auth/me.ts#L14
Expected 2 arguments, but got 1.
test: src/commands/auth/login.ts#L29
Property 'data' does not exist on type '{ "*/*": { data?: { id?: number | undefined; email?: string | undefined; emailVerified?: boolean | undefined; name?: string | null | undefined; userRole?: "ADMIN" | "SUPERADMIN" | "USER" | undefined; onboardingStage?: "WELCOME" | ... 4 more ... | undefined; imageUrl?: string | ... 1 more ... | undefined; createdAt?:...'.
test: src/commands/auth/login.ts#L28
Expected 2 arguments, but got 1.
test: src/commands/api-keys/revoke.ts#L14
Property 'query' is missing in type '{ path: { id: number; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
test: src/commands/alert-channels/test.ts#L14
Property 'query' is missing in type '{ path: { id: string; }; }' but required in type '{ query: { actor: Record<string, never> | (Record<string, never> & { orgId?: number | undefined; keyId?: number | undefined; }) | (Record<string, never> & { ...; }); }; header?: undefined; path: { ...; }; cookie?: undefined; }'.
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/