@@ -2379,13 +2379,16 @@ export const MockLicenseResponse: GetLicensesResponse[] = [
2379
2379
export const MockHealth : TypesGen . HealthcheckReport = {
2380
2380
time : "2023-08-01T16:51:03.29792825Z" ,
2381
2381
healthy : true ,
2382
+ severity : "ok" ,
2382
2383
failing_sections : [ ] ,
2383
2384
derp : {
2384
2385
healthy : true ,
2386
+ severity : "ok" ,
2385
2387
warnings : [ ] ,
2386
2388
regions : {
2387
2389
"999" : {
2388
2390
healthy : true ,
2391
+ severity : "ok" ,
2389
2392
warnings : [ ] ,
2390
2393
region : {
2391
2394
EmbeddedRelay : true ,
@@ -2412,6 +2415,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2412
2415
node_reports : [
2413
2416
{
2414
2417
healthy : true ,
2418
+ severity : "ok" ,
2415
2419
warnings : [ ] ,
2416
2420
node : {
2417
2421
Name : "999stun0" ,
@@ -2437,6 +2441,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2437
2441
} ,
2438
2442
{
2439
2443
healthy : true ,
2444
+ severity : "ok" ,
2440
2445
warnings : [ ] ,
2441
2446
node : {
2442
2447
Name : "999b" ,
@@ -2471,6 +2476,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2471
2476
} ,
2472
2477
"10007" : {
2473
2478
healthy : true ,
2479
+ severity : "ok" ,
2474
2480
warnings : [ ] ,
2475
2481
region : {
2476
2482
EmbeddedRelay : false ,
@@ -2497,6 +2503,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2497
2503
node_reports : [
2498
2504
{
2499
2505
healthy : true ,
2506
+ severity : "ok" ,
2500
2507
warnings : [ ] ,
2501
2508
node : {
2502
2509
Name : "10007stun0" ,
@@ -2522,6 +2529,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2522
2529
} ,
2523
2530
{
2524
2531
healthy : true ,
2532
+ severity : "ok" ,
2525
2533
warnings : [ ] ,
2526
2534
node : {
2527
2535
Name : "10007a" ,
@@ -2556,6 +2564,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2556
2564
} ,
2557
2565
"10008" : {
2558
2566
healthy : true ,
2567
+ severity : "ok" ,
2559
2568
warnings : [ ] ,
2560
2569
region : {
2561
2570
EmbeddedRelay : false ,
@@ -2582,6 +2591,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2582
2591
node_reports : [
2583
2592
{
2584
2593
healthy : true ,
2594
+ severity : "ok" ,
2585
2595
warnings : [ ] ,
2586
2596
node : {
2587
2597
Name : "10008stun0" ,
@@ -2607,6 +2617,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2607
2617
} ,
2608
2618
{
2609
2619
healthy : true ,
2620
+ severity : "ok" ,
2610
2621
warnings : [ ] ,
2611
2622
node : {
2612
2623
Name : "10008a" ,
@@ -2641,6 +2652,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2641
2652
} ,
2642
2653
"10009" : {
2643
2654
healthy : true ,
2655
+ severity : "ok" ,
2644
2656
warnings : [ ] ,
2645
2657
region : {
2646
2658
EmbeddedRelay : false ,
@@ -2667,6 +2679,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2667
2679
node_reports : [
2668
2680
{
2669
2681
healthy : true ,
2682
+ severity : "ok" ,
2670
2683
warnings : [ ] ,
2671
2684
node : {
2672
2685
Name : "10009stun0" ,
@@ -2692,6 +2705,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2692
2705
} ,
2693
2706
{
2694
2707
healthy : true ,
2708
+ severity : "ok" ,
2695
2709
warnings : [ ] ,
2696
2710
node : {
2697
2711
Name : "10009a" ,
@@ -2771,6 +2785,7 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2771
2785
} ,
2772
2786
access_url : {
2773
2787
healthy : true ,
2788
+ severity : "ok" ,
2774
2789
warnings : [ ] ,
2775
2790
access_url : "https://dev.coder.com" ,
2776
2791
reachable : true ,
@@ -2779,12 +2794,14 @@ export const MockHealth: TypesGen.HealthcheckReport = {
2779
2794
} ,
2780
2795
websocket : {
2781
2796
healthy : true ,
2797
+ severity : "ok" ,
2782
2798
warnings : [ ] ,
2783
2799
body : "" ,
2784
2800
code : 101 ,
2785
2801
} ,
2786
2802
database : {
2787
2803
healthy : true ,
2804
+ severity : "ok" ,
2788
2805
warnings : [ ] ,
2789
2806
reachable : true ,
2790
2807
latency : "92570" ,
@@ -2805,11 +2822,13 @@ export const MockListeningPortsResponse: TypesGen.WorkspaceAgentListeningPortsRe
2805
2822
2806
2823
export const DeploymentHealthUnhealthy : TypesGen . HealthcheckReport = {
2807
2824
healthy : false ,
2825
+ severity : "ok" ,
2808
2826
failing_sections : [ ] , // apparently this property is not used at all?
2809
2827
time : "2023-10-12T23:15:00.000000000Z" ,
2810
2828
coder_version : "v2.3.0-devel+8cca4915a" ,
2811
2829
access_url : {
2812
2830
healthy : true ,
2831
+ severity : "ok" ,
2813
2832
warnings : [ ] ,
2814
2833
access_url : "" ,
2815
2834
healthz_response : "" ,
@@ -2818,6 +2837,7 @@ export const DeploymentHealthUnhealthy: TypesGen.HealthcheckReport = {
2818
2837
} ,
2819
2838
database : {
2820
2839
healthy : false ,
2840
+ severity : "ok" ,
2821
2841
warnings : [ ] ,
2822
2842
latency : "" ,
2823
2843
latency_ms : 0 ,
@@ -2826,12 +2846,14 @@ export const DeploymentHealthUnhealthy: TypesGen.HealthcheckReport = {
2826
2846
} ,
2827
2847
derp : {
2828
2848
healthy : false ,
2849
+ severity : "ok" ,
2829
2850
warnings : [ ] ,
2830
2851
regions : [ ] ,
2831
2852
netcheck_logs : [ ] ,
2832
2853
} ,
2833
2854
websocket : {
2834
2855
healthy : false ,
2856
+ severity : "ok" ,
2835
2857
warnings : [ ] ,
2836
2858
body : "" ,
2837
2859
code : 0 ,
0 commit comments