Repository navigation
FE-3109 feat(billing-web): bootstrap PostHog and the billing event facade - #19689
Conversation
|
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 configurationConfiguration used: Repository: Comfy-Org/ComfyUI_frontend/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🎭 Playwright: ✅ 2176 passed, 0 failed · 1 flaky📊 Browser Reports
🌐 Website E2ETip All tests passed.
🎨 Storybook: ✅ Built — View Storybook🌾 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 272b392bbb100db0a5bc71e2fbdf341b6ce1f65e
Full docs: ADR-DEVEX-LINT-0015 🧩 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 📦 Bundle Size
⚡ Performance Report
Absolute values
Raw data{
"timestamp": "2026-10-01T01:09:03.768Z",
"gitSha": "c162688a112129aa2ad184804164dca5c550f66d",
"branch": "jaewon/fe-3109-billing-web-telemetry-bootstrap-datadog-rum-and-posthog",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2041.2529999999833,
"styleRecalcs": 11,
"styleRecalcDurationMs": 5.129,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 481.579,
"heapDeltaBytes": -10461088,
"heapUsedBytes": 71884272,
"domNodes": -232,
"jsHeapTotalBytes": -786432,
"scriptDurationMs": 11.735,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66585365853659,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "canvas-idle",
"durationMs": 2020.3000000000202,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.2560000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 394.212,
"heapDeltaBytes": 22339900,
"heapUsedBytes": 75873724,
"domNodes": -231,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 11.542,
"eventListeners": -102,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66611570247934,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1726.7009999999345,
"styleRecalcs": 74,
"styleRecalcDurationMs": 17.959999999999997,
"layouts": 12,
"layoutDurationMs": 4.024000000000001,
"taskDurationMs": 759.456,
"heapDeltaBytes": -12747052,
"heapUsedBytes": 69450372,
"domNodes": -232,
"jsHeapTotalBytes": -262144,
"scriptDurationMs": 134.31799999999998,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846153,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1693.948999999975,
"styleRecalcs": 52,
"styleRecalcDurationMs": 14.303999999999998,
"layouts": 12,
"layoutDurationMs": 3.9050000000000002,
"taskDurationMs": 681.4060000000001,
"heapDeltaBytes": 19201100,
"heapUsedBytes": 72334180,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 129.05700000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665686274509806,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1743.8949999999522,
"styleRecalcs": 31,
"styleRecalcDurationMs": 9.899,
"layouts": 6,
"layoutDurationMs": 1.0999999999999999,
"taskDurationMs": 369.89099999999996,
"heapDeltaBytes": -6531052,
"heapUsedBytes": 75845164,
"domNodes": -179,
"jsHeapTotalBytes": -524288,
"scriptDurationMs": 13.475999999999999,
"eventListeners": -149,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66666666666666,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1708.1229999998868,
"styleRecalcs": 31,
"styleRecalcDurationMs": 10.621,
"layouts": 6,
"layoutDurationMs": 1.2409999999999997,
"taskDurationMs": 313.629,
"heapDeltaBytes": -1445404,
"heapUsedBytes": 56103544,
"domNodes": 53,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 13.719999999999995,
"eventListeners": 15,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666019417475727,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 565.4139999999188,
"styleRecalcs": 13,
"styleRecalcDurationMs": 3.6270000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 394.91299999999995,
"heapDeltaBytes": 13824044,
"heapUsedBytes": 72509344,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 146.49499999999998,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66470588235295,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "dom-widget-clipping",
"durationMs": 577.0929999999908,
"styleRecalcs": 10,
"styleRecalcDurationMs": 3.177000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 389.49699999999996,
"heapDeltaBytes": 13601744,
"heapUsedBytes": 67289716,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 136.873,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66571428571429,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1031.1459999999215,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 693.995,
"heapDeltaBytes": 9861476,
"heapUsedBytes": 91316232,
"domNodes": 0,
"jsHeapTotalBytes": 7241728,
"scriptDurationMs": 53.851,
"eventListeners": 0,
"totalBlockingTimeMs": 409,
"frameDurationMs": 30.391176470588242,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1016.2860000000364,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 662.8760000000001,
"heapDeltaBytes": 10369800,
"heapUsedBytes": 87101164,
"domNodes": 0,
"jsHeapTotalBytes": 1736704,
"scriptDurationMs": 54.568999999999996,
"eventListeners": 0,
"totalBlockingTimeMs": 390,
"frameDurationMs": 29.9,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 811.6999999999734,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 420.35,
"heapDeltaBytes": 16618484,
"heapUsedBytes": 115250376,
"domNodes": 0,
"jsHeapTotalBytes": 2363392,
"scriptDurationMs": 130.456,
"eventListeners": 0,
"totalBlockingTimeMs": 169,
"frameDurationMs": 23.33428571428571,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 782.4669999999969,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 396.19700000000034,
"heapDeltaBytes": 16294384,
"heapUsedBytes": 100643176,
"domNodes": 0,
"jsHeapTotalBytes": 528384,
"scriptDurationMs": 116.08000000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 161,
"frameDurationMs": 23.03823529411765,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8298.973000000045,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7301.508,
"heapDeltaBytes": 2169272,
"heapUsedBytes": 82623504,
"domNodes": 0,
"jsHeapTotalBytes": -13369344,
"scriptDurationMs": 5700.938000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 54,
"frameDurationMs": 25.644272445820434,
"p95FrameDurationMs": 50
},
{
"name": "extension-clean-combined-draw",
"durationMs": 6946.66200000006,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6225.757,
"heapDeltaBytes": 14038952,
"heapUsedBytes": 94171088,
"domNodes": 0,
"jsHeapTotalBytes": -5767168,
"scriptDurationMs": 5066.3769999999995,
"eventListeners": 0,
"totalBlockingTimeMs": 39,
"frameDurationMs": 25.67777777777778,
"p95FrameDurationMs": 50
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7624.373999999989,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.7859999999999985,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6712.907,
"heapDeltaBytes": 28596828,
"heapUsedBytes": 96361124,
"domNodes": -142,
"jsHeapTotalBytes": -6164480,
"scriptDurationMs": 5245.167,
"eventListeners": -74,
"totalBlockingTimeMs": 91,
"frameDurationMs": 24.490032154340838,
"p95FrameDurationMs": 33.400000000001455
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7602.206000000024,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6739.602000000001,
"heapDeltaBytes": 11452828,
"heapUsedBytes": 91998652,
"domNodes": 0,
"jsHeapTotalBytes": -11010048,
"scriptDurationMs": 5301.056,
"eventListeners": 0,
"totalBlockingTimeMs": 35,
"frameDurationMs": 24.436334405144695,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "large-graph-idle",
"durationMs": 2041.360999999938,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.591000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 611.809,
"heapDeltaBytes": -12940016,
"heapUsedBytes": 82640072,
"domNodes": -328,
"jsHeapTotalBytes": -135168,
"scriptDurationMs": 33.74000000000001,
"eventListeners": -164,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-idle",
"durationMs": 2032.3880000000827,
"styleRecalcs": 8,
"styleRecalcDurationMs": 6.176999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 548.1499999999999,
"heapDeltaBytes": -20268784,
"heapUsedBytes": 82050160,
"domNodes": -328,
"jsHeapTotalBytes": -1933312,
"scriptDurationMs": 34.373,
"eventListeners": -142,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2134.3479999999317,
"styleRecalcs": 67,
"styleRecalcDurationMs": 10.305000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1373.7250000000001,
"heapDeltaBytes": 19692704,
"heapUsedBytes": 82429512,
"domNodes": -328,
"jsHeapTotalBytes": 1798144,
"scriptDurationMs": 646.383,
"eventListeners": -160,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666141732283464,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-pan",
"durationMs": 2154.404999999997,
"styleRecalcs": 70,
"styleRecalcDurationMs": 11.468999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1393.475,
"heapDeltaBytes": -3720088,
"heapUsedBytes": 69672616,
"domNodes": 0,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 683.6999999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665891472868218,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-zoom",
"durationMs": 3252.061000000026,
"styleRecalcs": 63,
"styleRecalcDurationMs": 12.081000000000001,
"layouts": 60,
"layoutDurationMs": 14.553,
"taskDurationMs": 1456.6760000000002,
"heapDeltaBytes": 8578680,
"heapUsedBytes": 73063896,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 639.0819999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666153846153847,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3271.2490000001253,
"styleRecalcs": 63,
"styleRecalcDurationMs": 11.572,
"layouts": 60,
"layoutDurationMs": 14.278,
"taskDurationMs": 1472.16,
"heapDeltaBytes": 8257616,
"heapUsedBytes": 72559500,
"domNodes": -328,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 646.533,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665816326530614,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 2433.520999999928,
"styleRecalcs": 44,
"styleRecalcDurationMs": 6.206000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1595.3390000000002,
"heapDeltaBytes": 17258372,
"heapUsedBytes": 81987252,
"domNodes": 0,
"jsHeapTotalBytes": 417792,
"scriptDurationMs": 780.785,
"eventListeners": 180,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.78137931034482,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "legacy-node-drag",
"durationMs": 2517.8750000000036,
"styleRecalcs": 44,
"styleRecalcDurationMs": 6.526999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1669.9609999999998,
"heapDeltaBytes": 17271724,
"heapUsedBytes": 82206520,
"domNodes": 0,
"jsHeapTotalBytes": 679936,
"scriptDurationMs": 796.311,
"eventListeners": 180,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.777852348993285,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2027.8650000000198,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.8319999999999967,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 531.4040000000001,
"heapDeltaBytes": 20989908,
"heapUsedBytes": 83900824,
"domNodes": -328,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 31.169000000000004,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2004.8199999998815,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.4240000000000017,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 373.919,
"heapDeltaBytes": -1801940,
"heapUsedBytes": 76674076,
"domNodes": 0,
"jsHeapTotalBytes": 36864,
"scriptDurationMs": 32.09799999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665289256198346,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 569.1989999999123,
"styleRecalcs": 48,
"styleRecalcDurationMs": 6.197999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 371.325,
"heapDeltaBytes": -20127740,
"heapUsedBytes": 62572392,
"domNodes": -250,
"jsHeapTotalBytes": -262144,
"scriptDurationMs": 123.36100000000002,
"eventListeners": -204,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667647058823523,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 533.5150000000795,
"styleRecalcs": 48,
"styleRecalcDurationMs": 6.038,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 341.39799999999997,
"heapDeltaBytes": 10180344,
"heapUsedBytes": 70402116,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 121.793,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66250000000001,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-idle",
"durationMs": 2027.5229999999738,
"styleRecalcs": 10,
"styleRecalcDurationMs": 3.955,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 456.916,
"heapDeltaBytes": -7658812,
"heapUsedBytes": 75328840,
"domNodes": -250,
"jsHeapTotalBytes": -262144,
"scriptDurationMs": 10.736,
"eventListeners": -210,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2013.9149999999972,
"styleRecalcs": 8,
"styleRecalcDurationMs": 6.312000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 387.80099999999993,
"heapDeltaBytes": 22322100,
"heapUsedBytes": 75630496,
"domNodes": -250,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 10.126999999999999,
"eventListeners": -210,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479342,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1688.5350000000017,
"styleRecalcs": 76,
"styleRecalcDurationMs": 17.096,
"layouts": 16,
"layoutDurationMs": 5.337,
"taskDurationMs": 652.3259999999999,
"heapDeltaBytes": 14928160,
"heapUsedBytes": 67976704,
"domNodes": -250,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 95.189,
"eventListeners": -210,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665346534653462,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1721.5229999999337,
"styleRecalcs": 57,
"styleRecalcDurationMs": 17.037,
"layouts": 16,
"layoutDurationMs": 5.82,
"taskDurationMs": 680.196,
"heapDeltaBytes": 15318580,
"heapUsedBytes": 68712132,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 102.872,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.82941176470588,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-transition-enter",
"durationMs": 1033.7190000000192,
"styleRecalcs": 17,
"styleRecalcDurationMs": 24.291000000000007,
"layouts": 5,
"layoutDurationMs": 9.904,
"taskDurationMs": 741.828,
"heapDeltaBytes": 22023336,
"heapUsedBytes": 106301068,
"domNodes": 13747,
"jsHeapTotalBytes": 8650752,
"scriptDurationMs": 23.492000000000004,
"eventListeners": 2383,
"totalBlockingTimeMs": 91,
"frameDurationMs": 19.496226415094345,
"p95FrameDurationMs": 33.399999999999636
},
{
"name": "viewport-pan-sweep",
"durationMs": 8159.524000000033,
"styleRecalcs": 250,
"styleRecalcDurationMs": 36.324999999999996,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 4758.809,
"heapDeltaBytes": 16730796,
"heapUsedBytes": 78760260,
"domNodes": -328,
"jsHeapTotalBytes": 1536000,
"scriptDurationMs": 2168.327,
"eventListeners": -142,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666053169734152,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 8200.454000000036,
"styleRecalcs": 250,
"styleRecalcDurationMs": 36.452999999999996,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 4986.086,
"heapDeltaBytes": -12734080,
"heapUsedBytes": 82892832,
"domNodes": -328,
"jsHeapTotalBytes": 1138688,
"scriptDurationMs": 2233.612,
"eventListeners": -142,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666056910569107,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-idle",
"durationMs": 14949.761999999964,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 14501.114,
"heapDeltaBytes": -16938376,
"heapUsedBytes": 196449536,
"domNodes": -3045,
"jsHeapTotalBytes": 6692864,
"scriptDurationMs": 222.526,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 26.743112701252237,
"p95FrameDurationMs": 50
},
{
"name": "vue-large-graph-idle",
"durationMs": 15079.0149999998,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 14592.035999999998,
"heapDeltaBytes": -33241860,
"heapUsedBytes": 182521752,
"domNodes": -3046,
"jsHeapTotalBytes": 7163904,
"scriptDurationMs": 242.68,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 26.76021314387211,
"p95FrameDurationMs": 50
},
{
"name": "vue-large-graph-pan",
"durationMs": 17649.79600000004,
"styleRecalcs": 138,
"styleRecalcDurationMs": 18.814999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 17368.506,
"heapDeltaBytes": -11748520,
"heapUsedBytes": 190949596,
"domNodes": -3045,
"jsHeapTotalBytes": 8339456,
"scriptDurationMs": 755.342,
"eventListeners": -14915,
"totalBlockingTimeMs": 4,
"frameDurationMs": 33.81091954022988,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-pan",
"durationMs": 17916.953000000147,
"styleRecalcs": 134,
"styleRecalcDurationMs": 18.471999999999987,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 17662.01,
"heapDeltaBytes": -18672500,
"heapUsedBytes": 181391592,
"domNodes": -3045,
"jsHeapTotalBytes": 8716288,
"scriptDurationMs": 870.6400000000001,
"eventListeners": -14915,
"totalBlockingTimeMs": 7,
"frameDurationMs": 34.32183908045977,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-node-resize-workload",
"durationMs": 5408.548999999994,
"styleRecalcs": 20,
"styleRecalcDurationMs": 63.12100000000001,
"layouts": 20,
"layoutDurationMs": 23.927000000000003,
"taskDurationMs": 5342.286999999999,
"heapDeltaBytes": 738720,
"heapUsedBytes": 221076640,
"domNodes": 0,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 94.045,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 33.853125,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-node-resize-workload",
"durationMs": 5492.005999999947,
"styleRecalcs": 20,
"styleRecalcDurationMs": 62.43900000000002,
"layouts": 20,
"layoutDurationMs": 23.232000000000003,
"taskDurationMs": 5358.58,
"heapDeltaBytes": 825340,
"heapUsedBytes": 203308724,
"domNodes": 0,
"jsHeapTotalBytes": 1048576,
"scriptDurationMs": 90.78500000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 31.512643678160924,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-zoom-out-idle",
"durationMs": 7550.2669999999625,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7359.783,
"heapDeltaBytes": -24777392,
"heapUsedBytes": 198130016,
"domNodes": -3045,
"jsHeapTotalBytes": 7602176,
"scriptDurationMs": 115.76999999999998,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 26.583450704225356,
"p95FrameDurationMs": 50
},
{
"name": "vue-zoom-out-idle",
"durationMs": 7569.023000000016,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7428.107000000001,
"heapDeltaBytes": -42070004,
"heapUsedBytes": 189979288,
"domNodes": -3045,
"jsHeapTotalBytes": 4718592,
"scriptDurationMs": 112.80799999999996,
"eventListeners": -14915,
"totalBlockingTimeMs": 0,
"frameDurationMs": 27.961851851851847,
"p95FrameDurationMs": 50
},
{
"name": "workflow-execution",
"durationMs": 535.1170000000138,
"styleRecalcs": 22,
"styleRecalcDurationMs": 22.25,
"layouts": 5,
"layoutDurationMs": 2.61,
"taskDurationMs": 197.25099999999998,
"heapDeltaBytes": -42600112,
"heapUsedBytes": 56452808,
"domNodes": -100,
"jsHeapTotalBytes": 4718592,
"scriptDurationMs": 19.000999999999998,
"eventListeners": -82,
"totalBlockingTimeMs": 0,
"frameDurationMs": 18.389655172413782,
"p95FrameDurationMs": 33.30000000000018
},
{
"name": "workflow-execution",
"durationMs": 94.23599999990984,
"styleRecalcs": 6,
"styleRecalcDurationMs": 9.65,
"layouts": 2,
"layoutDurationMs": 1.0019999999999998,
"taskDurationMs": 65.87499999999999,
"heapDeltaBytes": 3743204,
"heapUsedBytes": 57140472,
"domNodes": 113,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 5.146,
"eventListeners": 17,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 648.7130000000434,
"styleRecalcs": 78,
"styleRecalcDurationMs": 92.98299999999999,
"layouts": 76,
"layoutDurationMs": 23.535,
"taskDurationMs": 616.273,
"heapDeltaBytes": 15358464,
"heapUsedBytes": 81575928,
"domNodes": 76,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 226.919,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66500000000001,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 583.9539999999488,
"styleRecalcs": 78,
"styleRecalcDurationMs": 85.426,
"layouts": 76,
"layoutDurationMs": 21.709,
"taskDurationMs": 554.489,
"heapDeltaBytes": 14577868,
"heapUsedBytes": 80476460,
"domNodes": 76,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 203.731,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 1206.3399999999547,
"styleRecalcs": 78,
"styleRecalcDurationMs": 256.05899999999997,
"layouts": 76,
"layoutDurationMs": 26.346,
"taskDurationMs": 1179.778,
"heapDeltaBytes": -20232264,
"heapUsedBytes": 108115996,
"domNodes": 76,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 361.19800000000004,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 1296.0259999999835,
"styleRecalcs": 78,
"styleRecalcDurationMs": 260.19599999999997,
"layouts": 76,
"layoutDurationMs": 28.101999999999997,
"taskDurationMs": 1277.364,
"heapDeltaBytes": -19198424,
"heapUsedBytes": 109120264,
"domNodes": 76,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 401.77399999999994,
"eventListeners": 876,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66538461538462,
"p95FrameDurationMs": 16.799999999999272
}
]
}🔬 E2E Coverage
Top 10 files by uncovered lines
|
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## jaewon/fe-3109-billing-web-datadog-rum-bootstrap #19689 +/- ##
====================================================================================
+ Coverage 84.50% 84.52% +0.02%
====================================================================================
Files 3366 3367 +1
Lines 162280 162042 -238
Branches 42486 42196 -290
====================================================================================
- Hits 137137 136970 -167
+ Misses 23221 23149 -72
- Partials 1922 1923 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 58 files with indirect coverage changes 🚀 New features to boost your workflow:
|
58b4386
into
jaewon/fe-3109-billing-web-datadog-rum-bootstrap
## Summary Billing web telemetry bootstrap, in two halves reviewed together: initialize Datadog RUM in billing web with the cloud app's RUM application under the service `comfy-billing-web` (origin-side scrub, error reporter, action helper), and initialize PostHog with the cloud app's configuration plus the billing event facade that later tickets call to send `billing.<operation>.<stage>` events to RUM and PostHog, stamped `billing_surface: 'billing_web'`. No business events are emitted here. ## Why Billing web emits nothing today: no RUM, so its errors and billing actions are invisible. Every later billing web event (attempt lifecycle, journey, entry, portal) needs a place to go, and rollout tracking has to see billing web next to the cloud app in the same Datadog application. Rollout analytics live in PostHog (decision D11), and a billing web event is only useful if it reaches PostHog next to the cloud app's events and joins the same person; billing web had no PostHog and no single place to send billing events from. ## How **Part 1, Datadog RUM** - **Init.** `initBillingWebRum` uses the cloud app's RUM application (same application id and public client token, now exported from `@comfyorg/shared-frontend-utils/telemetry`), `service: 'comfy-billing-web'`, session replay off, trace propagation off. Env comes from the existing billing host map (`billing.comfy.org` to `prod-v2`, `stagingbilling.comfy.org` to `stg-v2`, `testbilling.comfy.org` to `test-v2`); any other host (previews, local) sends nothing. The version is the commit, set at build time. - **Scrub before send.** Query strings are stripped from view, referrer and resource URLs (a Stripe return carries a client secret there). Emails, tokens and similar text are redacted from error messages, stacks and action names. An error whose cause carries sensitive text is dropped, because RUM ignores `beforeSend` writes to causes. Third-party noise is filtered with the same rules as the cloud app. - **Helpers.** `reportBillingWebError` (never throws, tags `billing_surface: 'billing_web'`) and `addRumAction` (no-op when RUM is not initialized). - **Shared module.** The RUM application constants, the noise filter, the console-echo prefix and the deploy env type moved into `@comfyorg/shared-frontend-utils/telemetry`. The cloud app imports them from there with no behavior change. - **CSP.** The report-only policy of billing web gains the RUM intake host in `connect-src`. **Part 2, PostHog and the billing event facade** - **Config.** PostHog's token, host and the `telemetry_disabled_events` opt-out are read from the same cloud-origin `/api/features` fetch billing web already makes for Firebase (parsed once in `account-core`), so the cloud app stays the single source of truth. When no token is returned, PostHog stays off. - **Lazy load.** `posthog-js` loads in a separate chunk, so the first-load bundle is unaffected. Events sent while it loads wait in a bounded queue (50) and are flushed, or dropped if PostHog turns out to be off. - **Privacy.** Same sanitizer as the cloud app, plus: session recording, performance and web-vitals capture, heatmaps, dead clicks, exception capture and external script loading are off; `promo` and the Stripe return parameters are masked wherever PostHog stores a URL, its cross-subdomain cookie included; `person_profiles` is `identified_only`. - **Identity.** The cookie is shared across `*.comfy.org`, so it may already name someone. Billing web identifies with the user id once a session exists, resets if the cookie names a different identified user, and resets on sign-out only for a user it identified itself, so a visitor never signed in here keeps the cloud identity. A refused or still-resolving session says nothing about who is signed in. - **Facade.** `billingWebTelemetry.trackBillingEvent(name, payload)` sends one event to RUM (as an action) and PostHog, stamps `billing_surface: 'billing_web'`, never throws into the billing flow, and does nothing when telemetry is off. It takes the cloud contract's allowlisted payload as input. - **Shared.** The PostHog base options and default host moved into `@comfyorg/shared-frontend-utils/telemetry`; the cloud provider imports them with no behavior change. ## Review Focus - Two halves in one PR. The PostHog half was opened as Comfy-Org#19689, stacked on this PR, and merged into this branch before the RUM half merged, so this PR now carries both. Christian's earlier approval covered the RUM half at `272b392bbb`; the PostHog half is `272b392bbb..58b4386` (the diff of Comfy-Org#19689) plus the review fixes after it. - Size: about 600 added non-test lines in total (RUM about 281, PostHog and facade about 315), so review the two halves separately. - Fixes after the PostHog half merged in, from CodeRabbit: `1d36c66005` redacts URL queries in linear time (the old pattern was quadratic on query-free input, `"https://".repeat(60_000)` took about 17 s), and `351c2917b3` makes `reportBillingWebError` log only the redacted message instead of the raw cause. The CSP finding got no change: the policy is report-only and all three cloud origins return `https://t.comfy.org`, which is already in `connect-src`. - Cloud app files changed only to import from the shared module: `datadogRumBeforeSend.ts`, `initDatadogRum.ts`, `reportError.ts`, `thirdPartyErrorNoise.ts`. The application id, client token, site and noise rules are the same values and logic as before; the cloud suites pass unchanged. - No secrets: the RUM client token and application id are the public values already shipped in the cloud app's source. - Billing web scrubs more than the cloud app does. The cloud app's RUM `beforeSend` does not strip URLs, emails or tokens, and cloud RUM also records the user's email. That is existing behavior, not changed here; moving the cloud onto the shared scrub is tracked in [FE-3141](https://linear.app/comfyorg/issue/FE-3141). - Only the three billing hosts report; previews and local builds send nothing, so they cannot pollute a deployed environment. - One line-scoped `eslint-disable-next-line no-restricted-imports` in `rum.ts`, for the same reason `src/platform/telemetry` has one: this module is billing web's telemetry layer and owns the RUM sink. - Loading RUM at startup adds about 62 kB gzip to billing web's first-load bundle. The RUM user id is deliberately not set; the cloud app sets both id and email, and whether billing web should set an opaque id is a separate decision. - `person_profiles`: the cloud's server-side PostHog config sets `person_profiles: 'always'`, so production cloud does not run the `identified_only` our constraints say it does. Billing web ignores that override and stays `identified_only`. The cloud difference is not changed here. - The typed event contract is not shared yet: `src/platform/telemetry/types.ts` imports cloud-only types, so billing web cannot import it, and moving it would edit the allowlist that Comfy-Org#19685 is changing. The facade therefore takes the contract's output (event name and allowlisted payload). The contract move should land after Comfy-Org#19685 and before FE-3117; it is tracked in [FE-3140](https://linear.app/comfyorg/issue/FE-3140). - Cloud PostHog pageviews carry full URLs and cloud RUM records the user's email. Billing web does neither. Moving the cloud onto the shared scrub is tracked in [FE-3141](https://linear.app/comfyorg/issue/FE-3141). - No deployment configuration is needed: all three cloud origins already return the PostHog token and host, and none returns `telemetry_disabled_events`. `FRONTEND_COMMIT_HASH` is an optional override for the version. - `UnifiedPricingTable.test.ts` ("prompts free-tier users to subscribe") fails locally on `origin/main` too (`INTERNAL ASSERTION FAILED: Expected a class definition`, local Node 24 against engine 26). This diff does not touch it. ## AS IS / TO BE **Part 1, RUM** AS IS:  TO BE:  **Part 2, PostHog and facade** AS IS:  TO BE:  The evidence has two parts. Part 1, RUM: what the billing web RUM configuration is and what its `beforeSend` does to representative events (a Stripe return URL, an error with an email, a noisy third-party error), before (nothing initialized) and after. Part 2, PostHog: what billing web sends to PostHog and RUM for a representative billing event, a Stripe return URL and a sign-in/sign-out sequence, before (nothing sent) and after. ## Where this sits in the plan Linear: [FE-3109](https://linear.app/comfyorg/issue/FE-3109), 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 | decided, SSOT page pending | | T2 | FE-3108 | Decide RUM application and env mapping | decided | | T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | this PR | | 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), in review | | 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 | | T5 | FE-3115 | Cloud entry fidelity and Datadog parity | todo | | T6 | FE-3116 | Handoff contract and event | [PR 19687](Comfy-Org#19687), in review | | T7 | FE-3117 | Billing web attempt lifecycle | todo | | T8 | FE-3118 | Billing web journey and choices | todo | | T9 | FE-3119 | Payment friction events | todo | | T10 | FE-3120 | Billing web entry, session and return | todo | | T11 | FE-3121 | Portal events | todo | | T12 | FE-3122 | Flag coverage check | todo | | T13 | FE-3123 | PostHog rollout dashboard | todo | | T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | todo | | 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"] end subgraph EMIT["New events"] T3["FE-3109 T3 billing web bootstrap"] 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 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 T3 stroke-width:3px ```
Summary
Second half of the billing web telemetry bootstrap, stacked on #19688 (its base is that branch until it merges): initialize PostHog in billing web with the cloud app's configuration and add the billing event facade that later tickets call to send
billing.<operation>.<stage>events to RUM and PostHog, stampedbilling_surface: 'billing_web'.Why
Rollout analytics live in PostHog (decision D11), and a billing web event is only useful if it reaches PostHog next to the cloud app's events and joins the same person. Billing web has no PostHog and no single place to send billing events from.
How
telemetry_disabled_eventsopt-out are read from the same cloud-origin/api/featuresfetch billing web already makes for Firebase (parsed once inaccount-core), so the cloud app stays the single source of truth. When no token is returned, PostHog stays off.posthog-jsloads in a separate chunk, so the first-load bundle is unaffected. Events sent while it loads wait in a bounded queue (50) and are flushed, or dropped if PostHog turns out to be off.promoand the Stripe return parameters are masked wherever PostHog stores a URL, its cross-subdomain cookie included;person_profilesisidentified_only.*.comfy.org, so it may already name someone. Billing web identifies with the user id once a session exists, resets if the cookie names a different identified user, and resets on sign-out only for a user it identified itself, so a visitor never signed in here keeps the cloud identity. A refused or still-resolving session says nothing about who is signed in.billingWebTelemetry.trackBillingEvent(name, payload)sends one event to RUM (as an action) and PostHog, stampsbilling_surface: 'billing_web', never throws into the billing flow, and does nothing when telemetry is off. It takes the cloud contract's allowlisted payload as input.@comfyorg/shared-frontend-utils/telemetry; the cloud provider imports them with no behavior change.Review Focus
main.person_profiles: the cloud's server-side PostHog config setsperson_profiles: 'always', so production cloud does not run theidentified_onlyour constraints say it does. Billing web ignores that override and staysidentified_only. The cloud difference is not changed here.src/platform/telemetry/types.tsimports cloud-only types, so billing web cannot import it, and moving it would edit the allowlist that FE-3111 feat(billing): stamp billing_surface and billing_client where the emitter knows its rail #19685 is changing. The facade therefore takes the contract's output (event name and allowlisted payload). The contract move should land after FE-3111 feat(billing): stamp billing_surface and billing_client where the emitter knows its rail #19685 and before FE-3117; a ticket is to be filed.account-coreconfig parse (about 35 lines) can go first as its own PR.telemetry_disabled_events.FRONTEND_COMMIT_HASHis an optional override for the version.UnifiedPricingTable.test.ts("prompts free-tier users to subscribe") fails locally onorigin/maintoo (INTERNAL ASSERTION FAILED: Expected a class definition, local Node 24 against engine 26). This diff does not touch it.AS IS / TO BE
AS IS:
TO BE:
The evidence is what billing web sends to PostHog and RUM for a representative billing event, a Stripe return URL and a sign-in/sign-out sequence, before (nothing sent) and after.
Where this sits in the plan
Linear: FE-3109, 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"] end subgraph EMIT["New events"] T3["FE-3109 T3 billing web bootstrap"] 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 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 T3 stroke-width:3px