You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ted middleware (#15622)
This one aims to resolve#15604
Created some table tests for the main cases -
also preferred to create two isolated cases for the most complicated
cases in order to keep table tests simple enough.
Give us full coverage on the middleware logic, for both optional and non
optional cases - PSK and ProvisionerKey.
We have the
ExtractProvisionerDaemonAuthenticated
middleware : https://github.com/coder/coder/blob/main/coderd/httpmw/provisionerdaemon.go#L28 which is used while doing a call from a provisioner daemon and critical but lacks coverage - would need to improve this part and ensure it is well tested.The text was updated successfully, but these errors were encountered: