feat: migrate dataset file reads and download links to gRPC #1244
All Vouch review confidence checks passed
Residual risk 0.41 = Change Risk (0.59) × (1 − Review Confidence (0.30)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 196 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 52% · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.316
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #1244"
general
weight: 0.35
claude[bot]
What and why
Move dataset-file lookup, batch refresh, listing, search, ingestion-job file listing, and download links from Catalog Conjure endpoints to the generated DatasetFileService gRPC API. DatasetFile and VideoDatasetFile now convert protobuf responses directly, preserving optional metadata, ingestion phases, in-place refresh, video specialization, and the documented whole-second search bounds. Origin download links follow all pages, including when a signed URL is renewed. Experimental file copying uses the new storage handle representation and shared download-link path.
File deletion and video timing updates remain on their existing services. Dataset CRUD is outside this PR.
Validation
just verify: 1,870 passed, 23 skipped; formatting, mypy, and Ruff passed.just checkpassed.Review notes
Stacked on the generated-bindings upgrade #1242 (
codex/api-bindings-0.1509.0). Public signatures and documented defaults are unchanged; migrated RPC failures use the existing SDK gRPC translation, and dataset-file lookup retains its FileNotFoundError wrapping.