chore: use literal for limits and offsets #1973
Annotations
7 errors and 1 warning
|
Test
Process completed with exit code 1.
|
|
test/index.test.ts > typegen: typescript w/ postgrestVersion:
test/server/typegen.ts#L3656
Error: Snapshot `typegen: typescript w/ postgrestVersion 1` mismatched
- Expected
+ Received
@@ -998,10 +998,12 @@
to: "todos"
isOneToOne: false
isSetofReturn: true
}
}
+ test_func: { Args: { a: number; b: number }; Returns: number }
+ test_function: { Args: never; Returns: number }
test_internal_query: { Args: never; Returns: undefined }
test_unnamed_row_composite: {
Args: { "": Database["public"]["Tables"]["users"]["Row"] }
Returns: Database["public"]["CompositeTypes"]["composite_type_with_array_attribute"]
SetofOptions: {
❯ test/server/typegen.ts:3656:16
|
|
test/index.test.ts > typegen: typescript w/ one-to-one relationships:
test/server/typegen.ts#L2431
Error: Snapshot `typegen: typescript w/ one-to-one relationships 1` mismatched
- Expected
+ Received
@@ -993,10 +993,12 @@
to: "todos"
isOneToOne: false
isSetofReturn: true
}
}
+ test_func: { Args: { a: number; b: number }; Returns: number }
+ test_function: { Args: never; Returns: number }
test_internal_query: { Args: never; Returns: undefined }
test_unnamed_row_composite: {
Args: { "": Database["public"]["Tables"]["users"]["Row"] }
Returns: Database["public"]["CompositeTypes"]["composite_type_with_array_attribute"]
SetofOptions: {
❯ test/server/typegen.ts:2431:16
|
|
test/index.test.ts > typegen w/ one-to-one relationships:
test/server/typegen.ts#L1206
Error: Snapshot `typegen w/ one-to-one relationships 1` mismatched
- Expected
+ Received
@@ -993,10 +993,12 @@
to: "todos"
isOneToOne: false
isSetofReturn: true
}
}
+ test_func: { Args: { a: number; b: number }; Returns: number }
+ test_function: { Args: never; Returns: number }
test_internal_query: { Args: never; Returns: undefined }
test_unnamed_row_composite: {
Args: { "": Database["public"]["Tables"]["users"]["Row"] }
Returns: Database["public"]["CompositeTypes"]["composite_type_with_array_attribute"]
SetofOptions: {
❯ test/server/typegen.ts:1206:16
|
|
test/index.test.ts > typegen: typescript:
test/server/typegen.ts#L6
Error: Snapshot `typegen: typescript 1` mismatched
- Expected
+ Received
@@ -968,10 +968,12 @@
to: "todos"
isOneToOne: false
isSetofReturn: true
}
}
+ test_func: { Args: { a: number; b: number }; Returns: number }
+ test_function: { Args: never; Returns: number }
test_internal_query: { Args: never; Returns: undefined }
test_unnamed_row_composite: {
Args: { "": Database["public"]["Tables"]["users"]["Row"] }
Returns: Database["public"]["CompositeTypes"]["composite_type_with_array_attribute"]
SetofOptions: {
❯ test/server/typegen.ts:6:16
|
|
test/index.test.ts > retrieve, create, update, delete:
test/lib/functions.ts#L223
Error: Snapshot `retrieve, create, update, delete 10` mismatched
- Expected
+ Received
@@ -18,17 +18,17 @@
"behavior": "STABLE",
"complete_statement": "CREATE OR REPLACE FUNCTION public.test_func(a smallint, b smallint)
RETURNS integer
LANGUAGE sql
STABLE SECURITY DEFINER
- SET search_path TO 'hooks', 'auth'
+ SET search_path TO 'hooks, auth'
SET role TO 'postgres'
AS $function$select a + b$function$
",
"config_params": {
"role": "postgres",
- "search_path": "hooks, auth",
+ "search_path": ""hooks, auth"",
},
"definition": "select a + b",
"id": Any<Number>,
"identity_argument_types": "a smallint, b smallint",
"is_set_returning_function": false,
❯ test/lib/functions.ts:223:15
|
|
test/functions.test.ts > server/routes/functions > should create function, retrieve, update, delete:
test/functions.test.ts#L132
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ test/functions.test.ts:132:39
|
|
Build with docker
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8, docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f. 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/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
supabase~postgres-meta~T5VB3M.dockerbuild
|
45.9 KB |
sha256:88239ef0e93f20742e711c252a0260f8a01cb833ee556fc92419cd09e8737fb0
|
|