fix(awx): persist schedule credentials selected in the UI (AAP-89449) #3906
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 248 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Diff Size
diff_size
0.330
Real PR Conversation Timeline
1 comments
"Review active on #3906"
general
weight: 0.35
redhat-chai-bot
Summary
useProcessCredentialsno longer treats launch-config defaults as already associated with the schedule./schedules/:id/credentials/results (same pattern as instance groups), gated byask_credential_on_launch.usePostAccessories.Fixes AAP-89449.
Type of Change
Risk Analysis - REQUIRED
Dependencies
None.
Testing
Manual Testing
1. Create a job template with
ask_credential_on_launch=trueand a default Machine credential.2. Go to Templates → [JT] → Schedules → [Schedule] → Edit.
3. In Prompts, select that credential (or another), continue, and save.
4. Reopen the schedule → Edit → Prompts and confirm the credential is still selected.
5. In Network, confirm
POST .../schedules/<id>/credentials/with{"id": <credential_id>}.Unit tests:
useProcessCredentials.test.tsx(6 tests).