prostgles-server 4.2.642 → 4.2.643
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug/caught-request-fix-build.log +4 -0
- package/debug/caught-request-fix-test-build.log +0 -0
- package/debug/caught-request-subscription-failure.log +603 -0
- package/debug/caught-validation-build.log +4 -0
- package/debug/caught-validation-fix-build.log +4 -0
- package/debug/caught-validation-fix-test-build.log +0 -0
- package/debug/caught-validation-test-build.log +0 -0
- package/debug/client-db-tx-build.log +4 -0
- package/debug/client-db-tx-test-server.log +3248 -0
- package/debug/client-db-tx-tests-build.log +0 -0
- package/debug/client-handler-shape-build.log +4 -0
- package/debug/client-handler-shape-test-server.log +544 -0
- package/debug/client-handler-shape-tests-build.log +0 -0
- package/debug/column-definitions-test-server.log +152 -164
- package/debug/function-client-db-tx-build.log +4 -0
- package/debug/function-client-db-tx-tests-build.log +0 -0
- package/debug/schema-types-focused-strict-check.log +0 -0
- package/debug/schema-types-strict-check.log +38 -0
- package/debug/schema-types-tests-build.log +0 -0
- package/debug/security-review-baseline-tests.log +3250 -0
- package/debug/security-review-build.log +4 -0
- package/debug/security-review-checkfilter-repro.log +545 -0
- package/debug/security-review-clientSchemaTypes.spec.ts.backup +553 -0
- package/debug/security-review-repro-build.log +0 -0
- package/debug/security-review-repro.spec.ts +591 -0
- package/debug/security-review-restore-build.log +0 -0
- package/debug/security-review-server-tests.log +3254 -0
- package/debug/security-review-test-build.log +0 -0
- package/debug/test-check-eslint.log +6 -0
- package/debug/test-check-lint-baseline.json +1 -0
- package/debug/test-check-npm-test.log +789 -0
- package/debug/test-check-types.log +8 -0
- package/debug/test-config-npm-test.log +223 -0
- package/debug/test-config-strict-null-check.log +50 -0
- package/debug/test-config-typecheck.log +8 -0
- package/debug/tryRunP-test-quick.log +78 -0
- package/debug/tryRunP-typecheck.log +42 -0
- package/dist/Auth/AuthTypes.d.ts +3 -3
- package/dist/Auth/AuthTypes.d.ts.map +1 -1
- package/dist/Auth/AuthTypes.js.map +1 -1
- package/dist/DboBuilder/DboBuilder.d.ts.map +1 -1
- package/dist/DboBuilder/DboBuilder.js +4 -2
- package/dist/DboBuilder/DboBuilder.js.map +1 -1
- package/dist/DboBuilder/TableHandler/TableHandler.d.ts +1 -1
- package/dist/DboBuilder/dboBuilderUtils.d.ts +1 -0
- package/dist/DboBuilder/dboBuilderUtils.d.ts.map +1 -1
- package/dist/DboBuilder/dboBuilderUtils.js +2 -1
- package/dist/DboBuilder/dboBuilderUtils.js.map +1 -1
- package/dist/PublishParser/PublishParser.d.ts.map +1 -1
- package/dist/PublishParser/PublishParser.js +2 -1
- package/dist/PublishParser/PublishParser.js.map +1 -1
- package/dist/PublishParser/defineServerFunction.d.ts +2 -0
- package/dist/PublishParser/defineServerFunction.d.ts.map +1 -1
- package/dist/PublishParser/defineServerFunction.js.map +1 -1
- package/dist/PublishParser/getPublishedTableNames.d.ts.map +1 -1
- package/dist/PublishParser/getPublishedTableNames.js +2 -1
- package/dist/PublishParser/getPublishedTableNames.js.map +1 -1
- package/dist/PublishParser/publishTypesAndUtils.d.ts +1 -1
- package/dist/PublishParser/publishTypesAndUtils.d.ts.map +1 -1
- package/dist/StorageClient/StorageClientTypes.d.ts +5 -4
- package/dist/StorageClient/StorageClientTypes.d.ts.map +1 -1
- package/dist/WebsocketAPI/getClientHandlers.d.ts +5 -0
- package/dist/WebsocketAPI/getClientHandlers.d.ts.map +1 -1
- package/dist/WebsocketAPI/getClientHandlers.js +33 -14
- package/dist/WebsocketAPI/getClientHandlers.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/runClientRequest.d.ts +2 -1
- package/dist/runClientRequest.d.ts.map +1 -1
- package/dist/runClientRequest.js +4 -2
- package/dist/runClientRequest.js.map +1 -1
- package/eslint.config.mjs +21 -1
- package/lib/Auth/AuthTypes.ts +3 -2
- package/lib/DboBuilder/DboBuilder.ts +7 -2
- package/lib/DboBuilder/dboBuilderUtils.ts +2 -0
- package/lib/PublishParser/PublishParser.ts +2 -1
- package/lib/PublishParser/defineServerFunction.ts +3 -5
- package/lib/PublishParser/getPublishedTableNames.ts +2 -1
- package/lib/PublishParser/publishTypesAndUtils.ts +1 -1
- package/lib/StorageClient/StorageClientTypes.ts +5 -4
- package/lib/WebsocketAPI/getClientHandlers.ts +63 -29
- package/lib/index.ts +3 -3
- package/lib/runClientRequest.ts +5 -1
- package/package.json +5 -3
|
@@ -107,9 +107,9 @@ Prostgles: Created typescript schema definition file:
|
|
|
107
107
|
DBGeneratedSchema.ts
|
|
108
108
|
(server): prostgles onReady
|
|
109
109
|
▶ Server Only Queries
|
|
110
|
-
✔ column definition row types support SQL aliases, arrays and generated columns (
|
|
111
|
-
✔ lookup types propagate through database references while preserving overrides (
|
|
112
|
-
✔ lookup types follow FK chains by column and terminate cycles (
|
|
110
|
+
✔ column definition row types support SQL aliases, arrays and generated columns (8.482903ms)
|
|
111
|
+
✔ lookup types propagate through database references while preserving overrides (9.904156ms)
|
|
112
|
+
✔ lookup types follow FK chains by column and terminate cycles (142.048582ms)
|
|
113
113
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
114
114
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
115
115
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -240,23 +240,23 @@ Prostgles: Created typescript schema definition file:
|
|
|
240
240
|
Prostgles: Created typescript schema definition file:
|
|
241
241
|
DBGeneratedSchema.ts
|
|
242
242
|
destroying prgl instance
|
|
243
|
-
✔ client publish profiles compile at startup and follow user types (
|
|
243
|
+
✔ client publish profiles compile at startup and follow user types (1904.02087ms)
|
|
244
244
|
▶ Managed storage permission and transaction safety
|
|
245
|
-
✔ legacy ID-based files remain readable and replaceable (
|
|
246
|
-
✔ custom columns do not require or interfere with file data (
|
|
247
|
-
✔ filtered updates and failed validation preserve storage (
|
|
248
|
-
✔ failed uploads and application hooks leave no replacement objects (
|
|
249
|
-
✔ duplicate IDs, conflict updates and SQL-only requests cannot overwrite (
|
|
250
|
-
✔ PostgreSQL update policies are enforced before uploading (
|
|
251
|
-
✔ RLS-hidden references fail closed during storage cleanup (
|
|
252
|
-
✔ beforeEach lifecycle callbacks follow the outer transaction (
|
|
253
|
-
✔ outer rollback preserves replaced and deleted objects (
|
|
254
|
-
✔ a failed multi-insert waits for other uploads before cleanup (
|
|
255
|
-
✔ concurrent replacements leave one complete referenced object (
|
|
256
|
-
✔ version retention removes only unreferenced objects (
|
|
257
|
-
✔ foreign-key failure preserves bytes and deletion waits for commit (
|
|
258
|
-
✔ cloud downloads and cleanup use the committed storage key (
|
|
259
|
-
✔ Managed storage permission and transaction safety (
|
|
245
|
+
✔ legacy ID-based files remain readable and replaceable (44.547871ms)
|
|
246
|
+
✔ custom columns do not require or interfere with file data (24.583504ms)
|
|
247
|
+
✔ filtered updates and failed validation preserve storage (14.479178ms)
|
|
248
|
+
✔ failed uploads and application hooks leave no replacement objects (69.131374ms)
|
|
249
|
+
✔ duplicate IDs, conflict updates and SQL-only requests cannot overwrite (28.802413ms)
|
|
250
|
+
✔ PostgreSQL update policies are enforced before uploading (13.544774ms)
|
|
251
|
+
✔ RLS-hidden references fail closed during storage cleanup (7.03388ms)
|
|
252
|
+
✔ beforeEach lifecycle callbacks follow the outer transaction (43.589137ms)
|
|
253
|
+
✔ outer rollback preserves replaced and deleted objects (26.481473ms)
|
|
254
|
+
✔ a failed multi-insert waits for other uploads before cleanup (6.223303ms)
|
|
255
|
+
✔ concurrent replacements leave one complete referenced object (36.797401ms)
|
|
256
|
+
✔ version retention removes only unreferenced objects (59.99645ms)
|
|
257
|
+
✔ foreign-key failure preserves bytes and deletion waits for commit (35.705131ms)
|
|
258
|
+
✔ cloud downloads and cleanup use the committed storage key (97.530324ms)
|
|
259
|
+
✔ Managed storage permission and transaction safety (543.393324ms)
|
|
260
260
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
261
261
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
262
262
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -445,7 +445,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
445
445
|
}
|
|
446
446
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
447
447
|
destroying prgl instance
|
|
448
|
-
✔ custom joins add conditions unless override is requested (
|
|
448
|
+
✔ custom joins add conditions unless override is requested (2418.865447ms)
|
|
449
449
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
450
450
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
451
451
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -540,7 +540,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
540
540
|
}
|
|
541
541
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
542
542
|
destroying prgl instance
|
|
543
|
-
✔ custom self joins use configured paths and override inferred joins (
|
|
543
|
+
✔ custom self joins use configured paths and override inferred joins (1225.567475ms)
|
|
544
544
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
545
545
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
546
546
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -823,8 +823,8 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
823
823
|
}
|
|
824
824
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
825
825
|
destroying prgl instance
|
|
826
|
-
✔ destroy allows reusing Socket.IO on a running HTTP server (
|
|
827
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
826
|
+
✔ destroy allows reusing Socket.IO on a running HTTP server (3438.691729ms)
|
|
827
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
828
828
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
829
829
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
830
830
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -997,7 +997,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
997
997
|
}
|
|
998
998
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
999
999
|
IO missing. Publish has no effect without io or restApi
|
|
1000
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1000
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1001
1001
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1002
1002
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1003
1003
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1124,7 +1124,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
1124
1124
|
}
|
|
1125
1125
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1126
1126
|
IO missing. Publish has no effect without io or restApi
|
|
1127
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1127
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1128
1128
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1129
1129
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1130
1130
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1251,7 +1251,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
1251
1251
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1252
1252
|
IO missing. Publish has no effect without io or restApi
|
|
1253
1253
|
destroying prgl instance
|
|
1254
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1254
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1255
1255
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1256
1256
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1257
1257
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1378,7 +1378,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
1378
1378
|
}
|
|
1379
1379
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1380
1380
|
IO missing. Publish has no effect without io or restApi
|
|
1381
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1381
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1382
1382
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1383
1383
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1384
1384
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1505,7 +1505,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
1505
1505
|
}
|
|
1506
1506
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
1507
1507
|
IO missing. Publish has no effect without io or restApi
|
|
1508
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1508
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1509
1509
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1510
1510
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1511
1511
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1582,7 +1582,7 @@ Trace: Error: audit.tables cannot mix enabled and disabled entries
|
|
|
1582
1582
|
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1583
1583
|
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1584
1584
|
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1585
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1585
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1586
1586
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1587
1587
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1588
1588
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1659,7 +1659,7 @@ Trace: Error: Unknown audit table: missing_table
|
|
|
1659
1659
|
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1660
1660
|
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1661
1661
|
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1662
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1662
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1663
1663
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1664
1664
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1665
1665
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1736,7 +1736,7 @@ Trace: Error: audit.idColumns is required for audit_test_nopk without a primary
|
|
|
1736
1736
|
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1737
1737
|
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1738
1738
|
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1739
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1739
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1740
1740
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1741
1741
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1742
1742
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1813,7 +1813,7 @@ Trace: Error: Unsupported audit target: audit_test_view
|
|
|
1813
1813
|
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1814
1814
|
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1815
1815
|
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1816
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1816
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1817
1817
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1818
1818
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1819
1819
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -1890,7 +1890,7 @@ Trace: Error: Audit identity columns cannot be excluded: audit_test_source
|
|
|
1890
1890
|
at async TestContext.<anonymous> (/home/s/prostgles-server-js/tests/server/dist/server/audit.spec.js:485:17)
|
|
1891
1891
|
at async Test.run (node:internal/test_runner/test:1125:7)
|
|
1892
1892
|
at async Suite.processPendingSubtests (node:internal/test_runner/test:787:7)
|
|
1893
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
1893
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
1894
1894
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
1895
1895
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
1896
1896
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -2017,7 +2017,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
2017
2017
|
}
|
|
2018
2018
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2019
2019
|
IO missing. Publish has no effect without io or restApi
|
|
2020
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
2020
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
2021
2021
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2022
2022
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2023
2023
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -2144,7 +2144,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
2144
2144
|
}
|
|
2145
2145
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2146
2146
|
IO missing. Publish has no effect without io or restApi
|
|
2147
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
2147
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
2148
2148
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2149
2149
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2150
2150
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -2271,7 +2271,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
2271
2271
|
}
|
|
2272
2272
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2273
2273
|
IO missing. Publish has no effect without io or restApi
|
|
2274
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
2274
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
2275
2275
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2276
2276
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2277
2277
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -2398,7 +2398,7 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
2398
2398
|
}
|
|
2399
2399
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
2400
2400
|
IO missing. Publish has no effect without io or restApi
|
|
2401
|
-
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-
|
|
2401
|
+
Prostgles: SQL file executed successfuly /tmp/prostgles-audit-6dBFov/init.sql
|
|
2402
2402
|
prostgles schema exists but cannot check version. Check logs error: relation "prostgles.versions" does not exist
|
|
2403
2403
|
at parseErrorMessage (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:306:11)
|
|
2404
2404
|
at Parser.handlePacket (/home/s/prostgles-server-js/node_modules/pg-protocol/dist/parser.js:143:27)
|
|
@@ -3061,135 +3061,123 @@ prostgles schema exists but cannot check version. Check logs error: relation "pr
|
|
|
3061
3061
|
Could not initiate PubSubManager. Realtime data/Subscriptions will not work. Error: prostgles schema exists but cannot check version. Check logs
|
|
3062
3062
|
IO missing. Publish has no effect without io or restApi
|
|
3063
3063
|
destroying prgl instance
|
|
3064
|
-
✔ Managed audit setup, row history, protection, access and query readiness (
|
|
3065
|
-
✔ getJSONBSchemaValidationErrorAsync with real db handlers (
|
|
3064
|
+
✔ Managed audit setup, row history, protection, access and query readiness (10733.115554ms)
|
|
3065
|
+
✔ getJSONBSchemaValidationErrorAsync with real db handlers (7.709367ms)
|
|
3066
3066
|
getPubSubManagerInitQuery: No prostgles.versions table found. Creating...
|
|
3067
|
-
✔ Parallel subscription at init causing crash in getPubSubManager: duplicate key value violates unique constraint "apps_pkey" (
|
|
3068
|
-
✔ RLS context is isolated across implicit transactions, commit, rollback and pool reuse (
|
|
3069
|
-
✔ subscription and sync reads isolate users with a real RLS policy (
|
|
3070
|
-
✔ ordinary beforeEach hooks transform inputs before validation (
|
|
3071
|
-
✔ multi false is checked after beforeEach and rolls back the update (
|
|
3072
|
-
✔ ordinary beforeEach hooks run before PostgreSQL UPDATE policy checks (
|
|
3073
|
-
✔ before and after hooks preserve RLS across dbx and raw tx calls (
|
|
3067
|
+
✔ Parallel subscription at init causing crash in getPubSubManager: duplicate key value violates unique constraint "apps_pkey" (101.659395ms)
|
|
3068
|
+
✔ RLS context is isolated across implicit transactions, commit, rollback and pool reuse (27.055676ms)
|
|
3069
|
+
✔ subscription and sync reads isolate users with a real RLS policy (26.663501ms)
|
|
3070
|
+
✔ ordinary beforeEach hooks transform inputs before validation (33.155151ms)
|
|
3071
|
+
✔ multi false is checked after beforeEach and rolls back the update (9.788719ms)
|
|
3072
|
+
✔ ordinary beforeEach hooks run before PostgreSQL UPDATE policy checks (7.911519ms)
|
|
3073
|
+
✔ before and after hooks preserve RLS across dbx and raw tx calls (11.356387ms)
|
|
3074
3074
|
destroying prgl instance
|
|
3075
|
-
✔ onInsteadOfDelete receives the authenticated or anonymous request context (
|
|
3076
|
-
✔ Self reference recursion bug (
|
|
3077
|
-
✔ Transactions (
|
|
3075
|
+
✔ onInsteadOfDelete receives the authenticated or anonymous request context (1209.837264ms)
|
|
3076
|
+
✔ Self reference recursion bug (3.418441ms)
|
|
3077
|
+
✔ Transactions (16.818654ms)
|
|
3078
3078
|
(server): Server-only query tests successful
|
|
3079
3079
|
(server): Starting isomorphic queries
|
|
3080
|
-
✔ TableConfig onMount works (
|
|
3081
|
-
✔ Server Only Queries (
|
|
3080
|
+
✔ TableConfig onMount works (4.318737ms)
|
|
3081
|
+
✔ Server Only Queries (21886.44511ms)
|
|
3082
3082
|
(server): DELETING items
|
|
3083
3083
|
▶ Isomorphic queries
|
|
3084
|
-
✔ Deleting stale data (
|
|
3085
|
-
✔ Error structure malformed array literal (
|
|
3086
|
-
✔ Table info (0.
|
|
3087
|
-
✔ Prepare data (
|
|
3088
|
-
✔ Test bytea (
|
|
3089
|
-
✔ abortSignal terminates a running query (
|
|
3090
|
-
✔ Client queries are aborted no more than after n seconds (0.
|
|
3091
|
-
✔ Subscription tracked_columns get merged correctly (
|
|
3092
|
-
✔ Aggregate subscription tracks FILTER and ORDER BY dependencies (
|
|
3093
|
-
✔ CASE select and subscription dependencies (
|
|
3094
|
-
✔ Subscription tracks non-selected ORDER BY columns (
|
|
3095
|
-
✔ merge json (
|
|
3096
|
-
✔ json array converted to pg array filter bug (
|
|
3097
|
-
✔ onConflict do update (
|
|
3098
|
-
✔ Local file upload (
|
|
3099
|
-
✔ Local file delete (
|
|
3100
|
-
✔ Local file update (
|
|
3101
|
-
✔ getColumns definition (
|
|
3102
|
-
✔ returnType (0.
|
|
3103
|
-
✔ Table config triggers (
|
|
3104
|
-
✔ $unnest_words (
|
|
3105
|
-
✔ Group by/Distinct (1.
|
|
3106
|
-
✔ sql returntype default-with-rollback (
|
|
3107
|
-
✔ returnType: value (1.
|
|
3108
|
-
✔ PostgreSQL array element (
|
|
3109
|
-
✔ FTS filtering (
|
|
3110
|
-
✔ $term_highlight (
|
|
3111
|
-
✔ funcFilters: $term_highlight (
|
|
3084
|
+
✔ Deleting stale data (40.547304ms)
|
|
3085
|
+
✔ Error structure malformed array literal (30.974864ms)
|
|
3086
|
+
✔ Table info (0.635721ms)
|
|
3087
|
+
✔ Prepare data (52.750833ms)
|
|
3088
|
+
✔ Test bytea (5.328148ms)
|
|
3089
|
+
✔ abortSignal terminates a running query (5542.200363ms)
|
|
3090
|
+
✔ Client queries are aborted no more than after n seconds (0.381361ms)
|
|
3091
|
+
✔ Subscription tracked_columns get merged correctly (25.702321ms)
|
|
3092
|
+
✔ Aggregate subscription tracks FILTER and ORDER BY dependencies (1029.269737ms)
|
|
3093
|
+
✔ CASE select and subscription dependencies (655.18378ms)
|
|
3094
|
+
✔ Subscription tracks non-selected ORDER BY columns (641.807452ms)
|
|
3095
|
+
✔ merge json (9.958905ms)
|
|
3096
|
+
✔ json array converted to pg array filter bug (2.315445ms)
|
|
3097
|
+
✔ onConflict do update (8.187348ms)
|
|
3098
|
+
✔ Local file upload (54.485208ms)
|
|
3099
|
+
✔ Local file delete (24.758733ms)
|
|
3100
|
+
✔ Local file update (21.670482ms)
|
|
3101
|
+
✔ getColumns definition (0.768549ms)
|
|
3102
|
+
✔ returnType (0.364969ms)
|
|
3103
|
+
✔ Table config triggers (5.178572ms)
|
|
3104
|
+
✔ $unnest_words (1.053602ms)
|
|
3105
|
+
✔ Group by/Distinct (1.439312ms)
|
|
3106
|
+
✔ sql returntype default-with-rollback (16.661257ms)
|
|
3107
|
+
✔ returnType: value (1.713094ms)
|
|
3108
|
+
✔ PostgreSQL array element (5.84942ms)
|
|
3109
|
+
✔ FTS filtering (9.301574ms)
|
|
3110
|
+
✔ $term_highlight (5.38455ms)
|
|
3111
|
+
✔ funcFilters: $term_highlight (2.389424ms)
|
|
3112
3112
|
(server): [{"name":null}]
|
|
3113
3113
|
(server): [{"name":"zz3zz1"}]
|
|
3114
3114
|
(server): []
|
|
3115
|
-
✔ subscribe skipChangedColumnsCheck false by default = sub should not fire if selected data did not change (
|
|
3115
|
+
✔ subscribe skipChangedColumnsCheck false by default = sub should not fire if selected data did not change (865.246139ms)
|
|
3116
3116
|
(server): [{"name":null}]
|
|
3117
3117
|
(server): [{"name":"zz3zz1"}]
|
|
3118
3118
|
(server): [{"name":"zz3zz1"}]
|
|
3119
3119
|
(server): [{"name":"zz3zz1"}]
|
|
3120
3120
|
(server): []
|
|
3121
|
-
✔ subscribe skipChangedColumnsCheck true (
|
|
3121
|
+
✔ subscribe skipChangedColumnsCheck true (3386.614626ms)
|
|
3122
3122
|
unsubscribe start - various
|
|
3123
3123
|
unsubscribe end - various
|
|
3124
|
-
✔ subscribe (
|
|
3125
|
-
✔ subscribe to schema.table (
|
|
3126
|
-
✔ parallel subscriptions (
|
|
3127
|
-
(server): updateAll done in
|
|
3128
|
-
(server): updateAll done in
|
|
3129
|
-
(server): Locks: [{"pid":
|
|
3130
|
-
(server): Locks: [{"pid":
|
|
3131
|
-
(server): Locks: [{"pid":
|
|
3132
|
-
(server): Locks: [{"pid":
|
|
3133
|
-
(server): Locks: [{"pid":
|
|
3134
|
-
(server):
|
|
3135
|
-
|
|
3136
|
-
(server): Locks: [{"pid":113,"blocking_pids":[122],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1175'\n WHERE id = 1175;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1172'\n WHERE id = 1172;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "},{"pid":120,"blocking_pids":[122,113],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1176'\n WHERE id = 1176;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1175'\n WHERE id = 1175;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "},{"pid":126,"blocking_pids":[122,113,120],"wait_event":"PgSleep","wait_event_type":"Timeout","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1177'\n WHERE id = 1177;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1175'\n WHERE id = 1175;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3137
|
-
(server): Locks: [{"pid":119,"blocking_pids":[120,126],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1178'\n WHERE id = 1178;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1176'\n WHERE id = 1176;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "},{"pid":126,"blocking_pids":[120],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1177'\n WHERE id = 1177;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1176'\n WHERE id = 1176;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3138
|
-
(server): Locks: [{"pid":122,"blocking_pids":[119],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1185'\n WHERE id = 1185;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1186'\n WHERE id = 1186;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3139
|
-
(server): Locks: [{"pid":121,"blocking_pids":[111],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1191'\n WHERE id = 1191;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":null}]
|
|
3140
|
-
(server): Locks: [{"pid":122,"blocking_pids":[124],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1195'\n WHERE id = 1195;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1193'\n WHERE id = 1193;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3141
|
-
(server): Locks: [{"pid":126,"blocking_pids":[121],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1313'\n WHERE id = 1313;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1314'\n WHERE id = 1314;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3142
|
-
(server): Locks: [{"pid":123,"blocking_pids":[124],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1452'\n WHERE id = 1452;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1450'\n WHERE id = 1450;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3143
|
-
(server): Locks: [{"pid":113,"blocking_pids":[119],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1521'\n WHERE id = 1521;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1520'\n WHERE id = 1520;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3144
|
-
(server): Locks: [{"pid":126,"blocking_pids":[124],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1901'\n WHERE id = 1901;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1898'\n WHERE id = 1898;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3145
|
-
(server): Locks: [{"pid":124,"blocking_pids":[121],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1983'\n WHERE id = 1983;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1982'\n WHERE id = 1982;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3146
|
-
(server): updateAll done in 1792
|
|
3147
|
-
✔ subscriptions do not serialize transactions (9508.437235ms)
|
|
3124
|
+
✔ subscribe (49.53354ms)
|
|
3125
|
+
✔ subscribe to schema.table (17.82489ms)
|
|
3126
|
+
✔ parallel subscriptions (2033.641732ms)
|
|
3127
|
+
(server): updateAll done in 1660
|
|
3128
|
+
(server): updateAll done in 1637
|
|
3129
|
+
(server): Locks: [{"pid":111,"blocking_pids":[115],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1121'\n WHERE id = 1121;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":null}]
|
|
3130
|
+
(server): Locks: [{"pid":126,"blocking_pids":[124],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1122'\n WHERE id = 1122;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1126'\n WHERE id = 1126;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3131
|
+
(server): Locks: [{"pid":115,"blocking_pids":[124],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1379'\n WHERE id = 1379;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1378'\n WHERE id = 1378;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3132
|
+
(server): Locks: [{"pid":120,"blocking_pids":[127],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1475'\n WHERE id = 1475;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":null}]
|
|
3133
|
+
(server): Locks: [{"pid":120,"blocking_pids":[115],"wait_event":"object","wait_event_type":"Lock","query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1496'\n WHERE id = 1496;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n ","blocking_query":"\n BEGIN;\n UPDATE various\n SET name = 'slowtx1495'\n WHERE id = 1495;\n SELECT pg_sleep(0.01);\n COMMIT;\n\n "}]
|
|
3134
|
+
(server): updateAll done in 1932
|
|
3135
|
+
✔ subscriptions do not serialize transactions (9761.5998ms)
|
|
3148
3136
|
Created PubSubManager
|
|
3149
3137
|
throttling sub for 1700 ms
|
|
3150
|
-
✔ subscribeOne with throttle (
|
|
3138
|
+
✔ subscribeOne with throttle (1782.236866ms)
|
|
3151
3139
|
throttling finished. pushSubData...
|
|
3152
3140
|
throttling sub for 1700 ms
|
|
3153
|
-
✔ subscribeOne with throttle skipFirst: true (
|
|
3154
|
-
✔ subscribeOne without skipFirst (
|
|
3155
|
-
✔ subscribeOne with skipFirst: true (
|
|
3156
|
-
✔ subscribeOne actions: { insert: true } (
|
|
3157
|
-
✔ subscribeOne actions: { insert: false } (
|
|
3158
|
-
✔ JSON filtering (
|
|
3159
|
-
✔ Complex filtering (3.
|
|
3160
|
-
✔ template_string function (2.
|
|
3161
|
-
✔ Between filtering (
|
|
3162
|
-
✔ In filtering (1.
|
|
3163
|
-
✔ Order by (2.
|
|
3164
|
-
✔ Order by aliased func (
|
|
3165
|
-
✔ Filter by aliased func (
|
|
3166
|
-
✔ Count with Filter by aliased func (1.
|
|
3167
|
-
✔ Count with Aggregate and Filter by aliased func (
|
|
3168
|
-
✔ Count with complex filter (1.
|
|
3169
|
-
✔ Order by aggregation (0.
|
|
3170
|
-
✔ Aggregate FILTER and ORDER BY (1.
|
|
3171
|
-
✔ Column alias func (0.
|
|
3172
|
-
✔ Order by colliding alias name (0.
|
|
3173
|
-
✔ Update batch example (
|
|
3141
|
+
✔ subscribeOne with throttle skipFirst: true (1713.210748ms)
|
|
3142
|
+
✔ subscribeOne without skipFirst (1067.351717ms)
|
|
3143
|
+
✔ subscribeOne with skipFirst: true (1577.237106ms)
|
|
3144
|
+
✔ subscribeOne actions: { insert: true } (1567.045187ms)
|
|
3145
|
+
✔ subscribeOne actions: { insert: false } (1537.864601ms)
|
|
3146
|
+
✔ JSON filtering (4.676459ms)
|
|
3147
|
+
✔ Complex filtering (3.649536ms)
|
|
3148
|
+
✔ template_string function (2.995882ms)
|
|
3149
|
+
✔ Between filtering (1.946746ms)
|
|
3150
|
+
✔ In filtering (1.834383ms)
|
|
3151
|
+
✔ Order by (2.766416ms)
|
|
3152
|
+
✔ Order by aliased func (1.547254ms)
|
|
3153
|
+
✔ Filter by aliased func (1.587346ms)
|
|
3154
|
+
✔ Count with Filter by aliased func (1.927992ms)
|
|
3155
|
+
✔ Count with Aggregate and Filter by aliased func (2.038122ms)
|
|
3156
|
+
✔ Count with complex filter (1.659176ms)
|
|
3157
|
+
✔ Order by aggregation (0.855488ms)
|
|
3158
|
+
✔ Aggregate FILTER and ORDER BY (1.615214ms)
|
|
3159
|
+
✔ Column alias func (0.743499ms)
|
|
3160
|
+
✔ Order by colliding alias name (0.661035ms)
|
|
3161
|
+
✔ Update batch example (11.450474ms)
|
|
3174
3162
|
TODO: socket.io stringifies dates
|
|
3175
|
-
✔ Function example (
|
|
3176
|
-
✔ JSONB filtering (
|
|
3177
|
-
✔ Postgis examples (
|
|
3178
|
-
✔ jsonbSchema validation (
|
|
3179
|
-
✔ find and findOne (
|
|
3180
|
-
✔ Result size (
|
|
3181
|
-
✔ Basic exists (
|
|
3182
|
-
✔ Basic fts with shorthand notation (3.
|
|
3183
|
-
✔ Exists with shortest path wildcard filter example (
|
|
3184
|
-
✔ Exists with exact path filter example (1.
|
|
3185
|
-
✔ Not Exists with exact path filter example (1.
|
|
3186
|
-
✔ Upsert example (
|
|
3187
|
-
✔ Joins example (
|
|
3188
|
-
✔ Joins repeating table example (
|
|
3189
|
-
✔ Join aggregate functions example (
|
|
3190
|
-
✔ $rowhash example (
|
|
3191
|
-
✔ Reference column nested insert (
|
|
3192
|
-
✔ Join escaped table names with quotes (
|
|
3163
|
+
✔ Function example (9.427915ms)
|
|
3164
|
+
✔ JSONB filtering (8.21113ms)
|
|
3165
|
+
✔ Postgis examples (23.526353ms)
|
|
3166
|
+
✔ jsonbSchema validation (7.233931ms)
|
|
3167
|
+
✔ find and findOne (2.87159ms)
|
|
3168
|
+
✔ Result size (3.171889ms)
|
|
3169
|
+
✔ Basic exists (3.030855ms)
|
|
3170
|
+
✔ Basic fts with shorthand notation (3.963788ms)
|
|
3171
|
+
✔ Exists with shortest path wildcard filter example (3.277646ms)
|
|
3172
|
+
✔ Exists with exact path filter example (1.311142ms)
|
|
3173
|
+
✔ Not Exists with exact path filter example (1.310038ms)
|
|
3174
|
+
✔ Upsert example (15.789258ms)
|
|
3175
|
+
✔ Joins example (3.01548ms)
|
|
3176
|
+
✔ Joins repeating table example (5.08916ms)
|
|
3177
|
+
✔ Join aggregate functions example (12.509478ms)
|
|
3178
|
+
✔ $rowhash example (9.040484ms)
|
|
3179
|
+
✔ Reference column nested insert (12.084581ms)
|
|
3180
|
+
✔ Join escaped table names with quotes (15.92877ms)
|
|
3193
3181
|
(server): {
|
|
3194
3182
|
"item": {
|
|
3195
3183
|
"\"id0\"": 1,
|
|
@@ -3208,9 +3196,9 @@ TODO: socket.io stringifies dates
|
|
|
3208
3196
|
}
|
|
3209
3197
|
unsubscribe start - """quoted0"""
|
|
3210
3198
|
unsubscribe end - """quoted0"""
|
|
3211
|
-
✔ subscribe to escaped table name (
|
|
3212
|
-
✔ subscribe using a filter bigger than block_size (
|
|
3213
|
-
✔ Reverse join with agg (
|
|
3199
|
+
✔ subscribe to escaped table name (19.037675ms)
|
|
3200
|
+
✔ subscribe using a filter bigger than block_size (16.647886ms)
|
|
3201
|
+
✔ Reverse join with agg (19.366129ms)
|
|
3214
3202
|
{
|
|
3215
3203
|
_rows: [
|
|
3216
3204
|
{ id: 1, t1: null, tr2: [Array], tr3: [] },
|
|
@@ -3225,25 +3213,25 @@ unsubscribe end - """quoted0"""
|
|
|
3225
3213
|
],
|
|
3226
3214
|
runs: 2
|
|
3227
3215
|
}
|
|
3228
|
-
✔ Related table subscribe (
|
|
3229
|
-
✔ Aggregate FILTER registers joined dependency triggers (
|
|
3230
|
-
✔ Nested sort by computed col (13.
|
|
3231
|
-
✔ Nested function on different than source column getNewQuery name bug fix (
|
|
3232
|
-
✔ Reference column deep nested insert (
|
|
3233
|
-
✔ Multi reference column nested insert (
|
|
3234
|
-
✔ Join path with order by nested (
|
|
3235
|
-
✔ Self join (
|
|
3236
|
-
✔ One to many multi join duplicate row bug fix (
|
|
3237
|
-
(server): various id=99 count
|
|
3216
|
+
✔ Related table subscribe (9053.508616ms)
|
|
3217
|
+
✔ Aggregate FILTER registers joined dependency triggers (673.040165ms)
|
|
3218
|
+
✔ Nested sort by computed col (13.654232ms)
|
|
3219
|
+
✔ Nested function on different than source column getNewQuery name bug fix (2.760426ms)
|
|
3220
|
+
✔ Reference column deep nested insert (20.584349ms)
|
|
3221
|
+
✔ Multi reference column nested insert (22.065512ms)
|
|
3222
|
+
✔ Join path with order by nested (15.447394ms)
|
|
3223
|
+
✔ Self join (16.710305ms)
|
|
3224
|
+
✔ One to many multi join duplicate row bug fix (14.196386ms)
|
|
3225
|
+
(server): various id=99 count
|
|
3238
3226
|
(server): various id=99 count
|
|
3239
3227
|
ok
|
|
3240
3228
|
(server): various id=99 count
|
|
3241
|
-
(server): Error in subscription callback: {"message":"column prostgles_root_table_alias.name does not exist","length":130,"name":"error","severity":"ERROR","code":"42703","position":"107","file":"parse_relation.c","line":"3716","routine":"errorMissingColumn","query":"-- prostgles query id:
|
|
3229
|
+
(server): Error in subscription callback: {"message":"column prostgles_root_table_alias.name does not exist","length":130,"name":"error","severity":"ERROR","code":"42703","position":"107","file":"parse_relation.c","line":"3716","routine":"errorMissingColumn","query":"-- prostgles query id: 0f4edde6-ce5f-42ab-be9f-76071bf47607\nSET LOCAL \"prostgles.user\" \nTO '';\nSELECT \n \"prostgles_root_table_alias\".\"name\" AS \"name\" \n FROM ( \n SELECT * \n FROM various \n WHERE \"id\" = 99 \n ) prostgles_root_table_alias \n LIMIT 1000","code_info":"undefined_column"}
|
|
3242
3230
|
ok
|
|
3243
|
-
✔ subscribe triggers with stale schema should fail gracefully and never block other queries (
|
|
3244
|
-
✔ Isomorphic queries (
|
|
3245
|
-
✔ Having clause (
|
|
3246
|
-
✔ Having clause with complex filter (
|
|
3231
|
+
✔ subscribe triggers with stale schema should fail gracefully and never block other queries (6545.342086ms)
|
|
3232
|
+
✔ Isomorphic queries (50177.602288ms)
|
|
3233
|
+
✔ Having clause (2.459683ms)
|
|
3234
|
+
✔ Having clause with complex filter (2.153562ms)
|
|
3247
3235
|
(server): Server isomorphic tests successful
|
|
3248
3236
|
(server): Stopping server ...
|
|
3249
3237
|
ℹ tests 124
|
|
@@ -3253,4 +3241,4 @@ ok
|
|
|
3253
3241
|
ℹ cancelled 0
|
|
3254
3242
|
ℹ skipped 0
|
|
3255
3243
|
ℹ todo 0
|
|
3256
|
-
ℹ duration_ms
|
|
3244
|
+
ℹ duration_ms 77089.531558
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
tests/client/hooks.spec.ts(229,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
2
|
+
tests/client/hooks.spec.ts(230,11): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
3
|
+
tests/client/hooks.spec.ts(232,22): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
4
|
+
tests/client/hooks.spec.ts(235,15): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
5
|
+
tests/client/hooks.spec.ts(243,11): error TS18048: 'handleUpdateResult.data' is possibly 'undefined'.
|
|
6
|
+
tests/client/hooks.spec.ts(244,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
7
|
+
tests/client/hooks.spec.ts(246,22): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
8
|
+
tests/client/index.ts(58,11): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
9
|
+
tests/client/index.ts(64,71): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
10
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
11
|
+
tests/client/index.ts(68,32): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
12
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
13
|
+
tests/client/index.ts(71,31): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
14
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
15
|
+
tests/client/index.ts(74,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
16
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
17
|
+
tests/client/index.ts(78,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
18
|
+
tests/client/renderReactHook.ts(110,20): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
|
|
19
|
+
tests/client/renderReactHook.ts(113,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
20
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
21
|
+
tests/client/renderReactHook.ts(171,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
22
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
23
|
+
tests/client/useProstgles.spec.ts(50,31): error TS2532: Object is possibly 'undefined'.
|
|
24
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2532: Object is possibly 'undefined'.
|
|
25
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
26
|
+
tests/client/useProstgles.spec.ts(80,31): error TS18048: 'res3.db.items4' is possibly 'undefined'.
|
|
27
|
+
tests/client/useProstgles.spec.ts(80,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
28
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4' is possibly 'undefined'.
|
|
29
|
+
tests/client/useProstgles.spec.ts(97,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
30
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4.count' is possibly 'undefined'.
|
|
31
|
+
tests/client/useProstgles.spec.ts(100,31): error TS2532: Object is possibly 'undefined'.
|
|
32
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
33
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
34
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
35
|
+
tests/clientRestApi.spec.ts(84,82): error TS2345: Argument of type 'TableInfo<Record<string, unknown>> | undefined' is not assignable to parameter of type 'AnyObject'.
|
|
36
|
+
Type 'undefined' is not assignable to type 'AnyObject'.
|
|
37
|
+
tests/server/audit.spec.ts(280,22): error TS2531: Object is possibly 'null'.
|
|
38
|
+
tests/server/audit.spec.ts(281,22): error TS2531: Object is possibly 'null'.
|
|
File without changes
|