← Back to Pull requests

fix: show credential on ad hoc job details (AAP-95407) #3699

Open
swatinarvekar opened this pull request with 41 lines diff across 2 files
View on GitHub
swatinarvekar swatinarvekar commented on Oct 02, 2026 18:21 UTC
Author

Summary

  • Show the credential used for an ad hoc (Run Command) job on the job Details page

  • Ad hoc jobs return summary_fields.credential (singular); the UI only looked at summary_fields.credentials (plural), so the field was missing
  • Type of Change

  • Bug fix

  • Enhancement

  • Tests

  • Documentation

  • Other (please specify)
  • Risk Analysis - REQUIRED

  • High — Broad platform impact (e.g., SWR config, shared framework components, authentication, routing, API wrappers, build/bundler config). Changes affect multiple workspaces or could cause widespread regressions.

  • Medium — Scoped but cross-cutting (e.g., shared utility functions, changes to multiple pages within one workspace, component library updates, test infrastructure). Limited blast radius but touches common code paths.

  • Low — Narrowly scoped (e.g., single page fix, styling tweak, documentation, test-only changes, copy/string updates). Minimal risk of unintended side effects.
  • Testing

    Manual Testing

  • Run Command on a host with a machine credential

  • Open the completed ad hoc job Details page

  • Credential name and link are shown

  • Normal job template job Details still show credentials as before
  • AAP-95407

    Diff: 41 lines (+25 / -16) across 2 files Reviewer: h-kataria Review duration: 20322m
    All Vouch review confidence checks passed
    Residual risk 0.09 = Change Risk (0.27) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.27 · 41 lines diff across 2 files
    0.27
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.35 · 1 substantive comment(s)
    0.35
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    67%
    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.224
    Real PR Conversation Timeline
    2 items
    h-kataria h-kataria approved these changes on Oct 06, 2026 15:35 UTC
    Approved Reviewer

    Scoped change aligns with existing patterns; CI is green.

    This review was created with AI assistance.

    Reviewers
    Assignees
    swatinarvekar swatinarvekar
    Labels
    risk: low confidence: 67.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: 26.8% (LOW) · Higher = larger blast radius
    26.8%
    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: 67.5% · Lower = rushed or shallow review
    67.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: 8.7% · Safe to merge
    8.7%