Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,14 @@ jobs:
- name: Run the non-SQL temporal backends under the skewed process zone
env:
TZ: America/New_York
# [#21564] The same URL the SQL legs of this job receive, for the
# postgres service this job already runs. `service-analytics` keys
# its live-PostgreSQL cells on it (`describe.skipIf(!config)`), so
# without this line they were named skips here and the job read as
# though ADR-0053 D-A3's live non-UTC PostgreSQL row had run. Core,
# formula, driver-memory and driver-mongodb do not read it. No
# `OS_EXPECT_LIVE_DIALECT_MATRIX` here: no test in this step reads it.
OS_TEST_POSTGRES_URL: postgres://postgres:postgres@127.0.0.1:5432/postgres
run: |
# The axis is only real if the zone actually took. Without this, a
# dropped `TZ:` line silently returns the job to UTC coverage and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its table, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its tables, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
* ## The dialect axis
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI. The live cell owns its table, dropped before and after.
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI. The live cell owns its table, dropped before and after.
*/

import { describe, it, expect, beforeAll, afterAll } from 'vitest';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its tables, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
* before any leaf exists, so the arm reaches it with no change here.
*
* The PostgreSQL cells run where `OS_TEST_POSTGRES_URL` is set and are a named
* skip otherwise; no CI step provisions that variable for this package. The
* skip otherwise; CI provisions that variable for this package in the
* Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`). The
* live cell owns its table, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@
*
* The SQLite cell always runs; there, the fold is the policy that diverged. The
* PostgreSQL cell runs where `OS_TEST_POSTGRES_URL` is set and is a named skip
* otherwise; no CI step provisions that variable for this package, so the live
* cell is red-capable and un-run in CI, and the PR that landed this file carries
* otherwise; CI provisions that variable for this package in the
* Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries
* its local PostgreSQL 16 run. The operand the PostgreSQL / MySQL cells rely on
* is pinned per dialect in CI by `@objectstack/core`'s `aggregate-answer.test.ts`
* and by `driver-sql`'s move proof. MySQL is not a cell here. The live cell owns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its tables, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
* edit in place would throw.
*
* The PostgreSQL cell runs where `OS_TEST_POSTGRES_URL` is set and is a named
* skip otherwise; no CI step provisions that variable for this package. The
* skip otherwise; CI provisions that variable for this package in the
* Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`). The
* live cell owns its table, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise. No CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI; the PR that landed this file carries its local PostgreSQL
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise. CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI; the PR that landed this file carries its local PostgreSQL
* 16 run. `@objectstack/core`'s `aggregate-answer.test.ts` pins the presenter
* itself in CI. The live cell owns its table, dropped before and after.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
* edit in place would throw.
*
* The PostgreSQL cell runs where `OS_TEST_POSTGRES_URL` is set and is a named
* skip otherwise; no CI step provisions that variable for this package. The
* skip otherwise; CI provisions that variable for this package in the
* Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`). The
* live cell owns its tables, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
*
* - **sqlite → EXECUTED** (better-sqlite3), every run: `LIMIT -1 OFFSET n`.
* - **postgres → EXECUTED** where `OS_TEST_POSTGRES_URL` is set, a named skip
* otherwise: `OFFSET n` alone, byte-identical to before. No CI step
* provisions that variable for this package, so the live cell is
* red-capable and un-run in CI; the PR that landed this file carries its
* otherwise: `OFFSET n` alone, byte-identical to before. CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs
* in CI; the PR that landed this file carries its
* local PostgreSQL 16 run.
* - **unknown (no `sqlDialect` hook) → EXECUTED** on both engines above,
* through a `NativeSQLStrategy` whose context names no dialect:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
* - **sqlite** (better-sqlite3), every run. Month, quarter and week are
* grouped by the driver (SQLite's `week` arm landed with #21595).
* - **postgres** where `OS_TEST_POSTGRES_URL` is set, a named skip otherwise.
* Month, quarter and week are grouped by the driver. No CI step provisions
* that variable for this package, so the live cell is red-capable and
* un-run in CI.
* Month, quarter and week are grouped by the driver. CI provisions that
* variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI.
*
* Where the hook answers nothing, the bucket keeps `date_trunc`: a non-UTC
* `timezone` (the engine buckets in memory on that zone's calendar), and a host
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
*
* - **sqlite → EXECUTED** (better-sqlite3), every run.
* - **postgres → EXECUTED** where `OS_TEST_POSTGRES_URL` is set, a named skip
* otherwise: `OFFSET n` alone, byte-identical to before. No CI step
* provisions that variable for this package, so the live cell is
* red-capable and un-run in CI.
* otherwise: `OFFSET n` alone, byte-identical to before. CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs
* in CI.
* - **unknown (no `sqlDialect` hook) → EXECUTED** on both engines above,
* through an `ObjectQLStrategy` whose context names no dialect:
* `LIMIT 9223372036854775807 OFFSET n`, the native face's spelling for it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its tables, dropped before and after.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
* ## The dialect axis of THIS file
*
* The SQLite cell always runs. The PostgreSQL cell runs where
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; no CI step
* provisions that variable for this package, so the live cell is red-capable
* and un-run in CI, and the PR that landed this file carries its local
* `OS_TEST_POSTGRES_URL` is set and is a named skip otherwise; CI provisions
* that variable for this package in the Temporal Conformance job's step
* "Run the non-SQL temporal backends under the skewed process zone"
* (`.github/workflows/ci.yml`), so the live cell is red-capable and runs in
* CI, and the PR that landed this file carries its local
* PostgreSQL 16 run. The live cell owns its tables, dropped before and after.
*/

Expand Down
Loading