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.

12.0 KB
Raw Blame
{
  "exitCode": 0,
  "requests": [
    {
      "method": "GET",
      "path": "/api/projects/1/error_tracking/releases/hash/1a090dd726e5233c41faaa8e3cdd0d85f295c741f72d295ca5bfac0b9a78d3bb86b23b73148563c49bd81c11d0b8782285a24420156dfddec37f4cb239e4705f",
      "headers": {
        "authorization": "Bearer phx_<key>",
        "content-type": "application/json"
      },
      "status": 404
    },
    {
      "method": "POST",
      "path": "/api/projects/1/error_tracking/releases",
      "headers": {
        "authorization": "Bearer phx_<key>",
        "content-type": "application/json"
      },
      "body": "{\"metadata\":{\"git\":{\"branch\":\"main\",\"commit_id\":\"c0ffee00c0ffee00c0ffee00c0ffee00c0ffee00\",\"remote_url\":\"https://github.com/PostHog/example-app.git\",\"repo_name\":\"example-app\"}},\"hash_id\":\"1a090dd726e5233c41faaa8e3cdd0d85f295c741f72d295ca5bfac0b9a78d3bb86b23b73148563c49bd81c11d0b8782285a24420156dfddec37f4cb239e4705f\",\"version\":\"c0ffee00c0ffee00c0ffee00c0ffee00c0ffee00\",\"project\":\"example-app\"}",
      "status": 201
    }
  ],
  "files": {
    ".git/HEAD": null,
    ".git/config": null,
    ".git/refs/heads/main": null,
    "esbuild-cjs/index.cjs": "sha512:94ad0c2940a8679a99e9be35b95fd1333628a674d138f949895ca33a24fa661891a428591202d6515e352e07740e960861c38e80289cdc1831c57b5b513110e1",
    "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
    "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
    "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n    if (!productId) {\\n        throw new Error('Missing product')\\n    }\\n    return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
    "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
    "esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n    return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n    const parsed = Number.parseInt(value, 10)\\n    if (Number.isNaN(parsed)) {\\n        throw new TypeError(`Invalid quantity: ${value}`)\\n    }\\n    return parsed\\n}\\n\",\"export function renderBadge(label) {\\n    const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n    return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n    let total = 0\\n    for (const item of items) {\\n        total += item.price * parseQuantity(item.quantity)\\n    }\\n    if (total <= 0) {\\n        throw new Error('Cart total must be positive')\\n    }\\n    return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n    const { fetchReviews } = await import('./reviews.js')\\n    return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
    "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n    return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n    const parsed = Number.parseInt(value, 10);\n    if (Number.isNaN(parsed)) {\n        throw new TypeError(`Invalid quantity: ${value}`)\n    }\n    return parsed\n}\n\nfunction renderBadge(label) {\n    const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n    return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n    let total = 0;\n    for (const item of items) {\n        total += item.price * parseQuantity(item.quantity);\n    }\n    if (total <= 0) {\n        throw new Error('Cart total must be positive')\n    }\n    return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n    const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n    return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
    "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
    "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n    if (!productId) {\n        throw new Error('Missing product')\n    }\n    return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
    "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n    if (!productId) {\\n        throw new Error('Missing product')\\n    }\\n    return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
    "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
    "terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n    const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n    return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
    "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
    "webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n    if (!productId) {\\n        throw new Error('Missing product')\\n    }\\n    return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
    "webpack/main.24954514.js": "sha512:1039a51b6dda0ad0192633e7c074229ca46fc284627aeaa10d751311b6af429cb67aa9a2f62b01dc3437e173902dff0550049f99aec0eebae665c16befc430cf",
    "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
  }
}