← Back to Pull requests

docs(json-specs): improve descriptions and examples #23047

Closed
unknown closed this pull request without merging on Mar 26, 2026 10:00 UTC
View on GitHub
unknown unknown commented on Mar 25, 2026 08:11 UTC
Author

What does this PR do?

Fix formatting issues in several descriptions:

  • Ensure long description starts with a short summary followed by \n\n

  • Add few missing .

  • Fix a couple of markdown formatting issues.
  • Motivation

    https://datadoghq.atlassian.net/browse/FA-1102

    Context: Fleet Automation UI uses spec files to automatically generate forms and renders description fields as Markdown. If a description spans multiple lines, only the first line is shown initially, and a Show More button is appended.
    Ideally, long descriptions should begin with a brief summary, followed by two carriage returns.
    This makes descriptions easier to read in YAML examples and provides the best experience in the UI.

    Here are few examples on the impact of this PR on the UI:

    <table>
    <tr><th>Before</th><th>After</th></tr>
    <tr><td>
    <img width="487" height="147" alt="Screenshot 2026-03-24 at 17 08 11" src="https://github.com/user-attachments/assets/a49fe41f-28f7-4678-a437-9663694216e5" />
    </td><td>
    <img width="489" height="99" alt="Screenshot 2026-03-24 at 17 09 29" src="https://github.com/user-attachments/assets/1587f87d-2a83-4c18-b773-9acb9e9d9d46" /><br/>
    <img width="484" height="161" alt="Screenshot 2026-03-24 at 17 09 34" src="https://github.com/user-attachments/assets/33e1b56e-3535-4581-b995-efbff4e535cb" />
    </td></tr>
    <tr><td>
    <img width="669" height="473" alt="Screenshot 2026-03-24 at 17 20 21" src="https://github.com/user-attachments/assets/22da28bd-251a-4c48-80c4-b8d04f931dce" />
    </td><td>
    <img width="408" height="84" alt="Screenshot 2026-03-24 at 17 20 00" src="https://github.com/user-attachments/assets/7f4c32bc-44b2-4bb8-8a3b-5a2259adb6a0" /><br/>
    <img width="670" height="528" alt="Screenshot 2026-03-24 at 17 19 53" src="https://github.com/user-attachments/assets/8a65d8c3-25aa-457c-a0c3-54f829058508" />
    </td></tr>
    <tr><td>
    <img width="489" height="376" alt="Screenshot 2026-03-24 at 17 10 32" src="https://github.com/user-attachments/assets/d0f1ca31-b54a-40ec-8d28-efe2d02507db" />
    </td><td>
    <img width="506" height="228" alt="Screenshot 2026-03-24 at 17 12 24" src="https://github.com/user-attachments/assets/20c2af23-d3c5-4a79-8166-f81731885e3e" /><br/>
    <i>Markdown syntax issue fixes</i>
    </td></tr>
    </table>

    Blast radius

    Minor impact on example YAML files.

    Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)

  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged
  • Diff: 342 lines (+256 / -86) across 4 files Reviewer: Yqnn Review duration: 1549m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 342 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.349
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #23047"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.3% (MEDIUM) · Higher = larger blast radius
    42.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.7% · Safe to merge
    16.7%