Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(ci): use pg14 to match prod db version (#7701)
Will Hutchinsonffd8ec2c085c
diff --git a/.github/workflows/code_check_cloud_storage.yml b/.github/workflows/code_check_cloud_storage.ymlindex 31dd4c1741..684b0d481b 100644--- a/.github/workflows/code_check_cloud_storage.yml+++ b/.github/workflows/code_check_cloud_storage.yml@@ -503,7 +503,7 @@ jobs:SCCACHE_IDLE_TIMEOUT: '0'services:postgres:- image: pgvector/pgvector:pg18+ image: pgvector/pgvector:pg14env:POSTGRES_USER: userPOSTGRES_PASSWORD: password@@ -564,9 +564,9 @@ jobs:run: sccache --start-server- name: configure postgres for concurrent testsrun: |- postgres_container="$(docker ps --format '{{.ID}} {{.Image}}' | awk '$2 == "pgvector/pgvector:pg18" { print $1; exit }')"+ postgres_container="$(docker ps --format '{{.ID}} {{.Image}}' | awk '$2 == "pgvector/pgvector:pg14" { print $1; exit }')"if [ -z "$postgres_container" ]; then- echo "pgvector/pgvector:pg18 service container not found" >&2+ echo "pgvector/pgvector:pg14 service container not found" >&2docker psexit 1fidiff --git a/tooling/xtask/crates/xtask_workflows/src/workflows/code_check_cloud_storage.rs b/tooling/xtask/crates/xtask_workflows/src/workflows/code_check_cloud_storage.rsindex e38d76e7f8..3535882c43 100644--- a/tooling/xtask/crates/xtask_workflows/src/workflows/code_check_cloud_storage.rs+++ b/tooling/xtask/crates/xtask_workflows/src/workflows/code_check_cloud_storage.rs@@ -305,10 +305,10 @@ fn cargo_clippy() -> Step<Run> {))}-/// pgvector service container, tuned env preserved.+/// Match production's PostgreSQL major version so CI rejects incompatible migrations.fn postgres_service() -> Container {Container::default()- .image("pgvector/pgvector:pg18")+ .image("pgvector/pgvector:pg14").env(Env::new("POSTGRES_USER", "user").add("POSTGRES_PASSWORD", "password")diff --git a/tooling/xtask/crates/xtask_workflows/src/workflows/scripts/configure_postgres.sh b/tooling/xtask/crates/xtask_workflows/src/workflows/scripts/configure_postgres.shindex 1c99daea7a..964718ea18 100644--- a/tooling/xtask/crates/xtask_workflows/src/workflows/scripts/configure_postgres.sh+++ b/tooling/xtask/crates/xtask_workflows/src/workflows/scripts/configure_postgres.sh@@ -1,6 +1,6 @@-postgres_container="$(docker ps --format '{{.ID}} {{.Image}}' | awk '$2 == "pgvector/pgvector:pg18" { print $1; exit }')"+postgres_container="$(docker ps --format '{{.ID}} {{.Image}}' | awk '$2 == "pgvector/pgvector:pg14" { print $1; exit }')"if [ -z "$postgres_container" ]; then- echo "pgvector/pgvector:pg18 service container not found" >&2+ echo "pgvector/pgvector:pg14 service container not found" >&2docker psexit 1fi