Skip to content

: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.

fix(ci): point devex alerts at project 2 (#73942)

Raúl Negrón-Oteroda2f9965ec6e
diff --git a/.github/scripts/ci-alerts-devex.js b/.github/scripts/ci-alerts-devex.js
index c2fa02a17e69..d396ed7edb70 100644
--- a/.github/scripts/ci-alerts-devex.js
+++ b/.github/scripts/ci-alerts-devex.js
@@ -32,10 +32,9 @@
const SLACK_API = 'https://slack.com/api'
const INCIDENT_EVENT_TYPE = 'master_ci_incident'
// Per-workflow links point at the engineering analytics workflow-detail page (not GitHub), scoped
-// to master via that product's `?q=` branch filter. Hosted in the team-devex project (347861) for
-// now, before it moves to its final home; it's the project with the PostHog/posthog GitHub source
-// synced. `owner`/`repo` come from the run context; the workflow's GitHub display name is the path key.
-const ENG_ANALYTICS_BASE = 'https://us.posthog.com/project/347861/engineering-analytics'
+// to master via that product's `?q=` branch filter. Project 2 owns the synced PostHog/posthog GitHub
+// source. `owner`/`repo` come from the run context; the workflow's GitHub display name is the path key.
+const ENG_ANALYTICS_BASE = 'https://us.posthog.com/project/2/engineering-analytics'
// One page of channel history. #alerts-devex is low-traffic, so the open anchor
// reliably stays within the newest 100 messages; a busier channel would need paging.
const HISTORY_LIMIT = 100
diff --git a/.github/scripts/ci-alerts-devex.test.js b/.github/scripts/ci-alerts-devex.test.js
index d1767f77b333..d5efa4b92f69 100644
--- a/.github/scripts/ci-alerts-devex.test.js
+++ b/.github/scripts/ci-alerts-devex.test.js
@@ -180,7 +180,10 @@ describe('ci-alerts-devex', () => {
assert.match(body, /Backend CI/)
assert.match(body, /5 failed runs in a row/)
// per-workflow link → engineering analytics workflow detail, scoped to master
- assert.match(body, /engineering-analytics\/repos\/PostHog\/posthog\/actions\/workflows\/Backend%20CI\?q=master/)
+ assert.match(
+ body,
+ /https:\/\/us\.posthog\.com\/project\/2\/engineering-analytics\/repos\/PostHog\/posthog\/actions\/workflows\/Backend%20CI\?q=master/
+ )
assert.equal(anchor.metadata.event_type, 'master_ci_incident')
assert.equal(anchor.metadata.event_payload.status, 'active')
assert.deepEqual(