:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(devex): revert hogli db command rename breaking PR CI (#57802)
Julian Bez5075defe6a5a
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.ymlindex e2086ac08b16..78406df49b1a 100644--- a/.github/workflows/ci-backend.yml+++ b/.github/workflows/ci-backend.yml@@ -452,7 +452,7 @@ jobs:fimkdir -p .postgres-backupsmv schema.sql.gz .postgres-backups/schema-latest.sql.gz- ./bin/hogli db:restore-schema-fresh+ ./bin/hogli db:restore-test-db- name: Register Temporal search attributesrun: |@@ -1322,7 +1322,7 @@ jobs:fimkdir -p .postgres-backupsmv schema.sql.gz .postgres-backups/schema-latest.sql.gz- ./bin/hogli db:restore-schema-fresh+ ./bin/hogli db:restore-test-db- name: Determine if --snapshot-update should be on# UPDATE mode: human commits - update snapshotsdiff --git a/hogli.yaml b/hogli.yamlindex 412685c12471..687af8977e89 100644--- a/hogli.yaml+++ b/hogli.yaml@@ -530,13 +530,13 @@ db:db:prime-test-db:steps:- db:download-schema- - db:restore-schema-fresh+ - db:restore-test-dbdescription: Download pre-migrated schema and prime the test_posthog database forpytest --reuse-dbservices:- postgresql- docker- db:restore-schema-fresh:+ db:restore-test-db:cmd: |set -eTARGET_DB="${TARGET_DB:-test_posthog}"@@ -570,6 +570,12 @@ db:services:- postgresql- docker+ db:restore-schema-fresh:+ steps:+ - db:restore-test-db+ description: Alias for db:restore-test-db. Kept so PR branches that pulled in the+ short-lived rename (#57657) still resolve a valid command after the revert.+ Safe to remove once those branches are merged or rebased.db:download-schema:cmd: "set -e\nmkdir -p .postgres-backups\necho \"Finding latest CI run with migrated-schema\\ artifact...\"\nRUN_ID=$(gh api 'repos/PostHog/posthog/actions/artifacts?name=migrated-schema&per_page=10'\