← Back to Pull requests

fix typer issue + bump packages #97

Merged
jakekaplan merged 5 files (1063 lines) on Feb 03, 2026 22:45 UTC
View on GitHub
jakekaplan jakekaplan commented on Feb 03, 2026 22:29 UTC
Author

Users were seeing errors like this, which had to with conflicts in updates to the rich and typer packages. This PR makes some fixes and bumps the packages to be more aligned with what prefect has.

$ uvx prefect-cloud login --help
Installed 34 packages in 47ms

 Usage: prefect-cloud login [OPTIONS]

╭─────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────╮
│ /Users/alastair/.cache/uv/archive-v0/oNm7kkFEp-pD68GTeYZ1p/bin/prefect-cloud:12 in <module>                                                                             │
│                                                                                                                                                                         │
│    9 │   │   sys.argv[0] = sys.argv[0][:-11]                                                                                                                            │
│   10 │   elif sys.argv[0].endswith(".exe"):                                                                                                                             │
│   11 │   │   sys.argv[0] = sys.argv[0][:-4]                                                                                                                             │
│ ❱ 12 │   sys.exit(app())                                                                                                                                                │
│   13                                                                                                                                                                    │
│                                                                                                                                                                         │
│ ╭────────────────────────────────── locals ───────────────────────────────────╮                                                                                         │
│ │ app = <prefect_cloud.cli.utilities.PrefectCloudTyper object at 0x102df2300> │                                                                                         │
│ │ sys = <module 'sys' (built-in)>                                             │                                                                                         │

Diff: 1063 lines (+612 / -451) across 5 files Reviewer: zangell44 Review duration: 15m
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.49) × (1 − Review Confidence (0.34)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.49 · 1063 lines diff across 5 files
0.49
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
Model 3 · Review Timing & Attention
Session adequacy: 58% · Reviewer familiarity: 35%
33%
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.400
Shallow Review Depth shallow_review_depth
0.350
Real PR Conversation Timeline
2 items
zangell44 zangell44 approved these changes on Feb 03, 2026 22:44 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
jakekaplan jakekaplan
Labels
risk: low confidence: 33.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: 48.9% (MEDIUM) · Higher = larger blast radius
48.9%
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: 33.5% · Lower = rushed or shallow review
33.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: 32.5% · Safe to merge
32.5%