fix: strip sqlcommenter tags from formattedQuery #539
Annotations
6 errors and 1 warning
|
release
Process completed with exit code 1.
|
|
src/remote/remote.test.ts > timescaledb with continuous aggregates sync correctly:
src/remote/remote.test.ts#L354
AssertionError: expected [ 'BEGIN;', …(16) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "SELECT * FROM conditions WHERE time < now();",
+ [
+ "BEGIN;",
+ "SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY;",
+ "SET INTERVALSTYLE = POSTGRES;",
+ "select * from conditions where time < now();",
+ "SET DATESTYLE = ISO;",
+ "CREATE DATABASE \"test\";",
+ "SET idle_in_transaction_session_timeout = 0;",
+ "SET transaction_timeout = 0;",
+ "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;",
+ "SET extra_float_digits TO 3;",
+ "SET row_security = off;",
+ "SET synchronize_seqscans TO off;",
+ "SELECT pg_catalog.max(\"time\") FROM public.conditions;",
+ "SET statement_timeout = 0;",
+ "SET lock_timeout = 0;",
+ "RESET search_path;",
+ "create table conditions( \"time\" timestamptz not null, device_id integer, temperature float ) with( timescaledb.hypertable, timescaledb.partition_column = 'time' );",
]
❯ src/remote/remote.test.ts:354:28
|
|
src/remote/remote.test.ts > syncs correctly:
src/remote/remote.test.ts#L76
AssertionError: expected [ …(5) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "CREATE TABLE testing (a int, b text);",
- "SELECT * FROM testing WHERE a = $1;",
+ [
+ "create table testing(a int, b text);",
+ "create index \"testing_1234\" on testing(b);",
+ "CREATE DATABASE \"test\";",
+ "select * from testing where a = $1;",
+ "insert into testing values ($1);",
]
❯ src/remote/remote.test.ts:76:23
|
|
src/remote/query-optimizer.test.ts > optimizer does not treat ASC index as duplicate of DESC candidate:
src/remote/test-utils.ts#L14
AssertionError: Expected to find mixed sort direction query: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ assertDefined src/remote/test-utils.ts:14:60
❯ src/remote/query-optimizer.test.ts:568:7
|
|
src/remote/query-optimizer.test.ts > timed out queries are retried with exponential backoff up to maxRetries:
src/remote/test-utils.ts#L14
AssertionError: Expected to find slow_table query: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ assertDefined src/remote/test-utils.ts:14:60
❯ src/remote/query-optimizer.test.ts:481:7
|
|
src/remote/query-optimizer.test.ts > controller syncs correctly:
src/remote/query-optimizer.test.ts#L113
AssertionError: expected [ Array(1) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "select * from testing where a = $1;",
+ [
+ "SELECT * FROM testing WHERE a = $1;",
]
❯ src/remote/query-optimizer.test.ts:113:36
|
|
release
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 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/
|