QutEcoacoustics / workbench-client

workbench-client: a client side browser application for interacting with acoustic workbenches
Other
8 stars 1 forks source link

Don't send auth token when calling /status #2125

Closed hudson-newey closed 5 months ago

hudson-newey commented 5 months ago

Don't send auth token when calling /status

At the moment, the website status service contacts the /status endpoint with a Bearer token in the Authentication request headers.

This can cause the request to fail and incorrectly report an "Unhealthy" status when the website is actually healthy.

This PR modifies some very critical code that impacts a vast majority of the website

Changes

Problems

None

Issues

Fixes: #2124

Visual Changes

None

Final Checklist

github-actions[bot] commented 5 months ago

Size Change: +480 B (0%)

Total Size: 3.01 MB

Filename Size Change
dist/workbench-client/browser/index.html 4.71 kB +2 B (0%)
dist/workbench-client/browser/main-DIUN7J24.js 0 B -1.07 MB (removed) πŸ†
dist/workbench-client/server/main.js 1.87 MB +237 B (0%)
dist/workbench-client/browser/main-KT22LVUI.js 1.08 MB +1.08 MB (new file) πŸ†•
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `dist/workbench-client/browser/assets/environment.json` | 555 B | | `dist/workbench-client/browser/manifest.json` | 150 B | | `dist/workbench-client/browser/polyfills-C5CKP5CH.js` | 12.3 kB | | `dist/workbench-client/browser/styles-UNSEPFNK.css` | 39.4 kB | | `dist/workbench-client/server/952.js` | 4.2 kB |

compressed-size-action

github-actions[bot] commented 5 months ago

Unit Test Results

βŸβ€„βŸβ€„β€ˆβŸβ€„βŸβ€„6 filesβ€„β€ƒβŸβ€„βŸβ€„β€ˆβŸβ€„βŸβ€„6 suites   8m 57s :stopwatch: 23β€ˆ370 tests 22β€ˆ842 :heavy_check_mark: 528 :zzz: 0 :x: 23β€ˆ592 runs  23β€ˆ064 :heavy_check_mark: 528 :zzz: 0 :x:

Results for commit c44f04ea.

:recycle: This comment has been updated with latest results.