Repository navigation
M4 feat(billing): show the purchases-paused state when buying credits is switched off - #22453
Conversation
… switched off When capabilities serve can_top_up false with denied_reasons.can_top_up topup_purchases_paused, the owner out-of-credits banners (status banner and local credit banner) keep the owner banner without Add credits and say buying credits isn't available, with the served refill date or Try again later. Low credits drops Add credits with the paused wording. The Billing tab top-up row shows a disabled Add credits with the paused note. Member wording is unchanged.
|
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
|
📦 Bundle Size
⚡ Performance Report
Scenario timings
Absolute values
Raw data{
"timestamp": "2026-10-31T03:55:34.309Z",
"gitSha": "9155b971e8c3e7dec53fa42c0b3201be9796c3d8",
"branch": "dante/m4-purchases-paused",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2008.5710000000745,
"styleRecalcs": 10,
"styleRecalcDurationMs": 3.017000000000001,
"layouts": 9,
"layoutDurationMs": 2.5450000000000004,
"taskDurationMs": 569.907,
"heapDeltaBytes": 10779108,
"heapUsedBytes": 72397608,
"domNodes": 0,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 12.841000000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760327,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 2008.8349999999764,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.8139999999999996,
"layouts": 9,
"layoutDurationMs": 2.5679999999999996,
"taskDurationMs": 542.7239999999999,
"heapDeltaBytes": -13604940,
"heapUsedBytes": 63302508,
"domNodes": 0,
"jsHeapTotalBytes": 9437184,
"scriptDurationMs": 11.840000000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479342,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1767.0520000000352,
"styleRecalcs": 74,
"styleRecalcDurationMs": 13.467999999999998,
"layouts": 7,
"layoutDurationMs": 2.5219999999999994,
"taskDurationMs": 868.476,
"heapDeltaBytes": 4836840,
"heapUsedBytes": 65860232,
"domNodes": -178,
"jsHeapTotalBytes": 5505024,
"scriptDurationMs": 136.943,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665714285714284,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1735.885000000053,
"styleRecalcs": 72,
"styleRecalcDurationMs": 12.107,
"layouts": 8,
"layoutDurationMs": 2.0290000000000004,
"taskDurationMs": 807.375,
"heapDeltaBytes": -3482504,
"heapUsedBytes": 58836900,
"domNodes": -178,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 128.153,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667307692307695,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1723.9540000000488,
"styleRecalcs": 18,
"styleRecalcDurationMs": 4.779,
"layouts": 12,
"layoutDurationMs": 4.114,
"taskDurationMs": 380.926,
"heapDeltaBytes": 7797248,
"heapUsedBytes": 84217020,
"domNodes": 57,
"jsHeapTotalBytes": 9961472,
"scriptDurationMs": 12.488999999999999,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846153,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1726.1379999999917,
"styleRecalcs": 18,
"styleRecalcDurationMs": 5.141,
"layouts": 12,
"layoutDurationMs": 2.841,
"taskDurationMs": 403.339,
"heapDeltaBytes": 1704080,
"heapUsedBytes": 63072872,
"domNodes": 57,
"jsHeapTotalBytes": 6815744,
"scriptDurationMs": 14.120999999999999,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846156,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 606.9159999999556,
"styleRecalcs": 14,
"styleRecalcDurationMs": 3.1330000000000005,
"layouts": 10,
"layoutDurationMs": 2.792,
"taskDurationMs": 467.625,
"heapDeltaBytes": -14376292,
"heapUsedBytes": 62240024,
"domNodes": 0,
"jsHeapTotalBytes": 9961472,
"scriptDurationMs": 145.741,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66388888888889,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "dom-widget-clipping",
"durationMs": 567.1439999999848,
"styleRecalcs": 13,
"styleRecalcDurationMs": 2.549,
"layouts": 9,
"layoutDurationMs": 2.1700000000000004,
"taskDurationMs": 424.623,
"heapDeltaBytes": -14347736,
"heapUsedBytes": 63450564,
"domNodes": 0,
"jsHeapTotalBytes": 10223616,
"scriptDurationMs": 135.162,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667647058823523,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1080.0719999999728,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 782.7779999999999,
"heapDeltaBytes": -6307156,
"heapUsedBytes": 77369576,
"domNodes": -208,
"jsHeapTotalBytes": 14950400,
"scriptDurationMs": 49.295000000000016,
"eventListeners": -106,
"totalBlockingTimeMs": 420,
"frameDurationMs": 30.091666666666672,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1113.8349999999946,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 823.4910000000001,
"heapDeltaBytes": -5509436,
"heapUsedBytes": 77318616,
"domNodes": -208,
"jsHeapTotalBytes": 11804672,
"scriptDurationMs": 50.601000000000006,
"eventListeners": -106,
"totalBlockingTimeMs": 444,
"frameDurationMs": 31.016666666666666,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 780.2960000000212,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 425.856,
"heapDeltaBytes": -3209636,
"heapUsedBytes": 72200696,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 118.15800000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 159,
"frameDurationMs": 23.03823529411765,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 811.6539999999759,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 499.40799999999984,
"heapDeltaBytes": -2741272,
"heapUsedBytes": 84662236,
"domNodes": -208,
"jsHeapTotalBytes": 2752512,
"scriptDurationMs": 130.00300000000001,
"eventListeners": -106,
"totalBlockingTimeMs": 163,
"frameDurationMs": 22.683333333333344,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "extension-clean-combined-draw",
"durationMs": 7610.336000000075,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.1860000000000004,
"layouts": 1,
"layoutDurationMs": 0.19400000000000017,
"taskDurationMs": 6716.66,
"heapDeltaBytes": 46157996,
"heapUsedBytes": 121596056,
"domNodes": -274,
"jsHeapTotalBytes": 53604352,
"scriptDurationMs": 5136.373,
"eventListeners": -68,
"totalBlockingTimeMs": 51,
"frameDurationMs": 24.125714285714285,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8043.716000000018,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.34999999999999964,
"layouts": 1,
"layoutDurationMs": 0.2710000000000004,
"taskDurationMs": 7124.484,
"heapDeltaBytes": 35523800,
"heapUsedBytes": 128965156,
"domNodes": -274,
"jsHeapTotalBytes": 65138688,
"scriptDurationMs": 5434.151,
"eventListeners": -68,
"totalBlockingTimeMs": 46,
"frameDurationMs": 23.81568047337278,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 8120.514999999955,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.2909999999999996,
"layouts": 1,
"layoutDurationMs": 0.20599999999999957,
"taskDurationMs": 7265.61,
"heapDeltaBytes": 64348324,
"heapUsedBytes": 139623576,
"domNodes": -274,
"jsHeapTotalBytes": 66187264,
"scriptDurationMs": 5693.824,
"eventListeners": -68,
"totalBlockingTimeMs": 104,
"frameDurationMs": 24.155654761904763,
"p95FrameDurationMs": 33.400000000001455
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7852.4660000000495,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.36800000000000027,
"layouts": 1,
"layoutDurationMs": 0.3160000000000003,
"taskDurationMs": 6958.559,
"heapDeltaBytes": 39517852,
"heapUsedBytes": 122058696,
"domNodes": -274,
"jsHeapTotalBytes": 54915072,
"scriptDurationMs": 5337.544,
"eventListeners": -68,
"totalBlockingTimeMs": 100,
"frameDurationMs": 24.078834355828224,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "large-combo-open",
"durationMs": 193.57899999999972,
"styleRecalcs": 23,
"styleRecalcDurationMs": 12.038,
"layouts": 11,
"layoutDurationMs": 2.864,
"taskDurationMs": 146.964,
"heapDeltaBytes": 14774212,
"heapUsedBytes": 90078436,
"domNodes": 936,
"jsHeapTotalBytes": 1572864,
"scriptDurationMs": 7.897000000000001,
"eventListeners": 205,
"totalBlockingTimeMs": 0,
"frameDurationMs": 22.211111111111123,
"p95FrameDurationMs": 66.60000000000036
},
{
"name": "large-combo-open",
"durationMs": 202.20800000004147,
"styleRecalcs": 21,
"styleRecalcDurationMs": 13.674000000000001,
"layouts": 9,
"layoutDurationMs": 2.7880000000000003,
"taskDurationMs": 146.079,
"heapDeltaBytes": 15008232,
"heapUsedBytes": 74989120,
"domNodes": 936,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 9.158000000000001,
"eventListeners": 205,
"totalBlockingTimeMs": 0,
"frameDurationMs": 22.22222222222222,
"p95FrameDurationMs": 66.70000000000027
},
{
"name": "large-graph-idle",
"durationMs": 2058.887000000027,
"styleRecalcs": 9,
"styleRecalcDurationMs": 6.073,
"layouts": 9,
"layoutDurationMs": 5.265000000000001,
"taskDurationMs": 693.1560000000001,
"heapDeltaBytes": -3297708,
"heapUsedBytes": 85881232,
"domNodes": -274,
"jsHeapTotalBytes": 3571712,
"scriptDurationMs": 34.102000000000004,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66612903225806,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-idle",
"durationMs": 2038.473999999951,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.4880000000000004,
"layouts": 8,
"layoutDurationMs": 2.16,
"taskDurationMs": 665.473,
"heapDeltaBytes": 6717764,
"heapUsedBytes": 80840440,
"domNodes": -274,
"jsHeapTotalBytes": 3534848,
"scriptDurationMs": 36.901,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "large-graph-pan",
"durationMs": 3001.8440000000055,
"styleRecalcs": 68,
"styleRecalcDurationMs": 9.646,
"layouts": 7,
"layoutDurationMs": 1.856,
"taskDurationMs": 1590.795,
"heapDeltaBytes": -21237024,
"heapUsedBytes": 62685168,
"domNodes": -274,
"jsHeapTotalBytes": 3272704,
"scriptDurationMs": 725.0300000000001,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666111111111114,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2897.5399999999354,
"styleRecalcs": 70,
"styleRecalcDurationMs": 9.780999999999999,
"layouts": 8,
"layoutDurationMs": 1.8429999999999997,
"taskDurationMs": 1505.0800000000002,
"heapDeltaBytes": -8979908,
"heapUsedBytes": 72851172,
"domNodes": -274,
"jsHeapTotalBytes": 4022272,
"scriptDurationMs": 710.607,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666091954022992,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "large-graph-zoom",
"durationMs": 3967.1200000000226,
"styleRecalcs": 69,
"styleRecalcDurationMs": 9.597999999999999,
"layouts": 62,
"layoutDurationMs": 9.661999999999999,
"taskDurationMs": 1651.204,
"heapDeltaBytes": -18314884,
"heapUsedBytes": 65771200,
"domNodes": -250,
"jsHeapTotalBytes": 4321280,
"scriptDurationMs": 693.578,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665966386554622,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 4017.9920000000493,
"styleRecalcs": 70,
"styleRecalcDurationMs": 10.208,
"layouts": 64,
"layoutDurationMs": 10.359,
"taskDurationMs": 1696.503,
"heapDeltaBytes": -18201100,
"heapUsedBytes": 66309372,
"domNodes": -250,
"jsHeapTotalBytes": 4583424,
"scriptDurationMs": 727.902,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66597510373444,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 3094.8909999999614,
"styleRecalcs": 44,
"styleRecalcDurationMs": 5.5409999999999995,
"layouts": 5,
"layoutDurationMs": 1.1650000000000003,
"taskDurationMs": 1864.614,
"heapDeltaBytes": -9191020,
"heapUsedBytes": 75258452,
"domNodes": 0,
"jsHeapTotalBytes": 5505024,
"scriptDurationMs": 901.876,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.75621621621622,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "legacy-node-drag",
"durationMs": 3092.546000000084,
"styleRecalcs": 45,
"styleRecalcDurationMs": 5.384999999999999,
"layouts": 5,
"layoutDurationMs": 1.206,
"taskDurationMs": 1826.3310000000001,
"heapDeltaBytes": -2366312,
"heapUsedBytes": 92087836,
"domNodes": 0,
"jsHeapTotalBytes": 6746112,
"scriptDurationMs": 894.073,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.756216216216217,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-geometry-cadence",
"durationMs": 3062.797000000046,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.1590000000000003,
"layouts": 8,
"layoutDurationMs": 1.794,
"taskDurationMs": 714.379,
"heapDeltaBytes": -19769136,
"heapUsedBytes": 63113168,
"domNodes": -274,
"jsHeapTotalBytes": 5369856,
"scriptDurationMs": 322.75100000000003,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666304347826088,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-geometry-cadence",
"durationMs": 3003.14800000001,
"styleRecalcs": 7,
"styleRecalcDurationMs": 1.9989999999999999,
"layouts": 7,
"layoutDurationMs": 1.7510000000000001,
"taskDurationMs": 651.9319999999999,
"heapDeltaBytes": 1827124,
"heapUsedBytes": 93822544,
"domNodes": 0,
"jsHeapTotalBytes": 4231168,
"scriptDurationMs": 301.533,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665745856353592,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2035.1419999999507,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.1850000000000005,
"layouts": 7,
"layoutDurationMs": 1.9909999999999997,
"taskDurationMs": 605.259,
"heapDeltaBytes": 6402656,
"heapUsedBytes": 81837816,
"domNodes": -274,
"jsHeapTotalBytes": 3272704,
"scriptDurationMs": 35.264,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2045.5349999999726,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.4070000000000005,
"layouts": 8,
"layoutDurationMs": 2.1200000000000006,
"taskDurationMs": 677.3140000000001,
"heapDeltaBytes": 6672412,
"heapUsedBytes": 81842628,
"domNodes": -274,
"jsHeapTotalBytes": 3272704,
"scriptDurationMs": 34.316,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2739.157999999975,
"styleRecalcs": 28,
"styleRecalcDurationMs": 11.175,
"layouts": 9,
"layoutDurationMs": 2.283,
"taskDurationMs": 514.261,
"heapDeltaBytes": -6233516,
"heapUsedBytes": 70445796,
"domNodes": -258,
"jsHeapTotalBytes": 5107712,
"scriptDurationMs": 156.50599999999997,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666463414634144,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2823.3529999999973,
"styleRecalcs": 27,
"styleRecalcDurationMs": 11.798000000000004,
"layouts": 8,
"layoutDurationMs": 2.035,
"taskDurationMs": 558.7220000000001,
"heapDeltaBytes": -21094884,
"heapUsedBytes": 63072656,
"domNodes": -260,
"jsHeapTotalBytes": 4845568,
"scriptDurationMs": 166.493,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66568047337278,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-topology-cadence",
"durationMs": 3244.1420000000107,
"styleRecalcs": 9,
"styleRecalcDurationMs": 1.9479999999999993,
"layouts": 9,
"layoutDurationMs": 1.792,
"taskDurationMs": 881.5699999999999,
"heapDeltaBytes": -9804988,
"heapUsedBytes": 72960492,
"domNodes": -274,
"jsHeapTotalBytes": 6156288,
"scriptDurationMs": 342.741,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666153846153847,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-topology-cadence",
"durationMs": 3128.7320000000136,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.0869999999999993,
"layouts": 7,
"layoutDurationMs": 1.859,
"taskDurationMs": 804.259,
"heapDeltaBytes": -11358528,
"heapUsedBytes": 81756448,
"domNodes": 0,
"jsHeapTotalBytes": 6590464,
"scriptDurationMs": 313.061,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66648936170213,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 594.7319999999081,
"styleRecalcs": 47,
"styleRecalcDurationMs": 5.8389999999999995,
"layouts": 10,
"layoutDurationMs": 2.7889999999999997,
"taskDurationMs": 411.14900000000006,
"heapDeltaBytes": 8649104,
"heapUsedBytes": 83606140,
"domNodes": 0,
"jsHeapTotalBytes": 11272192,
"scriptDurationMs": 128.29,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665714285714277,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 547.3960000001625,
"styleRecalcs": 46,
"styleRecalcDurationMs": 5.119,
"layouts": 9,
"layoutDurationMs": 2.148,
"taskDurationMs": 393.896,
"heapDeltaBytes": 1343096,
"heapUsedBytes": 62456812,
"domNodes": 0,
"jsHeapTotalBytes": 6815744,
"scriptDurationMs": 128.338,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-idle",
"durationMs": 2025.2699999999777,
"styleRecalcs": 11,
"styleRecalcDurationMs": 3.147,
"layouts": 11,
"layoutDurationMs": 3.1990000000000003,
"taskDurationMs": 618.3349999999999,
"heapDeltaBytes": -3926896,
"heapUsedBytes": 60468912,
"domNodes": -200,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 12.712000000000002,
"eventListeners": -115,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6655737704918,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2023.9449999999124,
"styleRecalcs": 11,
"styleRecalcDurationMs": 3.1710000000000003,
"layouts": 10,
"layoutDurationMs": 3.053,
"taskDurationMs": 532.126,
"heapDeltaBytes": 14179976,
"heapUsedBytes": 76194592,
"domNodes": -200,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 9.923,
"eventListeners": -115,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1736.4969999999857,
"styleRecalcs": 77,
"styleRecalcDurationMs": 14.647,
"layouts": 9,
"layoutDurationMs": 2.315,
"taskDurationMs": 813.252,
"heapDeltaBytes": -5267604,
"heapUsedBytes": 56239852,
"domNodes": -185,
"jsHeapTotalBytes": 3670016,
"scriptDurationMs": 103.73299999999999,
"eventListeners": -115,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846153,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1677.2479999999632,
"styleRecalcs": 75,
"styleRecalcDurationMs": 12.714,
"layouts": 10,
"layoutDurationMs": 2.271,
"taskDurationMs": 683.702,
"heapDeltaBytes": 22534984,
"heapUsedBytes": 84809368,
"domNodes": 0,
"jsHeapTotalBytes": 6553600,
"scriptDurationMs": 89.393,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66534653465347,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-transition-enter",
"durationMs": 1333.5909999999558,
"styleRecalcs": 20,
"styleRecalcDurationMs": 16.701000000000004,
"layouts": 5,
"layoutDurationMs": 11.972999999999999,
"taskDurationMs": 878.719,
"heapDeltaBytes": 11403616,
"heapUsedBytes": 97147372,
"domNodes": 15869,
"jsHeapTotalBytes": 16654336,
"scriptDurationMs": 25.836,
"eventListeners": 3246,
"totalBlockingTimeMs": 105,
"frameDurationMs": 18.75,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "viewport-pan-sweep",
"durationMs": 11678.029000000039,
"styleRecalcs": 251,
"styleRecalcDurationMs": 31.156000000000002,
"layouts": 10,
"layoutDurationMs": 2.3179999999999996,
"taskDurationMs": 5502.376,
"heapDeltaBytes": -7581256,
"heapUsedBytes": 74908144,
"domNodes": -274,
"jsHeapTotalBytes": 4775936,
"scriptDurationMs": 2467.6420000000003,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6660485021398,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 11929.926000000023,
"styleRecalcs": 250,
"styleRecalcDurationMs": 31.729999999999993,
"layouts": 9,
"layoutDurationMs": 2.1020000000000003,
"taskDurationMs": 5465.650000000001,
"heapDeltaBytes": -17649164,
"heapUsedBytes": 64557896,
"domNodes": -274,
"jsHeapTotalBytes": 6418432,
"scriptDurationMs": 2386.149,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665921787709497,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 20830.11099999999,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 20356.461,
"heapDeltaBytes": -34110764,
"heapUsedBytes": 265200168,
"domNodes": -3329,
"jsHeapTotalBytes": 11255808,
"scriptDurationMs": 301.967,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 38.08519195612432,
"p95FrameDurationMs": 83.29999999999927
},
{
"name": "vue-large-graph-idle",
"durationMs": 19893.150000000103,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19221.518,
"heapDeltaBytes": -16641368,
"heapUsedBytes": 268234632,
"domNodes": -3329,
"jsHeapTotalBytes": 14139392,
"scriptDurationMs": 264.666,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 34.28034482758621,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-pan",
"durationMs": 24266.516000000025,
"styleRecalcs": 178,
"styleRecalcDurationMs": 21.50099999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 24019.489999999998,
"heapDeltaBytes": -38510392,
"heapUsedBytes": 266798976,
"domNodes": -3329,
"jsHeapTotalBytes": 18333696,
"scriptDurationMs": 760.948,
"eventListeners": -651,
"totalBlockingTimeMs": 7,
"frameDurationMs": 46.308587786259544,
"p95FrameDurationMs": 83.5
},
{
"name": "vue-large-graph-pan",
"durationMs": 23683.884000000035,
"styleRecalcs": 180,
"styleRecalcDurationMs": 18.849000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 23418.746000000003,
"heapDeltaBytes": -17754328,
"heapUsedBytes": 266561544,
"domNodes": -3329,
"jsHeapTotalBytes": 19390464,
"scriptDurationMs": 731.2529999999999,
"eventListeners": -651,
"totalBlockingTimeMs": 0,
"frameDurationMs": 44.26635514018691,
"p95FrameDurationMs": 83.40000000000146
},
{
"name": "vue-node-resize-workload",
"durationMs": 7262.60400000001,
"styleRecalcs": 20,
"styleRecalcDurationMs": 47.429,
"layouts": 20,
"layoutDurationMs": 23.015000000000008,
"taskDurationMs": 7138.127999999999,
"heapDeltaBytes": -18295724,
"heapUsedBytes": 276461716,
"domNodes": -3329,
"jsHeapTotalBytes": 21479424,
"scriptDurationMs": 114.115,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 41.191477272727276,
"p95FrameDurationMs": 83.39999999999964
},
{
"name": "vue-node-resize-workload",
"durationMs": 7013.107999999875,
"styleRecalcs": 20,
"styleRecalcDurationMs": 47.278,
"layouts": 20,
"layoutDurationMs": 21.375000000000004,
"taskDurationMs": 6934.585999999999,
"heapDeltaBytes": -43939268,
"heapUsedBytes": 255753180,
"domNodes": -3329,
"jsHeapTotalBytes": 20955136,
"scriptDurationMs": 100.315,
"eventListeners": -653,
"totalBlockingTimeMs": 12,
"frameDurationMs": 39.86590909090909,
"p95FrameDurationMs": 83.39999999999964
},
{
"name": "vue-zoom-out-idle",
"durationMs": 10383.611000000088,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10139.618,
"heapDeltaBytes": -5588612,
"heapUsedBytes": 261508804,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 138.457,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 39.09624060150375,
"p95FrameDurationMs": 83.39999999999782
},
{
"name": "vue-zoom-out-idle",
"durationMs": 9810.834000000114,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9370.500000000002,
"heapDeltaBytes": -27178348,
"heapUsedBytes": 256863432,
"domNodes": 0,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 125.583,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 33.10675675675675,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "workflow-execution",
"durationMs": 117.0119999999315,
"styleRecalcs": 8,
"styleRecalcDurationMs": 8.28,
"layouts": 8,
"layoutDurationMs": 2.8410000000000006,
"taskDurationMs": 89.03199999999998,
"heapDeltaBytes": -11171904,
"heapUsedBytes": 62295228,
"domNodes": 128,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 7.668999999999999,
"eventListeners": 5,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.671428571428546,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "workflow-execution",
"durationMs": 464.4339999999829,
"styleRecalcs": 16,
"styleRecalcDurationMs": 8.556000000000001,
"layouts": 12,
"layoutDurationMs": 3.389,
"taskDurationMs": 97.94900000000001,
"heapDeltaBytes": 7292680,
"heapUsedBytes": 68520152,
"domNodes": 133,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 8.792,
"eventListeners": 7,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667857142857137,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 337.8540000001067,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.636,
"layouts": 76,
"layoutDurationMs": 11.934000000000001,
"taskDurationMs": 298.28700000000003,
"heapDeltaBytes": -5268604,
"heapUsedBytes": 38548336,
"domNodes": 4,
"jsHeapTotalBytes": 1835008,
"scriptDurationMs": 137.739,
"eventListeners": 300,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66500000000001,
"p95FrameDurationMs": 16.699999999999818
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 351.231000000098,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.6769999999999999,
"layouts": 76,
"layoutDurationMs": 12.4,
"taskDurationMs": 318.169,
"heapDeltaBytes": -5162400,
"heapUsedBytes": 38506100,
"domNodes": 4,
"jsHeapTotalBytes": 1835008,
"scriptDurationMs": 147.89,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66818181818181,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 403.5519999999906,
"styleRecalcs": 5,
"styleRecalcDurationMs": 2.52,
"layouts": 76,
"layoutDurationMs": 12.481000000000002,
"taskDurationMs": 368.182,
"heapDeltaBytes": -357684,
"heapUsedBytes": 98358768,
"domNodes": 4,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 138.941,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.663999999999977,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 350.45000000013715,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.77,
"layouts": 76,
"layoutDurationMs": 11.703,
"taskDurationMs": 312.261,
"heapDeltaBytes": -1212308,
"heapUsedBytes": 97437952,
"domNodes": 4,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 108.292,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.699999999999818
}
]
}🔬 E2E CoverageLine coverage: 59.6% Coverage totals
Top 10 files by uncovered lines
🎭 Playwright: ✅ 3186 passed, 0 failed · 1 flaky📊 Browser Reports
🎨 Storybook: ✅ Built — View Storybook🧩 Custom Nodes Ecosystem Matrix: 🟡 Withheld — could not measureExecutes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight
Findings and check detailsThe matrix runs on same-repository version-bump PRs with relevant changes, main-branch pushes, and manual dispatches. This candidate does not qualify, so every expensive stage was 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 🌾 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. Findings and check detailsNo new findings in the changed files. Reproduce locally# the base the gate compared against
npx fallow audit --root . --quiet --format json \
--changed-since d06ee9a6b863db54be3947a14ff0b5fec5808b45
Full docs: ADR-DEVEX-LINT-0015 🏛️ Architecture: ✅ PassedFindings and check detailsWarnings (295)
Reproduce locallypnpm architecture:checkFull docs: Frontend domain catalog |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## dante/m4-next-credit-refill #22453 +/- ##
===============================================================
- Coverage 87.47% 87.46% -0.01%
===============================================================
Files 2961 2961
Lines 161085 161091 +6
Branches 43121 43120 -1
===============================================================
- Hits 140907 140902 -5
- Misses 19256 19267 +11
Partials 922 922
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 11 files with indirect coverage changes 🚀 New features to boost your workflow:
|
decodeCapabilityDenials folded topup_purchases_paused into 'unspecified', so the SDK read rail never surfaced the paused reason and the purchases-paused UI never rendered. The generated ingest-types can_top_up enum (v0.521.1) carries the value; the decoder now recognises it and the contract test pins the decoder union to the generated one exactly. billing-web's refusal copy maps it to the generic copy it already showed via 'unspecified'.
christian-byrne
left a comment
There was a problem hiding this comment.
Approved. The served purchases-paused denial now survives decoding and drives disabled or withheld Add credits actions plus explicit banner copy, without inferring the pause from local state.
…refill on the Credits card and out-of-credits banners (#22437) (#22833) ## Why The automatic backport of #22437 failed with cherry-pick conflicts: the merged change sits on the After-M4 billing SDK refactor #22746, which must not reach the 1.60 line. ## How - Rebuilt from the pre-SDK head of #22437, `8618e8cfa5` (pushed 2026-11-02T12:21Z, before the SDK rebuild force-push). It is not a descendant of `e35bd95ce9`. Picked with `-x -m 2` against its last main merge `dcb6476d28`, so the commit carries only the PR's own net change, which folds in #22438 (display plan balance) and #22453 (purchases-paused state). - Conflicts were with #22711 (refused Add credits reason), which is already on 1.60. They were resolved the way the merged #22437 resolved them on main. The paused top-up reason goes through the refused-reason path and uses the dated paused copy. The Credits card keeps 1.60's `AddCreditsButton` / `AddCreditsRefusalReason` and drops the pre-SDK `topUpPaused` prop. The `src/` files match the merged #22437 diff, except that `deriveCreditsCard` stays in 1.60's `src/platform/billing/components/billingTab/creditsCard.ts`. - No SDK code from #22746 or #22759 is included. Nothing under `packages/account-core/src/core/billing/billingTab` or `packages/account-ui` is touched. The only `packages/` edits are #22453's pre-SDK changes to files that already exist on 1.60: `capabilityDenials.ts` (decode `topup_purchases_paused`) and its tests. ## Verification On this branch: - `pnpm vitest run packages/account-core/src/core/billing src/platform/billing src/platform/workspace src/platform/account`: all pass - `pnpm typecheck:app`: pass - `pnpm fallow:audit --base origin/core/1.60`: exit 0 - `pnpm architecture:check`: exit 0 AS IS / TO BE: same behaviour as #22437; screenshots are in #22437. - Backport of #22437
… refill on the Credits card and out-of-credits banners (#22437) (#22834) ## Why The automatic backport of #22437 failed with cherry-pick conflicts: the merged change sits on the After-M4 billing SDK refactor #22746, which must not reach the 1.60 line. ## How - Rebuilt from the pre-SDK head of #22437, `8618e8cfa5` (pushed 2026-11-02T12:21Z, before the SDK rebuild force-push). It is not a descendant of `e35bd95ce9`. Picked with `-x -m 2` against its last main merge `dcb6476d28`, so the commit carries only the PR's own net change, which folds in #22438 (display plan balance) and #22453 (purchases-paused state). - Conflicts were with #22711 (refused Add credits reason), which is already on 1.60. They were resolved the way the merged #22437 resolved them on main. The paused top-up reason goes through the refused-reason path and uses the dated paused copy. The Credits card keeps 1.60's `AddCreditsButton` / `AddCreditsRefusalReason` and drops the pre-SDK `topUpPaused` prop. The `src/` files match the merged #22437 diff, except that `deriveCreditsCard` stays in 1.60's `src/platform/billing/components/billingTab/creditsCard.ts`. - No SDK code from #22746 or #22759 is included. Nothing under `packages/account-core/src/core/billing/billingTab` or `packages/account-ui` is touched. The only `packages/` edits are #22453's pre-SDK changes to files that already exist on 1.60: `capabilityDenials.ts` (decode `topup_purchases_paused`) and its tests. ## Verification On this branch: - `pnpm vitest run packages/account-core/src/core/billing src/platform/billing src/platform/workspace src/platform/account`: all pass - `pnpm typecheck:app`: pass - `pnpm fallow:audit --base origin/cloud/1.60`: exit 0 - `pnpm architecture:check`: exit 0 AS IS / TO BE: same behaviour as #22437; screenshots are in #22437. - Backport of #22437
Stacked on #22437 (
dante/m4-next-credit-refill). Retargets to its base after #22437 lands.Why
Staff can switch buying credits off (cloud#16762): capabilities serve
can_top_up: falsewithdenied_reasons.can_top_up === 'topup_purchases_paused'. An owner who runs out of credits in that state currently sees no banner at all, and the Billing tab top-up row just loses Add credits with no explanation.Root cause
outOfCreditsViewinBillingStatusBanner.vueandBillingLocalCreditBanner.vuereturnsnullfor an owner whenevercanTopUpis false, so the owner banner disappears. The member branch already keys off the served role permission (canManageSubscription), notcan_top_up: false, so members never picked up owner or paused wording; that is unchanged here.How
The paused state renders only from the served reason
topup_purchases_paused. Nothing on the client derives it (ADR-0042;pnpm lint:server-factsis clean).{date}is the servednext_credit_refill_at. When that is omitted the banner reads "…right now. Try again later." and never falls back to the renewal date.decodeCapabilityDenials(account-core) now liststopup_purchases_pausedas a knowncan_top_upreason, taken from the generated ingest-types enum. Before this, the SDK read rail turned it into'unspecified'and the paused UI never showed. billing-web's refusal copy maps it to the same generic copy it showed before.src/locales/en/main.jsononly. The credits flyout in the profile menu is out of scope (F13 / FRONT-3644).Design reference
AS IS / TO BE
Taken in the running app with the real testcloud session in Ego Lite; listed API responses stubbed. Local banner skipped (needs a localhost build).
AS IS = base
dante/m4-next-credit-refill(d06ee9a), TO BE = this branch (bd7f647). Settings > Billing, Team workspace (test-1, owner), dark theme, 1280px. Every state servesGET /api/billing/capabilitieswithcapabilities.can_top_up: falseanddenied_reasons.can_top_up: topup_purchases_paused(other fields as served), andGET /api/billing/statuswith Pro monthly.(a) Out of credits: balance 0,
has_funds: false,next_credit_refill_at: 2026-11-28T00:00:00Z(b) Out of credits: balance 0,
has_funds: false,next_credit_refill_atomitted(c) Low credits: balance 50 cents,
low_balance: trueTests
Table-driven
it.forcases at the component level cover reason (topup_purchases_paused/not_workspace_owner/ none) × role × refill date served or omitted × team or personal. They assert the visible text and whether the button is absent or disabled.BillingStatusBanner.test.ts,BillingLocalCreditBanner.test.ts(out of credits and low credits),BillingCreditsCard.test.ts(top-up row), andBillingTab.test.ts(disabled Add credits wired from the served reason).capabilityDenials.test.tsandcapabilities.test.ts(account-core) check the reason decodes as itself.BillingLocalCreditBanner.capabilities.test.tssends a raw capabilities body through the real reader and projection into the banner. All three fail without the decoder fix.pnpm exec vitest runon the touched files: all passed. oxlint --type-aware, oxfmt, eslint andlint:server-factsare clean.