Commit 2741f7b
committed
feat(uptime): remove built-in 2xx status code check
Relies on assertions to validate responses instead of a hard-coded 2xx
check. When no assertion is configured, any response is considered a
success. Callers are expected to configure a status code assertion to
validate the response code.
Fixed [NEW-758](https://linear.app/getsentry/issue/NEW-758/remove-built-in-status-code-check-from-uptime-checker)1 parent 0a3c263 commit 2741f7b
3 files changed
Lines changed: 22 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | 337 | | |
340 | | - | |
| 338 | + | |
341 | 339 | | |
342 | 340 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 341 | + | |
349 | 342 | | |
350 | 343 | | |
351 | 344 | | |
| |||
510 | 503 | | |
511 | 504 | | |
512 | 505 | | |
513 | | - | |
| 506 | + | |
514 | 507 | | |
515 | 508 | | |
516 | 509 | | |
| |||
889 | 882 | | |
890 | 883 | | |
891 | 884 | | |
892 | | - | |
| 885 | + | |
893 | 886 | | |
894 | 887 | | |
895 | 888 | | |
| |||
916 | 909 | | |
917 | 910 | | |
918 | 911 | | |
919 | | - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
920 | 915 | | |
921 | 916 | | |
922 | 917 | | |
923 | 918 | | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | 919 | | |
928 | 920 | | |
929 | 921 | | |
| |||
953 | 945 | | |
954 | 946 | | |
955 | 947 | | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
956 | 955 | | |
957 | 956 | | |
958 | 957 | | |
| |||
1007 | 1006 | | |
1008 | 1007 | | |
1009 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
1010 | 1016 | | |
1011 | 1017 | | |
1012 | 1018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
414 | 413 | | |
415 | 414 | | |
416 | 415 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | 416 | | |
430 | 417 | | |
431 | 418 | | |
| |||
0 commit comments