[18.0][FIX] webservice: reset oauth2_flow regardless of server_environment #161
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.54) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 100 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.276
Sensitive Paths
sensitive_paths
0.054
Real PR Conversation Timeline
1 comments
"Review active on #161"
general
weight: 0.35
yankinmax
#146 split server_environment out of
webserviceinto the optionalwebservice_server_envmodule, but the logic resettingoauth2_flowwhenauth_typeis no longer "oauth2" only lived inwebservice_server_env's_compute_server_envoverride.Without
server_environmentinstalled, switching a backend'sauth_typeaway from "oauth2" (via the UI or a plain write) silently left a staleoauth2_flow, which_get_adapter_protocolwould then still factor into the selected component.Add an
_onchange_auth_typepluscreate/writeoverrides onwebservice.backenditself so the reset is guaranteed unconditionally, independent ofserver_environment.webservice_server_env's own override is unchanged and still covers its own case (env-var-driven values).CC @yankinmax @gurneyalex