: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
chore(ci): pin the repository in image build metadata (#120568)
Georges-Antoine Assie3bded8bfd25
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.ymlindex 06348ad4bf25..7ea38233ac0c 100644--- a/.github/workflows/container-images-cd.yml+++ b/.github/workflows/container-images-cd.yml@@ -217,7 +217,7 @@ jobs:GITHUB_ACTIONS=trueGITHUB_SHA=${{ github.sha }}GITHUB_REF_NAME=${{ github.ref_name }}- GITHUB_REPOSITORY=${{ github.repository }}+ GITHUB_REPOSITORY=PostHog/posthogGITHUB_SERVER_URL=${{ github.server_url }}secrets: |posthog_upload_sourcemaps_cli_api_key=${{ secrets.POSTHOG_UPLOAD_SOURCEMAPS_CLI_API_KEY }}@@ -297,7 +297,7 @@ jobs:GITHUB_ACTIONS=trueGITHUB_SHA=${{ github.sha }}GITHUB_REF_NAME=${{ github.ref_name }}- GITHUB_REPOSITORY=${{ github.repository }}+ GITHUB_REPOSITORY=PostHog/posthogGITHUB_SERVER_URL=${{ github.server_url }}secrets: |posthog_upload_sourcemaps_cli_api_key=${{ secrets.POSTHOG_UPLOAD_SOURCEMAPS_CLI_API_KEY }}@@ -1575,7 +1575,7 @@ jobs:},"release": "dagster-ml-code-location","commit": ${{ toJson(github.event.head_commit) }},- "repository": ${{ toJson(github.repository) }},+ "repository": "PostHog/posthog","labels": ${{ toJson(steps.labels.outputs.labels || '[]') }},"timestamp": "${{ github.event.head_commit.timestamp }}"}diff --git a/.github/workflows/update-sandbox-agent-version.yml b/.github/workflows/update-sandbox-agent-version.ymlindex bbca13922495..00e2c287b3e7 100644--- a/.github/workflows/update-sandbox-agent-version.yml+++ b/.github/workflows/update-sandbox-agent-version.yml@@ -753,6 +753,7 @@ jobs:LIVE: ${{ steps.master.outputs.live }}REPAIR: ${{ steps.repair.outputs.outcome }}REPAIR_URL: ${{ steps.repair.outputs.run_url }}+ PUBLISHES_IMAGES: ${{ vars.CD_DEPLOY_ENABLED == 'true' }}THREAD_TS: ${{ needs.update-sandbox-agent-version.outputs.thread_ts }}RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}REPO_URL: ${{ github.server_url }}/${{ github.repository }}@@ -773,6 +774,9 @@ jobs:elif [ "$REPAIR" = repaired ]; thenoutcome=repairedtext=":rocket: \`posthog-sandbox-base:master\` now runs @posthog/agent ${LATEST} (merged in ${commit}) after a manual rebuild, because the merge run did not build it. <${REPAIR_URL:-$RUN_URL}|View rebuild>"+ elif [ "$PUBLISHES_IMAGES" != true ]; then+ outcome=failed+ text=":red_circle: \`posthog-sandbox-base:master\` still does not run @posthog/agent ${LATEST} 30 minutes after ${commit} merged. This repo does not publish images, so no rebuild was attempted: run \`cd-sandbox-base-image.yml\` on master where the images are built. <${RUN_URL}|View run>"elseoutcome=failedtext=":red_circle: \`posthog-sandbox-base:master\` still does not run @posthog/agent ${LATEST} after ${commit} merged, and a manual rebuild did not fix it. <${RUN_URL}|View run>"