fix(data-editor): keep YAML parse errors visible after blur (AAP-93178) #3670
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 234 lines diff across 2 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
Diff Size
diff_size
0.327
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3670"
general
weight: 0.35
lgalis
Description
Jira issue # AAP-93178
Follow-up to #3600. On job template create, default
extra_varsis---\n. When users enter invalid YAML, the form value does not update; on blur,PageFormDataEditorre-synced from stalewatchValue, reset Monaco, and cleared the parse error—causing Jenkins tier1 failure injob-template-validation.spec.ts.watchValueresync whileparseErrorRefis active.handleChange, keepdataEditorValuealigned with editor text.extra-vars-form-group; remove@tier1from validation specs (perplaywright/Playwright.md).---\n.Type of Change
Required Backend Work (if applicable):
None.
Feature Flags (if applicable):
N/A
Testing
• E2E Run:
• Manual testing instructions:
1. Create job template → Extra variables → paste indented
---/a: b.2. Blur the field; confirm js-yaml helper text stays visible and no
|2-growth.3. Create job template submit should remain blocked with error shown.
• Screenshots (if applicable):
N/A
• Test coverage
Additional Notes
Related backport: https://github.com/ansible-automation-platform/aap-ui/pull/3025
Risk Analysis - REQUIRED
Made with Cursor