{
  "schemaVersion": 1,
  "checkedDate": "2026-10-25",
  "method": "Read-only GitHub REST/API metadata and pinned repository source; no tests executed during this retrospective.",
  "articleSlug": "when-a-timer-outlives-the-page",
  "pullRequest": {
    "repository": "PostHog/posthog-js",
    "number": 5322,
    "url": "https://github.com/PostHog/posthog-js/pull/5322",
    "title": "fix(browser): deliver final web vitals on page hide (#5318)",
    "author": "AyobamiH",
    "createdAt": "2026-10-19T11:24:33Z",
    "merged": true,
    "mergedAt": "2026-10-20T16:32:20Z",
    "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
    "mergeCommit": "5beb4146c7cd05b7b00908459d1151fd723abe4f",
    "mergeParent": "8cd9ff4fb94df6002531a2e0618d10f505cba55b",
    "files": [
      {
        "path": ".changeset/final-web-vitals-before-hide.md",
        "additions": 5,
        "deletions": 0
      },
      {
        "path": "packages/browser/src/__tests__/extensions/web-vitals.test.ts",
        "additions": 45,
        "deletions": 0
      },
      {
        "path": "packages/browser/src/extensions/web-vitals/index.ts",
        "additions": 29,
        "deletions": 14
      }
    ]
  },
  "issue": {
    "number": 5318,
    "url": "https://github.com/PostHog/posthog-js/issues/5318",
    "reporter": "gregarious-af",
    "claimedVersion": "1.438.12",
    "reportedProductionObservation": true,
    "independentlyReproducedForArticle": false
  },
  "contributionCommits": [
    {
      "sha": "0bb2c2ca1378c5e054959cc60a5e45c35d0a80bc",
      "author": "AyobamiH",
      "message": "fix(browser): deliver final web vitals on page hide (#5318)",
      "verified": true,
      "url": "https://github.com/PostHog/posthog-js/commit/0bb2c2ca1378c5e054959cc60a5e45c35d0a80bc"
    },
    {
      "sha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
      "author": "turnipdabeets",
      "message": "fix(browser): use addEventListener helper for web vitals hide listeners",
      "verified": true,
      "url": "https://github.com/PostHog/posthog-js/commit/0f97a93147b85765ecb3f3f31b4586a4916f4cbd"
    }
  ],
  "reviews": [
    {
      "reviewer": "turnipdabeets",
      "state": "APPROVED",
      "submittedAt": "2026-10-20T16:09:45Z",
      "commitId": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
      "url": "https://github.com/PostHog/posthog-js/pull/5322#pullrequestreview-5587984132"
    }
  ],
  "inlineReviewCommentsReturned": 0,
  "exactHeadCI": {
    "sha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
    "checkRunsReturned": 65,
    "conclusions": {
      "skipped": 8,
      "success": 57
    },
    "checkRuns": [
      {
        "id": 118739420251,
        "name": "enqueue",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39454984705/job/118739420251",
        "completedAt": "2026-10-20T16:09:53Z"
      },
      {
        "id": 118729787062,
        "name": "Comment on backward compatibility results",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118729787062",
        "completedAt": "2026-10-20T15:51:22Z"
      },
      {
        "id": 118726064442,
        "name": "comment",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274715/job/118726064442",
        "completedAt": "2026-10-20T15:44:36Z"
      },
      {
        "id": 118725032531,
        "name": "Browser deployment snapshots",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118725032531",
        "completedAt": "2026-10-20T15:51:02Z"
      },
      {
        "id": 118725032523,
        "name": "Playwright E2E tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118725032523",
        "completedAt": "2026-10-20T16:03:36Z"
      },
      {
        "id": 118725032458,
        "name": "Backward compatibility tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118725032458",
        "completedAt": "2026-10-20T15:51:22Z"
      },
      {
        "id": 118724884196,
        "name": "build",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274835/job/118724884196",
        "completedAt": "2026-10-20T15:45:56Z"
      },
      {
        "id": 118724869234,
        "name": "CodeQL",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118724869234",
        "completedAt": "2026-10-20T15:42:06Z"
      },
      {
        "id": 118724840727,
        "name": "matrix.lane.name",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274770/job/118724840727",
        "completedAt": "2026-10-20T15:41:59Z"
      },
      {
        "id": 118724834606,
        "name": "Test on IE11",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274940/job/118724834606",
        "completedAt": "2026-10-20T15:42:14Z"
      },
      {
        "id": 118724820904,
        "name": "check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274725/job/118724820904",
        "completedAt": "2026-10-20T15:42:28Z"
      },
      {
        "id": 118724815660,
        "name": "replay",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274836/job/118724815660",
        "completedAt": "2026-10-20T15:41:57Z"
      },
      {
        "id": 118724797557,
        "name": "Test on Firefox",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274819/job/118724797557",
        "completedAt": "2026-10-20T15:42:30Z"
      },
      {
        "id": 118724797417,
        "name": "Test on Chromium",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274819/job/118724797417",
        "completedAt": "2026-10-20T15:42:31Z"
      },
      {
        "id": 118724797408,
        "name": "Test on Safari",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274819/job/118724797408",
        "completedAt": "2026-10-20T15:42:34Z"
      },
      {
        "id": 118724781491,
        "name": "Generate references",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781491",
        "completedAt": "2026-10-20T15:45:02Z"
      },
      {
        "id": 118724781483,
        "name": "Lint playground",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781483",
        "completedAt": "2026-10-20T15:43:04Z"
      },
      {
        "id": 118724781446,
        "name": "Node edge runtime tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781446",
        "completedAt": "2026-10-20T15:45:18Z"
      },
      {
        "id": 118724781348,
        "name": "Write mangled property names",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781348",
        "completedAt": "2026-10-20T15:44:28Z"
      },
      {
        "id": 118724781326,
        "name": "Lint packages",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781326",
        "completedAt": "2026-10-20T15:43:27Z"
      },
      {
        "id": 118724781268,
        "name": "rrweb tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781268",
        "completedAt": "2026-10-20T15:42:09Z"
      },
      {
        "id": 118724781186,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781186",
        "completedAt": "2026-10-20T15:42:21Z"
      },
      {
        "id": 118724781183,
        "name": "Functional tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781183",
        "completedAt": "2026-10-20T15:45:42Z"
      },
      {
        "id": 118724781130,
        "name": "Package tarballs",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724781130",
        "completedAt": "2026-10-20T15:46:19Z"
      },
      {
        "id": 118724780644,
        "name": "Unit tests",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860/job/118724780644",
        "completedAt": "2026-10-20T15:51:53Z"
      },
      {
        "id": 118724474798,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274940/job/118724474798",
        "completedAt": "2026-10-20T15:41:59Z"
      },
      {
        "id": 118724453445,
        "name": "test-browser-sdk / test",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449275590/job/118724453445",
        "completedAt": "2026-10-20T15:52:45Z"
      },
      {
        "id": 118724447753,
        "name": "check / Check changeset hygiene",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449275624/job/118724447753",
        "completedAt": "2026-10-20T15:41:15Z"
      },
      {
        "id": 118724446513,
        "name": "call-flags-project",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449275561/job/118724446513",
        "completedAt": "2026-10-20T15:41:15Z"
      },
      {
        "id": 118724441901,
        "name": "Analyze (javascript-typescript)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274656/job/118724441901",
        "completedAt": "2026-10-20T15:43:49Z"
      },
      {
        "id": 118724441091,
        "name": "Analyze (actions)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274656/job/118724441091",
        "completedAt": "2026-10-20T15:42:14Z"
      },
      {
        "id": 118724436268,
        "name": "affected_browser / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274835/job/118724436268",
        "completedAt": "2026-10-20T15:42:04Z"
      },
      {
        "id": 118724435653,
        "name": "affected_posthog_js / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274835/job/118724435653",
        "completedAt": "2026-10-20T15:41:59Z"
      },
      {
        "id": 118724433912,
        "name": "enqueue",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274845/job/118724433912",
        "completedAt": "2026-10-20T15:41:13Z"
      },
      {
        "id": 118724431740,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274836/job/118724431740",
        "completedAt": "2026-10-20T15:41:56Z"
      },
      {
        "id": 118724430161,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274819/job/118724430161",
        "completedAt": "2026-10-20T15:41:55Z"
      },
      {
        "id": 118724429846,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274725/job/118724429846",
        "completedAt": "2026-10-20T15:41:57Z"
      },
      {
        "id": 118724428366,
        "name": "changeset",
        "status": "completed",
        "conclusion": "skipped",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274791/job/118724428366",
        "completedAt": "2026-10-20T15:41:13Z"
      },
      {
        "id": 118724428333,
        "name": "Build and check ES5/ES6 support",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274690/job/118724428333",
        "completedAt": "2026-10-20T15:44:33Z"
      },
      {
        "id": 118724428147,
        "name": "affected / check",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274770/job/118724428147",
        "completedAt": "2026-10-20T15:41:59Z"
      },
      {
        "id": 118724428053,
        "name": "check-version-change-is-present-and-allowed",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274801/job/118724428053",
        "completedAt": "2026-10-20T15:41:38Z"
      },
      {
        "id": 118724427184,
        "name": "semgrep-package-managers",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274782/job/118724427184",
        "completedAt": "2026-10-20T15:41:54Z"
      },
      {
        "id": 118724423509,
        "name": "Validate PR title against Conventional Commits",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274756/job/118724423509",
        "completedAt": "2026-10-20T15:41:33Z"
      },
      {
        "id": 118724423446,
        "name": "Check minimum TS version (24, 7.1.0-dev.20260715.1, --module nodenext --moduleResolution nodenext...",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423446",
        "completedAt": "2026-10-20T15:45:11Z"
      },
      {
        "id": 118724423175,
        "name": "Check minimum TS version (24, latest, --module nodenext --moduleResolution nodenext --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423175",
        "completedAt": "2026-10-20T15:44:55Z"
      },
      {
        "id": 118724423153,
        "name": "Check minimum TS version (20, 4.7.4, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423153",
        "completedAt": "2026-10-20T15:46:01Z"
      },
      {
        "id": 118724423127,
        "name": "Check minimum TS version (24, 5.9.2, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423127",
        "completedAt": "2026-10-20T15:45:35Z"
      },
      {
        "id": 118724423116,
        "name": "Check minimum TS version (20, latest, --module nodenext --moduleResolution nodenext --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423116",
        "completedAt": "2026-10-20T15:45:55Z"
      },
      {
        "id": 118724423095,
        "name": "Check minimum TS version (22, 4.7.4, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423095",
        "completedAt": "2026-10-20T15:45:43Z"
      },
      {
        "id": 118724423075,
        "name": "Check minimum TS version (20, 6.0.3, --module commonjs --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423075",
        "completedAt": "2026-10-20T15:45:40Z"
      },
      {
        "id": 118724423041,
        "name": "Check minimum TS version (24, 6.0.3, --module commonjs --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724423041",
        "completedAt": "2026-10-20T15:45:23Z"
      },
      {
        "id": 118724422989,
        "name": "Check minimum TS version (22, 5.9.2, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422989",
        "completedAt": "2026-10-20T15:44:27Z"
      },
      {
        "id": 118724422959,
        "name": "Check minimum TS version (22, 6.0.3, --module commonjs --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422959",
        "completedAt": "2026-10-20T15:45:08Z"
      },
      {
        "id": 118724422958,
        "name": "Check minimum TS version (22, 7.1.0-dev.20260715.1, --module nodenext --moduleResolution nodenext...",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422958",
        "completedAt": "2026-10-20T15:45:50Z"
      },
      {
        "id": 118724422888,
        "name": "Check minimum TS version (20, 5.9.2, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422888",
        "completedAt": "2026-10-20T15:44:22Z"
      },
      {
        "id": 118724422882,
        "name": "Check minimum TS version (24, 4.7.4, --module commonjs --moduleResolution node)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422882",
        "completedAt": "2026-10-20T15:45:30Z"
      },
      {
        "id": 118724422860,
        "name": "Check minimum TS version (22, latest, --module nodenext --moduleResolution nodenext --ignoreConfig)",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422860",
        "completedAt": "2026-10-20T15:45:41Z"
      },
      {
        "id": 118724422577,
        "name": "Check minimum TS version (20, 7.1.0-dev.20260715.1, --module nodenext --moduleResolution nodenext...",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274694/job/118724422577",
        "completedAt": "2026-10-20T15:45:32Z"
      },
      {
        "id": 118724421596,
        "name": "coherence",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274715/job/118724421596",
        "completedAt": "2026-10-20T15:44:16Z"
      },
      {
        "id": 118724419834,
        "name": "semgrep",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274657/job/118724419834",
        "completedAt": "2026-10-20T15:41:44Z"
      },
      {
        "id": 118719385444,
        "name": "Wiz Data Scanner",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118719385444",
        "completedAt": "2026-10-20T15:32:15Z"
      },
      {
        "id": 118719384717,
        "name": "Wiz SAST Scanner",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118719384717",
        "completedAt": "2026-10-20T15:32:15Z"
      },
      {
        "id": 118719384416,
        "name": "Wiz Secret Scanner",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118719384416",
        "completedAt": "2026-10-20T15:32:15Z"
      },
      {
        "id": 118719384381,
        "name": "Wiz IaC Scanner",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118719384381",
        "completedAt": "2026-10-20T15:32:15Z"
      },
      {
        "id": 118719384171,
        "name": "Wiz Vulnerability Scanner",
        "status": "completed",
        "conclusion": "success",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "url": "https://github.com/PostHog/posthog-js/runs/118719384171",
        "completedAt": "2026-10-20T15:32:15Z"
      }
    ],
    "libraryWorkflow": [
      {
        "id": 39449274860,
        "url": "https://github.com/PostHog/posthog-js/actions/runs/39449274860",
        "headSha": "0f97a93147b85765ecb3f3f31b4586a4916f4cbd",
        "conclusion": "success",
        "attempt": 2
      }
    ]
  },
  "authorReportedLocalVerification": {
    "source": "https://github.com/PostHog/posthog-js/pull/5322",
    "redFailures": 8,
    "greenWebVitalsTests": 109,
    "rerunForArticle": false,
    "typecheckLimitation": "PR reports incomplete full local typechecking because generated rrweb declarations were unavailable; dependency policy not bypassed",
    "productionTestReported": false
  },
  "claims": [
    {
      "id": "P1",
      "claim": "The PR is merged as 5beb4146 on 20 October 2026.",
      "evidence": "GitHub PR merged flag, timestamp and merge_commit_sha",
      "url": "https://github.com/PostHog/posthog-js/pull/5322"
    },
    {
      "id": "P2",
      "claim": "The prior extension relied on a delayed timer, navigation change or metric-count trigger; there was no hide listener.",
      "evidence": "Pinned immediate merge-parent source",
      "url": "https://github.com/PostHog/posthog-js/blob/8cd9ff4fb94df6002531a2e0618d10f505cba55b/packages/browser/src/extensions/web-vitals/index.ts"
    },
    {
      "id": "P3",
      "claim": "The merged drain selects beacon/immediate options only for the lifecycle path and resets the buffer.",
      "evidence": "Pinned merged source, lines 246–270",
      "url": "https://github.com/PostHog/posthog-js/blob/5beb4146c7cd05b7b00908459d1151fd723abe4f/packages/browser/src/extensions/web-vitals/index.ts#L246-L270"
    },
    {
      "id": "P4",
      "claim": "The hide listeners are registered after the web-vitals observers.",
      "evidence": "Pinned merged registration calls, lines 417–441; this is source ordering, not an independent browser lifecycle observation",
      "url": "https://github.com/PostHog/posthog-js/blob/5beb4146c7cd05b7b00908459d1151fd723abe4f/packages/browser/src/extensions/web-vitals/index.ts#L417-L441"
    },
    {
      "id": "P5",
      "claim": "Two added specifications are parameterised over four metric configurations.",
      "evidence": "Test matrix and added tests",
      "urls": [
        "https://github.com/PostHog/posthog-js/blob/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/packages/browser/src/__tests__/extensions/web-vitals.test.ts#L102-L169",
        "https://github.com/PostHog/posthog-js/blob/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/packages/browser/src/__tests__/extensions/web-vitals.test.ts#L262-L305"
      ]
    },
    {
      "id": "P6",
      "claim": "The immediate options avoid normal request batching; an options object without _batchKey already bypasses it.",
      "evidence": "Pinned core capture branch, lines 2025–2073",
      "url": "https://github.com/PostHog/posthog-js/blob/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/packages/browser/src/posthog-core.ts#L2025-L2073"
    },
    {
      "id": "P7",
      "claim": "Maintainer turnipdabeets adapted listener registration to the project's helper.",
      "evidence": "Maintainer-authored final head diff",
      "url": "https://github.com/PostHog/posthog-js/commit/0f97a93147b85765ecb3f3f31b4586a4916f4cbd"
    },
    {
      "id": "P8",
      "claim": "The helper centralises passive/capture defaults.",
      "evidence": "Pinned helper source, lines 192–206",
      "url": "https://github.com/PostHog/posthog-js/blob/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/packages/browser-common/src/utils/general-utils.ts#L192-L206"
    },
    {
      "id": "P9",
      "claim": "The beacon path can be rejected by the browser and invokes fallback; capture options are not proof of server receipt.",
      "evidence": "Pinned transport source, lines 517–554",
      "url": "https://github.com/PostHog/posthog-js/blob/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/packages/browser/src/request.ts#L517-L554"
    },
    {
      "id": "P10",
      "claim": "Local 8-red/109-green counts are author-reported, while the final-head CI statuses were independently retrieved for the retrospective.",
      "evidence": "PR narrative plus separate check-runs API",
      "urls": [
        "https://github.com/PostHog/posthog-js/pull/5322",
        "https://api.github.com/repos/PostHog/posthog-js/commits/0f97a93147b85765ecb3f3f31b4586a4916f4cbd/check-runs?per_page=100"
      ]
    }
  ],
  "limitations": [
    "No fresh local or hosted test execution.",
    "No measured production improvement or quantified sampling bias.",
    "Synthetic regression tests mock metric callbacks and dispatch lifecycle events; no server-receipt proof.",
    "No claimed exactly-once transport guarantee.",
    "Merge and CI evidence do not establish academic novelty or peer-reviewed publication."
  ]
}
