← Back to Pull requests

[MINOR] Format notebook lifecycle contract for Prettier 3.9.9 #5564

Closed
unknown closed this pull request without merging on Oct 10, 2026 08:06 UTC
View on GitHub
unknown unknown commented on Oct 09, 2026 08:04 UTC
Author

What is this PR for?

PR #5540 passed its E2E checks with Prettier 3.8.3. Before #5540 merged, PR #5546 updated the Angular lockfile to Prettier 3.9.9, which formats this union type differently. #5540 was merged without rerunning its checks against the updated master, so the E2E jobs on #5559 now stop at the Prettier check before Playwright starts.

This PR applies only the Prettier 3.9.9 formatting to the affected type declaration. It does not change runtime behavior.

The existing Husky hook formats staged TypeScript files with locally installed dependencies at commit time, but it cannot detect a later base-branch dependency update. To prevent similar merge-order failures, maintainers could consider requiring checks against the latest master or using a merge queue. That policy change is outside this PR.

What type of PR is it?

Improvement

Todos

  • Format the affected file with Prettier 3.9.9

  • Check the full Angular Prettier file set
  • What is the Jira issue?

    N/A

    How should this be tested?

    The following check passed locally from zeppelin-web-angular:

    npx --yes prettier@3.9.9 --check '**/*.{ts,tsx,mts,js,mjs,json,css,html}'
    

    The E2E CI jobs should then proceed past the formatting step.

    Screenshots (if appropriate)

    N/A

    Questions:

    Does the license files need to update? No
    Is there breaking changes for older versions? No

  • Does this needs documentation? No
  • Diff: 179 lines (+134 / -45) across 2 files Reviewer: jongyoul Review duration: 1442m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 179 lines diff across 2 files
    0.36
    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.311
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5564"
    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: 35.5% (MEDIUM) · Higher = larger blast radius
    35.5%
    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: 14% · Safe to merge
    14%