Repository navigation
FE-3119 feat(billing-web): report an abandoned checkout and the ending screen - #19948
Conversation
…red journey contract
…he full-page checkout
…-return-abandon-2' into jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🎨 Storybook: ✅ Built — View Storybook🌐 Website E2ETip All tests passed.
🌾 Fallow: ✅ PassedFallow audits the diff for duplication, complexity and dead code. It gates on new findings only, so when the audit completes, a red is something this PR introduced or moved — never inherited backlog. A red can also mean the audit itself did not finish; the details below say which happened. No new findings in the changed files. Reproduce locally# the base the gate compared against
npx fallow audit --root . --quiet --format json \
--changed-since 38f5b4dcff5e171230f264686989146a5a27586f
Full docs: ADR-DEVEX-LINT-0015 📦 Bundle Size
⚡ Performance Report
Absolute values
Raw data{
"timestamp": "2026-10-03T01:09:17.992Z",
"gitSha": "e7261418fe79b900c11724a780c28bd5d040d462",
"branch": "jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2016.9230000000198,
"styleRecalcs": 10,
"styleRecalcDurationMs": 3.0290000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 391.52500000000003,
"heapDeltaBytes": 543156,
"heapUsedBytes": 68063344,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 10.671999999999993,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760327,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 2016.1919999999327,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.8979999999999997,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 387.39900000000006,
"heapDeltaBytes": -254080,
"heapUsedBytes": 65025580,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 10.325999999999995,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479335,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1743.963000000008,
"styleRecalcs": 74,
"styleRecalcDurationMs": 16.601000000000003,
"layouts": 12,
"layoutDurationMs": 4.151999999999999,
"taskDurationMs": 707.3660000000001,
"heapDeltaBytes": -2566972,
"heapUsedBytes": 65255108,
"domNodes": 0,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 133.329,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665384615384614,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1714.5819999999503,
"styleRecalcs": 53,
"styleRecalcDurationMs": 14.665999999999999,
"layouts": 12,
"layoutDurationMs": 4.203,
"taskDurationMs": 721.497,
"heapDeltaBytes": -30811836,
"heapUsedBytes": 71946024,
"domNodes": -232,
"jsHeapTotalBytes": -2359296,
"scriptDurationMs": 127.58500000000001,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66568627450981,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1743.4469999999465,
"styleRecalcs": 32,
"styleRecalcDurationMs": 10.212,
"layouts": 6,
"layoutDurationMs": 1.188,
"taskDurationMs": 344.344,
"heapDeltaBytes": -745308,
"heapUsedBytes": 59177840,
"domNodes": 53,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 13.471,
"eventListeners": 15,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665384615384614,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1693.9200000000483,
"styleRecalcs": 30,
"styleRecalcDurationMs": 9.190999999999999,
"layouts": 6,
"layoutDurationMs": 1.468,
"taskDurationMs": 318.02699999999993,
"heapDeltaBytes": 25318528,
"heapUsedBytes": 78888848,
"domNodes": -178,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 12.681000000000001,
"eventListeners": 15,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6656862745098,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 622.9120000000421,
"styleRecalcs": 12,
"styleRecalcDurationMs": 2.5260000000000007,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 400.269,
"heapDeltaBytes": 13905032,
"heapUsedBytes": 67752164,
"domNodes": -231,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 145.031,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667567567567588,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-clipping",
"durationMs": 616.4959999999837,
"styleRecalcs": 14,
"styleRecalcDurationMs": 3.1660000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 408.90000000000003,
"heapDeltaBytes": -8084412,
"heapUsedBytes": 59365812,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 148.543,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667567567567563,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1096.0119999999733,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 701.928,
"heapDeltaBytes": 15385104,
"heapUsedBytes": 83942252,
"domNodes": 0,
"jsHeapTotalBytes": 6455296,
"scriptDurationMs": 49.27699999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 471,
"frameDurationMs": 32.35294117647059,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1074.9299999999948,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 718.597,
"heapDeltaBytes": 15125728,
"heapUsedBytes": 84276876,
"domNodes": 0,
"jsHeapTotalBytes": 6193152,
"scriptDurationMs": 47.89400000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 453,
"frameDurationMs": 31.861764705882358,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 796.7380000000048,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 386.7579999999999,
"heapDeltaBytes": 17346212,
"heapUsedBytes": 103994872,
"domNodes": 0,
"jsHeapTotalBytes": 266240,
"scriptDurationMs": 119.82799999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 146,
"frameDurationMs": 22.857142857142858,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 796.991999999932,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 392.773,
"heapDeltaBytes": 17118884,
"heapUsedBytes": 117905528,
"domNodes": 0,
"jsHeapTotalBytes": 3411968,
"scriptDurationMs": 127.07500000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 154,
"frameDurationMs": 22.857142857142858,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "extension-clean-combined-draw",
"durationMs": 7807.461999999987,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.33799999999999975,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6889.292,
"heapDeltaBytes": 1334720,
"heapUsedBytes": 85502580,
"domNodes": -142,
"jsHeapTotalBytes": -3018752,
"scriptDurationMs": 5615.155,
"eventListeners": -78,
"totalBlockingTimeMs": 184,
"frameDurationMs": 30.467578125000003,
"p95FrameDurationMs": 50.099999999999454
},
{
"name": "extension-clean-combined-draw",
"durationMs": 7069.585999999958,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6453.476000000001,
"heapDeltaBytes": 12668160,
"heapUsedBytes": 92643132,
"domNodes": 0,
"jsHeapTotalBytes": -16777216,
"scriptDurationMs": 4997.842000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 41,
"frameDurationMs": 27.495719844357975,
"p95FrameDurationMs": 50
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7696.54300000002,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.5780000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7043.713,
"heapDeltaBytes": -16455808,
"heapUsedBytes": 68134620,
"domNodes": -143,
"jsHeapTotalBytes": -6688768,
"scriptDurationMs": 5501.179,
"eventListeners": -82,
"totalBlockingTimeMs": 128,
"frameDurationMs": 28.883458646616543,
"p95FrameDurationMs": 50
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7490.580000000023,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.8489999999999991,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6912.507,
"heapDeltaBytes": 12423348,
"heapUsedBytes": 97281252,
"domNodes": -142,
"jsHeapTotalBytes": -1708032,
"scriptDurationMs": 5465.062,
"eventListeners": -78,
"totalBlockingTimeMs": 106,
"frameDurationMs": 29.760317460317463,
"p95FrameDurationMs": 50
},
{
"name": "large-graph-idle",
"durationMs": 2054.4150000000627,
"styleRecalcs": 9,
"styleRecalcDurationMs": 5.906,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 500.7569999999999,
"heapDeltaBytes": -53479996,
"heapUsedBytes": 71936360,
"domNodes": -328,
"jsHeapTotalBytes": -1146880,
"scriptDurationMs": 33.445,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665853658536584,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-idle",
"durationMs": 2015.9419999999955,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.372,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 477.98800000000006,
"heapDeltaBytes": 14167996,
"heapUsedBytes": 88653124,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 34.961,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760327,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2390.215000000012,
"styleRecalcs": 70,
"styleRecalcDurationMs": 13.128000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1536.511,
"heapDeltaBytes": -19415112,
"heapUsedBytes": 69430748,
"domNodes": 0,
"jsHeapTotalBytes": 823296,
"scriptDurationMs": 796.198,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.90212765957447,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-pan",
"durationMs": 2267.8039999999555,
"styleRecalcs": 69,
"styleRecalcDurationMs": 12.397,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1468.1660000000002,
"heapDeltaBytes": -60914448,
"heapUsedBytes": 65394536,
"domNodes": -348,
"jsHeapTotalBytes": -2195456,
"scriptDurationMs": 717.555,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665441176470587,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 3688.1630000000314,
"styleRecalcs": 69,
"styleRecalcDurationMs": 14.219000000000001,
"layouts": 60,
"layoutDurationMs": 16.113000000000003,
"taskDurationMs": 1585.175,
"heapDeltaBytes": 168228,
"heapUsedBytes": 64881812,
"domNodes": 24,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 717.807,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66621621621622,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 3580.1890000000185,
"styleRecalcs": 69,
"styleRecalcDurationMs": 13.673,
"layouts": 60,
"layoutDurationMs": 15.504,
"taskDurationMs": 1511.7689999999998,
"heapDeltaBytes": -150420,
"heapUsedBytes": 63998688,
"domNodes": 24,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 684.103,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666046511627908,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 3046.9810000000734,
"styleRecalcs": 43,
"styleRecalcDurationMs": 6.511000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1745.2200000000003,
"heapDeltaBytes": 6197676,
"heapUsedBytes": 70935804,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 879.701,
"eventListeners": 180,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.85027624309392,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "legacy-node-drag",
"durationMs": 3101.4279999999417,
"styleRecalcs": 43,
"styleRecalcDurationMs": 6.375000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1836.54,
"heapDeltaBytes": 5882220,
"heapUsedBytes": 70525184,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 926.639,
"eventListeners": 180,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.75621621621622,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2014.711000000034,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.2939999999999983,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 473.4440000000001,
"heapDeltaBytes": -12339300,
"heapUsedBytes": 66957028,
"domNodes": 0,
"jsHeapTotalBytes": -225280,
"scriptDurationMs": 34.776,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665289256198346,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2037.9910000000336,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.5509999999999993,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 478.4520000000001,
"heapDeltaBytes": -26502580,
"heapUsedBytes": 72685640,
"domNodes": -328,
"jsHeapTotalBytes": -2494464,
"scriptDurationMs": 32.230000000000004,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6655737704918,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 626.622999999995,
"styleRecalcs": 46,
"styleRecalcDurationMs": 6.130999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 382.443,
"heapDeltaBytes": -12028436,
"heapUsedBytes": 57391168,
"domNodes": 0,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 131.42,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665789473684214,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 610.0880000000188,
"styleRecalcs": 46,
"styleRecalcDurationMs": 5.439000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 359.596,
"heapDeltaBytes": -12100936,
"heapUsedBytes": 57704992,
"domNodes": 0,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 122.78500000000001,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2018.2780000000093,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.5450000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 359.95899999999995,
"heapDeltaBytes": 21951260,
"heapUsedBytes": 76401336,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 9.481,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479342,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2014.3009999999322,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.5349999999999993,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 371.197,
"heapDeltaBytes": 21961408,
"heapUsedBytes": 75702868,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 9.32,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665289256198346,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1697.6869999999735,
"styleRecalcs": 76,
"styleRecalcDurationMs": 15.86,
"layouts": 16,
"layoutDurationMs": 5.6080000000000005,
"taskDurationMs": 700.2929999999999,
"heapDeltaBytes": -6397212,
"heapUsedBytes": 63007936,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 97.95599999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66568627450981,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1691.3339999999835,
"styleRecalcs": 78,
"styleRecalcDurationMs": 18.845,
"layouts": 16,
"layoutDurationMs": 5.481,
"taskDurationMs": 706.373,
"heapDeltaBytes": 15243588,
"heapUsedBytes": 69340724,
"domNodes": -249,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 96.778,
"eventListeners": -124,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-transition-enter",
"durationMs": 983.6210000000847,
"styleRecalcs": 19,
"styleRecalcDurationMs": 24.794000000000004,
"layouts": 5,
"layoutDurationMs": 9.830000000000002,
"taskDurationMs": 804.9079999999999,
"heapDeltaBytes": 22048304,
"heapUsedBytes": 107980400,
"domNodes": 13747,
"jsHeapTotalBytes": 3932160,
"scriptDurationMs": 24.912000000000003,
"eventListeners": 2383,
"totalBlockingTimeMs": 127,
"frameDurationMs": 20.067346938775515,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "viewport-pan-sweep",
"durationMs": 8256.395999999995,
"styleRecalcs": 250,
"styleRecalcDurationMs": 41.356,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 5120.581999999999,
"heapDeltaBytes": 32382076,
"heapUsedBytes": 95189164,
"domNodes": -328,
"jsHeapTotalBytes": 225280,
"scriptDurationMs": 2439.546,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666194331983807,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 8350.415999999996,
"styleRecalcs": 250,
"styleRecalcDurationMs": 40.819,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 5175.212,
"heapDeltaBytes": -18649820,
"heapUsedBytes": 68883500,
"domNodes": 0,
"jsHeapTotalBytes": 823296,
"scriptDurationMs": 2538.967,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 14485.268000000018,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 13772.116999999998,
"heapDeltaBytes": -32942836,
"heapUsedBytes": 181074700,
"domNodes": -3045,
"jsHeapTotalBytes": -1089536,
"scriptDurationMs": 235.51500000000004,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 24.884192439862545,
"p95FrameDurationMs": 49.900000000001455
},
{
"name": "vue-large-graph-idle",
"durationMs": 14421.22500000005,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 13687.543000000001,
"heapDeltaBytes": -20429948,
"heapUsedBytes": 188609000,
"domNodes": -3045,
"jsHeapTotalBytes": 6049792,
"scriptDurationMs": 250.805,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 25.247110332749564,
"p95FrameDurationMs": 50
},
{
"name": "vue-large-graph-pan",
"durationMs": 17664.251000000037,
"styleRecalcs": 143,
"styleRecalcDurationMs": 20.508,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 17276.240999999998,
"heapDeltaBytes": -21687876,
"heapUsedBytes": 178699396,
"domNodes": -3045,
"jsHeapTotalBytes": 8318976,
"scriptDurationMs": 850.9250000000001,
"eventListeners": -14915,
"totalBlockingTimeMs": 8,
"frameDurationMs": 32.41467889908257,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-pan",
"durationMs": 17705.956000000013,
"styleRecalcs": 151,
"styleRecalcDurationMs": 20.853999999999985,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 17294.366,
"heapDeltaBytes": -27575344,
"heapUsedBytes": 180395260,
"domNodes": -3045,
"jsHeapTotalBytes": 8052736,
"scriptDurationMs": 880.694,
"eventListeners": -14915,
"totalBlockingTimeMs": 16,
"frameDurationMs": 32.35703839122486,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-node-resize-workload",
"durationMs": 5317.033000000038,
"styleRecalcs": 20,
"styleRecalcDurationMs": 69.52600000000001,
"layouts": 20,
"layoutDurationMs": 26.187999999999988,
"taskDurationMs": 5205.805999999999,
"heapDeltaBytes": 7499564,
"heapUsedBytes": 207974652,
"domNodes": 0,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 96.65499999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 31.0906432748538,
"p95FrameDurationMs": 66.69999999999891
},
{
"name": "vue-node-resize-workload",
"durationMs": 5254.66700000004,
"styleRecalcs": 20,
"styleRecalcDurationMs": 69.49000000000002,
"layouts": 20,
"layoutDurationMs": 25.743000000000002,
"taskDurationMs": 5083.1720000000005,
"heapDeltaBytes": 608160,
"heapUsedBytes": 202648232,
"domNodes": 0,
"jsHeapTotalBytes": 786432,
"scriptDurationMs": 93.533,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 29.16555555555556,
"p95FrameDurationMs": 50.100000000000364
},
{
"name": "vue-zoom-out-idle",
"durationMs": 7452.092999999991,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7123.142000000002,
"heapDeltaBytes": -22813608,
"heapUsedBytes": 181891332,
"domNodes": -3045,
"jsHeapTotalBytes": 7872512,
"scriptDurationMs": 166.87799999999996,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 25.688620689655163,
"p95FrameDurationMs": 50
},
{
"name": "vue-zoom-out-idle",
"durationMs": 7420.845000000099,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6895.022000000001,
"heapDeltaBytes": -30840224,
"heapUsedBytes": 195594004,
"domNodes": -3045,
"jsHeapTotalBytes": 10858496,
"scriptDurationMs": 121.08299999999994,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 25.05540540540541,
"p95FrameDurationMs": 50
},
{
"name": "workflow-execution",
"durationMs": 120.30200000003788,
"styleRecalcs": 9,
"styleRecalcDurationMs": 12.525,
"layouts": 3,
"layoutDurationMs": 2.788,
"taskDurationMs": 82.49199999999998,
"heapDeltaBytes": 3857704,
"heapUsedBytes": 57529496,
"domNodes": 113,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 8.37,
"eventListeners": 17,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.65714285714278,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "workflow-execution",
"durationMs": 127.82399999991867,
"styleRecalcs": 10,
"styleRecalcDurationMs": 12.548,
"layouts": 4,
"layoutDurationMs": 1.802,
"taskDurationMs": 91.633,
"heapDeltaBytes": 3700288,
"heapUsedBytes": 57151752,
"domNodes": -118,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 5.519999999999999,
"eventListeners": -138,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.657142857142908,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 621.0470000000896,
"styleRecalcs": 78,
"styleRecalcDurationMs": 89.747,
"layouts": 76,
"layoutDurationMs": 19.197,
"taskDurationMs": 583.3470000000001,
"heapDeltaBytes": 15128920,
"heapUsedBytes": 79750084,
"domNodes": 76,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 217.119,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667567567567563,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 649.7440000000552,
"styleRecalcs": 78,
"styleRecalcDurationMs": 89.167,
"layouts": 76,
"layoutDurationMs": 19.409,
"taskDurationMs": 615.2979999999999,
"heapDeltaBytes": -16559832,
"heapUsedBytes": 68919436,
"domNodes": 76,
"jsHeapTotalBytes": 10223616,
"scriptDurationMs": 234.874,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66500000000001,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 1153.5890000000109,
"styleRecalcs": 78,
"styleRecalcDurationMs": 234.79,
"layouts": 76,
"layoutDurationMs": 22.96,
"taskDurationMs": 1134.1380000000001,
"heapDeltaBytes": 6926020,
"heapUsedBytes": 112192708,
"domNodes": 76,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 357.52,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.908695652173925,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 1126.395999999886,
"styleRecalcs": 78,
"styleRecalcDurationMs": 228.046,
"layouts": 76,
"layoutDurationMs": 23.201,
"taskDurationMs": 1101.561,
"heapDeltaBytes": 12502492,
"heapUsedBytes": 131679648,
"domNodes": 76,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 343.099,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.914925373134317,
"p95FrameDurationMs": 16.700000000000728
}
]
}🔬 E2E Coverage
Top 10 files by uncovered lines
🎭 Playwright: ✅ 2184 passed, 0 failed · 3 flaky📊 Browser Reports
🧩 Custom Nodes Ecosystem Matrix: ✅ PassedExecutes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight
On a pin-bump PR, a red gate means the ecosystem moved — not that your diff broke something. That is what the bump PR is for. Outside a pin bump or a cold rebuild of the unpinned tail, a red means the diff. Note the corpus size and the executed count are different numbers, and the verdict is against the executed count: roughly 3,100 of ~5,100 packs ship no extension-shaped JS and are skipped. Reproduce locally# build one shard's fixture, then run it
python3 scripts/registry-census/build_matrix.py --shard 1/4
MATRIX_RENDERER=vue MATRIX_VUE=1 \
npx vitest run --config vitest.matrix.config.mts
Full docs: scripts/registry-census/README.md |
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2 #19948 +/- ##
==========================================================================================================
Coverage 84.82% 84.82%
==========================================================================================================
Files 3437 3437
Lines 164708 164740 +32
Branches 43058 42791 -267
==========================================================================================================
+ Hits 139716 139747 +31
- Misses 23031 23032 +1
Partials 1961 1961
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes 🚀 New features to boost your workflow:
|
…age out of useFullPageCheckout
christian-byrne
left a comment
There was a problem hiding this comment.
Reviewed the exact stacked head and base: abandonment and ending events are mutually exclusive, payment-provider navigation is not misclassified as abandonment, and current hosted checks are settled green.
Full context for agent readers
The journey records its last reached phase, emits an ending once per ending kind, and uses beacon transport only for the page-exit abandonment event. This telemetry-only change does not alter session or workspace scope. Current review threads are clear.
8814fe1
into
jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2
…ilures and returns (Comfy-Org#19973) ## Summary The payment recovery portal that checkout opens after a failed or outstanding payment now reports billing.portal.opened, billing.portal.failed and billing.portal.returned with the new target payment_recovery. ## Why FE-3121 instrumented Manage subscription, Invoice history and the billing web portal, but left out the portal that useSubscriptionCheckout opens when a plan change is refused for an unpaid invoice. That trip is the only way a customer in payment_failed or paused can get unstuck, and it reached error reporting only on failure and nothing at all on success. The Datadog Billing UI tab and the PostHog rollout dashboard could not count it. ## How recoverOutstandingPayment now uses createBillingPortalReporter, the same reporter as the other cloud portal entries. readPaymentPortalUrl returns which client served the URL, so opened, failed and returned carry billing_client sdk or legacy once that is known. A thrown request failure omits billing_client, as the workspace Manage subscription path does. A blocked tab is failed with redirect and payment_popup_blocked. When the toast's Try again then opens the tab, that click is the open and waits for one return. A URL that fails the origin check is failed with unknown. The contract gains one bounded value, payment_recovery, in BillingPortalTarget. None of the existing values fits: payment_methods is the voluntary card management panel on billing web, and folding recovery into it would hide how often checkout blocks on an unpaid invoice. target is already allowlisted as a required payload field, so the allowlist needs no new key. There is no user-visible change. Toasts, the Try again action, the return refresh and the reportError calls are unchanged. ## Review Focus - billing_client is set only after the URL came back. A rail error or a refused workspace request omits it, matching useWorkspaceBilling; a URL rejected by the origin check keeps it. - The toast's Try again now checks the window.open result to report opened or blocked. It still arms the return refresh either way, as before. - A stale attempt (isCurrent false) reports nothing, the same way it shows nothing. - payment_recovery is a new BillingPortalTarget value. Dashboards that list portal targets need the fourth value (T13 PostHog, T14 Datadog tiles). - Comfy-Org#19921 is untouched: the WORKSPACE_BILLING_REQUIRED rethrow lives in useSubscription, not in this path. ## AS IS / TO BE Captured through the real telemetry providers in the component and composable tests (Datadog RUM action and PostHog event carry identical payloads, `billing_surface` per host). AS IS = base branch, TO BE = this branch. | Path | Host | AS IS | TO BE | | --- | --- | --- | --- | | reports the recovery portal opening from the legacy client and one return | cloud_app | nothing | `billing.portal.opened` (target: payment_recovery, billing_client: legacy)<br>`billing.portal.returned` (target: payment_recovery, billing_client: legacy) | | reports the recovery portal opening from the SDK rail and one return | cloud_app | nothing | `billing.portal.opened` (target: payment_recovery, billing_client: sdk)<br>`billing.portal.returned` (target: payment_recovery, billing_client: sdk) | | reports the recovery portal opening from the legacy client when the rail route i… and one return | cloud_app | nothing | `billing.portal.opened` (target: payment_recovery, billing_client: legacy)<br>`billing.portal.returned` (target: payment_recovery, billing_client: legacy) | | reports a blocked recovery tab as a failed open and the retry as the open | cloud_app | nothing | `billing.portal.failed` (target: payment_recovery, billing_client: legacy, failure_category: redirect, error_code: payment_popup_blocked)<br>`billing.portal.opened` (target: payment_recovery, billing_client: legacy)<br>`billing.portal.returned` (target: payment_recovery, billing_client: legacy) | | reports a refused legacy portal request as a failed open and keeps the error report | cloud_app | nothing | `billing.portal.failed` (target: payment_recovery, failure_category: api_rejected) | | reports a legacy portal request that never reac… as a failed open and keeps the error report | cloud_app | nothing | `billing.portal.failed` (target: payment_recovery, failure_category: network) | | reports a rail portal failure as a failed open and keeps the error report | cloud_app | nothing | `billing.portal.failed` (target: payment_recovery, failure_category: api_rejected) | | reports a portal address that fails validation as a failed open and keeps the error report | cloud_app | nothing | `billing.portal.failed` (target: payment_recovery, billing_client: legacy, failure_category: unknown) | | reports nothing when the rejection needs no payment recovery | cloud_app | nothing | nothing | Captured RUM actions and PostHog events for each recovery path show nothing on the FE-3115 base and the matching billing.portal.* event with target payment_recovery, client and failure category on this branch, with identical reportError calls (evidence-fe3121-recovery/). ## Where this sits in the plan Linear: [FE-3121](https://linear.app/comfyorg/issue/FE-3121), part of [FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards). Plan, event catalog and dependency graph: [action items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89). | Task | Ticket | What | Status | | --- | --- | --- | --- | | T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT | | T2 | FE-3108 | Decide RUM application and env mapping | decided | | T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR 19688](Comfy-Org#19688), merged | | T3+ | FE-3156 | Opaque RUM user id on billing web | [PR 19794](Comfy-Org#19794), merged | | T4, F1 | FE-3106 | SDK-rail ownership | [PR 19620](Comfy-Org#19620), merged | | T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR 19623](Comfy-Org#19623), merged | | T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR 19685](Comfy-Org#19685), merged | | T4, F5 | FE-3112 | SDK top-up terminals | [PR 19628](Comfy-Org#19628), merged | | T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR 19622](Comfy-Org#19622), merged | | T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR 19627](Comfy-Org#19627), merged | | T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices | [PR 19686](Comfy-Org#19686), merged | | T4+ | FE-3140 | Move the billing event contract to a shared package | [PR 19798](Comfy-Org#19798), merged | | T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR 19815](Comfy-Org#19815) (four parts), in review | | T6 | FE-3116 | Handoff contract and event | [PR 19687](Comfy-Org#19687), merged | | T7 | FE-3117 | Billing web attempt lifecycle | [PR 19809](Comfy-Org#19809), [PR 19810](Comfy-Org#19810), [PR 19811](Comfy-Org#19811) merged, billing web cancel [PR 19945](Comfy-Org#19945) in review | | T8 | FE-3118 | Billing web journey and choices | [PR 19819](Comfy-Org#19819) (three parts), merged | | T9 | FE-3119 | Payment friction events | [PR 19946](Comfy-Org#19946), [PR 19947](Comfy-Org#19947), [PR 19948](Comfy-Org#19948), in review | | T10 | FE-3120 | Billing web entry, session and return | [PR 19804](Comfy-Org#19804), [PR 19806](Comfy-Org#19806) and [PR 19807](Comfy-Org#19807), merged in [PR 19798](Comfy-Org#19798) | | T11 | FE-3121 | Portal events | this PR | | T12 | FE-3122 | Flag coverage check | [PR 19942](Comfy-Org#19942), in review | | T13 | FE-3123 | PostHog rollout dashboard | [first cut](https://us.posthog.com/project/204330/dashboard/2164447) created | | T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | [comfy-infra PR 1597](Comfy-Org/comfy-infra#1597), in review | | T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR 19940](Comfy-Org#19940), in review | | T10+ | FE-3158 | Billing web Try again after session creation fails | [PR 19941](Comfy-Org#19941), in review | | T15 | FE-3125 | Verification per flow | todo | | T16 | FE-3126 | Rollout plan | todo | ```mermaid flowchart LR subgraph DEC["Decided"] T1["FE-3107 T1 vocabulary"] T2["FE-3108 T2 RUM app and env"] end subgraph FIX["Existing events (T4)"] F1["FE-3106 F1 SDK-rail ownership"] F2["FE-3110 F2 mapper fields"] F3["FE-3111 F3 surface and client"] F5["FE-3112 F5 top-up terminals"] F6["FE-3113 F6 downgrade terminal"] F7["FE-3114 F7 legacy personal, first slice"] F7B["FE-3131 F7 remaining slices"] C140["FE-3140 event contract to shared package"] end subgraph EMIT["New events"] T3["FE-3109 T3 billing web bootstrap"] T3b["FE-3156 T3+ opaque RUM user id"] T5["FE-3115 T5 cloud entry and parity"] T6["FE-3116 T6 handoff contract"] T7["FE-3117 T7 attempt lifecycle"] T8["FE-3118 T8 journey and choices"] T9["FE-3119 T9 friction"] T10["FE-3120 T10 entry, session, return"] T11["FE-3121 T11 portal"] T12["FE-3122 T12 flag coverage"] end subgraph DASH["Dashboards"] T13["FE-3123 T13 PostHog rollout"] T14["FE-3124 T14 Frontend RUM tiles"] end T15["FE-3125 T15 verification"] T16["FE-3126 T16 rollout plan"] T2 --> T3 T3 --> T3b F3 --> C140 T3 --> C140 C140 --> T7 C140 --> T8 C140 --> T10 C140 --> T11 T1 --> F3 T1 --> T5 T1 --> T6 T1 --> T13 T1 --> T14 T2 --> T14 F2 --> T7 T3 --> T7 T3 --> T8 T3 --> T10 T3 --> T11 T3 --> T12 T5 --> T11 T6 --> T8 T6 --> T10 T7 --> T9 T8 --> T9 F1 --> T13 F3 --> T13 FIX --> T15 T5 --> T15 T9 --> T15 T10 --> T15 T11 --> T15 T12 --> T15 T13 --> T15 T14 --> T15 T13 --> T16 T15 --> T16 style T11 stroke-width:3px ``` --------- Co-authored-by: GitHub Action <action@github.com>
…embedded checkout (Comfy-Org#19974) ## Summary Report an abandoned checkout and the ending screen on the billing web embedded checkout, the same way the full-page checkout does (E24, E25). ## Why The full-page checkout reports billing.checkout.abandoned and billing.checkout.ended since Comfy-Org#19948, but the embedded CheckoutView reported neither. A customer who closed the tab or went back from the embedded checkout left no trace, and its success and refusal screens could not be told apart in a funnel. ## How CheckoutView reuses the journey's abandoned and ended methods from useCheckoutJourney and the beacon transport the facade already applies to abandoned. No shared composable was extracted, because the two views share only the journey, which is already shared, and their ending screens differ. It reports abandoned with exit page_exit on pagehide, and with exit back or close from those controls. It reports no abandon after the page handed itself to a hosted step, or while a Pay with a non-card method is in flight, since that method pays on its own site. It reports ended with ending_kind success when the success step shows: attribution started when this page's Pay returned the result, followed when the page recovered an operation it did not send. It reports ended when the quote failure screen shows, right after preview_failed: refused for ACCESS_DENIED, plan_unavailable for the server code INVALID_PLAN, and load_failed otherwise. The journey keeps its existing rules: abandoned at most once and never after an ending, and each ending kind once. There is no user-visible change. ## Review Focus - quoteFailureEndingOf maps the embedded quote failure screen onto the full-page ending kinds. The embedded view has no capability read, so refused comes from ACCESS_DENIED on the quote, not from a denial reason. - payingOnOwnSite is true only between the Pay press and the command settling, for a method type other than card. A card Pay in flight when the tab closes is still an abandon, as on the full page. - Success attribution reads checkout.result: an ok result means this page's own Pay, and none means a recovered operation. - Two existing tests now expect billing.checkout.ended: the full journey test, and the stream ordering test, where ended lands before billing.subscription_checkout.succeeded because the success step shows before the attempt reports its terminal. - Known gaps: a quote that allows no change (allowed false) shows no ending screen on the embedded view, so it reports preview_failed and no ended. A saved non-card method carries no method type, so a redirect from it would count as an abandon. That matches the full page. The background-tab flush gap from Comfy-Org#19948 applies here too. ## AS IS / TO BE Telemetry change, so the evidence is the captured events instead of a screenshot: the real `CheckoutView` with the billing web telemetry facade and PostHog started, only the fake billing client and the telemetry SDKs stubbed. AS IS = origin/main, TO BE = this branch. | Path | AS IS | TO BE | | --- | --- | --- | | Tab closed at the quote | `entered`, `preview_ready` | adds `abandoned` (last_phase preview_ready, exit page_exit). The PostHog copy is sent with `{transport: 'sendBeacon'}` | | Back control, then the page unloads | `entered`, `preview_ready`, `web_return.clicked` | adds `abandoned` (exit back) once. The later pagehide adds nothing | | Close control, then the page unloads | `entered`, `preview_ready`, `web_return.clicked` | adds `abandoned` (exit close) once | | Hosted redirect (server offers a continuation) | `entered`, `preview_ready` | unchanged. No abandon, because the page handed itself to the hosted step | | Alipay Pay leaving for its own site | no abandon | unchanged. No abandon while a non-card Pay is in flight | | Own payment succeeds, then the tab closes | no ending event | `ended` (ending_kind success, attribution started, billing_op_id op_9). No abandon after it | | Quote refused (ACCESS_DENIED), then Back | `entered`, `preview_failed`, `web_return.clicked` | adds `ended` (ending_kind refused), with no attribution. Back after it adds no abandon | No new field carries an email, URL, client secret, promo code or provider id; every new field is a bounded enum. evidence-fe3119-embedded/as-is.json shows no abandoned or ended event on the embedded checkout on main. to-be.json shows abandoned with last_phase and exit for tab close, Back and Close, sent to RUM and to PostHog with transport sendBeacon. It shows no abandon for a hosted redirect or an Alipay Pay, and ended with ending_kind and attribution for the success and refusal screens. ## Where this sits in the plan Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of [FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards). Plan, event catalog and dependency graph: [action items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89). | Task | Ticket | What | Status | | --- | --- | --- | --- | | T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT | | T2 | FE-3108 | Decide RUM application and env mapping | decided | | T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR 19688](Comfy-Org#19688), merged | | T3+ | FE-3156 | Opaque RUM user id on billing web | [PR 19794](Comfy-Org#19794), merged | | T4, F1 | FE-3106 | SDK-rail ownership | [PR 19620](Comfy-Org#19620), merged | | T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR 19623](Comfy-Org#19623), merged | | T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR 19685](Comfy-Org#19685), merged | | T4, F5 | FE-3112 | SDK top-up terminals | [PR 19628](Comfy-Org#19628), merged | | T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR 19622](Comfy-Org#19622), merged | | T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR 19627](Comfy-Org#19627), merged | | T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices | [PR 19686](Comfy-Org#19686), merged | | T4+ | FE-3140 | Move the billing event contract to a shared package | [PR 19798](Comfy-Org#19798), merged | | T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR 19815](Comfy-Org#19815) (four parts), in review | | T6 | FE-3116 | Handoff contract and event | [PR 19687](Comfy-Org#19687), merged | | T7 | FE-3117 | Billing web attempt lifecycle | [PR 19809](Comfy-Org#19809), [PR 19810](Comfy-Org#19810), [PR 19811](Comfy-Org#19811) merged, billing web cancel [PR 19945](Comfy-Org#19945) in review | | T8 | FE-3118 | Billing web journey and choices | [PR 19819](Comfy-Org#19819) (three parts), merged | | T9 | FE-3119 | Payment friction events | this PR | | T10 | FE-3120 | Billing web entry, session and return | [PR 19804](Comfy-Org#19804), [PR 19806](Comfy-Org#19806) and [PR 19807](Comfy-Org#19807), merged in [PR 19798](Comfy-Org#19798) | | T11 | FE-3121 | Portal events | [PR 19944](Comfy-Org#19944), in review | | T12 | FE-3122 | Flag coverage check | [PR 19942](Comfy-Org#19942), in review | | T13 | FE-3123 | PostHog rollout dashboard | [first cut](https://us.posthog.com/project/204330/dashboard/2164447) created | | T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | [comfy-infra PR 1597](Comfy-Org/comfy-infra#1597), in review | | T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR 19940](Comfy-Org#19940), in review | | T10+ | FE-3158 | Billing web Try again after session creation fails | [PR 19941](Comfy-Org#19941), in review | | T15 | FE-3125 | Verification per flow | todo | | T16 | FE-3126 | Rollout plan | todo | ```mermaid flowchart LR subgraph DEC["Decided"] T1["FE-3107 T1 vocabulary"] T2["FE-3108 T2 RUM app and env"] end subgraph FIX["Existing events (T4)"] F1["FE-3106 F1 SDK-rail ownership"] F2["FE-3110 F2 mapper fields"] F3["FE-3111 F3 surface and client"] F5["FE-3112 F5 top-up terminals"] F6["FE-3113 F6 downgrade terminal"] F7["FE-3114 F7 legacy personal, first slice"] F7B["FE-3131 F7 remaining slices"] C140["FE-3140 event contract to shared package"] end subgraph EMIT["New events"] T3["FE-3109 T3 billing web bootstrap"] T3b["FE-3156 T3+ opaque RUM user id"] T5["FE-3115 T5 cloud entry and parity"] T6["FE-3116 T6 handoff contract"] T7["FE-3117 T7 attempt lifecycle"] T8["FE-3118 T8 journey and choices"] T9["FE-3119 T9 friction"] T10["FE-3120 T10 entry, session, return"] T11["FE-3121 T11 portal"] T12["FE-3122 T12 flag coverage"] end subgraph DASH["Dashboards"] T13["FE-3123 T13 PostHog rollout"] T14["FE-3124 T14 Frontend RUM tiles"] end T15["FE-3125 T15 verification"] T16["FE-3126 T16 rollout plan"] T2 --> T3 T3 --> T3b F3 --> C140 T3 --> C140 C140 --> T7 C140 --> T8 C140 --> T10 C140 --> T11 T1 --> F3 T1 --> T5 T1 --> T6 T1 --> T13 T1 --> T14 T2 --> T14 F2 --> T7 T3 --> T7 T3 --> T8 T3 --> T10 T3 --> T11 T3 --> T12 T5 --> T11 T6 --> T8 T6 --> T10 T7 --> T9 T8 --> T9 F1 --> T13 F3 --> T13 FIX --> T15 T5 --> T15 T9 --> T15 T10 --> T15 T11 --> T15 T12 --> T15 T13 --> T15 T14 --> T15 T13 --> T16 T15 --> T16 style T9 stroke-width:3px ```
Summary
Report an abandoned checkout and the ending screen on the billing web full-page checkout, and send the abandon to PostHog by beacon (E24, E25).
Why
customer_abandoned is the largest failure class on the backend, and the browser had no event for a customer who closes the tab or goes back with an unresolved checkout. The ending screen the customer saw was not reported either, so a funnel could not tell a success screen from a refusal.
How
The shared journey contract gains two phases, billing.checkout.abandoned (last_phase, exit) and billing.checkout.ended (ending_kind, attribution), as union lines in checkoutJourney.ts with their payload fields. They carry the journey context, so they join entered and operation_linked on checkout_journey_id and billing_op_id. useCheckoutJourney remembers the last progress phase, reports each new ending kind once, and reports abandoned once, only before any ending. The full-page checkout reports ended from its existing endingOf screen and terminal attribution. It reports abandoned with exit page_exit on pagehide, and with exit back from the Back control. It reports no abandon when the page handed itself to a hosted step or a method's own site. The billing web telemetry facade sends abandoned to PostHog with transport sendBeacon. PostHog drains its queue on its own pagehide listener, which runs before ours, so a plain capture there would be queued and lost. There is no user-visible change.
Review Focus
AS IS / TO BE
Telemetry change, so the evidence is the captured events instead of a screenshot: the real SDK lifecycle and the billing web checkout with only the network edge and the telemetry SDKs (Datadog RUM, posthog-js) stubbed. AS IS = origin/main, TO BE = this stack.
entered,preview_readyabandoned(last_phase preview_ready, exit page_exit); PostHog copy sent with{transport: 'sendBeacon'}entered,preview_ready,web_return.clickedabandoned(exit back), once, even though the page then unloadsended(ending_kind success, attribution started); no abandon when the tab closes after itended(ending_kind refused), no attributionNo payload carries an email, URL, client secret, promo code or provider id; every new field is a bounded enum.
evidence-fe3119/as-is-billing-web.json shows the tab-close, Back, success and refusal paths with no abandoned or ended event on main, and to-be-billing-web.json shows abandoned with last_phase and exit to RUM and to PostHog with transport sendBeacon, ended with ending_kind and attribution, and no abandon for an Alipay Pay that left for its own site.
Where this sits in the plan
Linear: FE-3119, part of FE-3105. Plan, event catalog and dependency graph: action items.
flowchart LR subgraph DEC["Decided"] T1["FE-3107 T1 vocabulary"] T2["FE-3108 T2 RUM app and env"] end subgraph FIX["Existing events (T4)"] F1["FE-3106 F1 SDK-rail ownership"] F2["FE-3110 F2 mapper fields"] F3["FE-3111 F3 surface and client"] F5["FE-3112 F5 top-up terminals"] F6["FE-3113 F6 downgrade terminal"] F7["FE-3114 F7 legacy personal, first slice"] F7B["FE-3131 F7 remaining slices"] C140["FE-3140 event contract to shared package"] end subgraph EMIT["New events"] T3["FE-3109 T3 billing web bootstrap"] T3b["FE-3156 T3+ opaque RUM user id"] T5["FE-3115 T5 cloud entry and parity"] T6["FE-3116 T6 handoff contract"] T7["FE-3117 T7 attempt lifecycle"] T8["FE-3118 T8 journey and choices"] T9["FE-3119 T9 friction"] T10["FE-3120 T10 entry, session, return"] T11["FE-3121 T11 portal"] T12["FE-3122 T12 flag coverage"] end subgraph DASH["Dashboards"] T13["FE-3123 T13 PostHog rollout"] T14["FE-3124 T14 Frontend RUM tiles"] end T15["FE-3125 T15 verification"] T16["FE-3126 T16 rollout plan"] T2 --> T3 T3 --> T3b F3 --> C140 T3 --> C140 C140 --> T7 C140 --> T8 C140 --> T10 C140 --> T11 T1 --> F3 T1 --> T5 T1 --> T6 T1 --> T13 T1 --> T14 T2 --> T14 F2 --> T7 T3 --> T7 T3 --> T8 T3 --> T10 T3 --> T11 T3 --> T12 T5 --> T11 T6 --> T8 T6 --> T10 T7 --> T9 T8 --> T9 F1 --> T13 F3 --> T13 FIX --> T15 T5 --> T15 T9 --> T15 T10 --> T15 T11 --> T15 T12 --> T15 T13 --> T15 T14 --> T15 T13 --> T16 T15 --> T16 style T9 stroke-width:3px