Sync upstream silo-plugin-sdk (2026-09-29): request router download progress - #13
Conversation
…lo-Server#27) Add an optional DownloadProgress to TargetStatus: a phase, bytes total and left summed over the target's distinct downloads, the latest estimated completion, and the number of downloads. A plugin declares that it fills it with request_router.reports_download_progress, which the host reads from the manifest to decide which targets to refresh every minute. The phase vocabulary is open, and bytes_total is 0 whenever any download's size is unknown, so hosts show no percentage rather than an overstated one. Refs Silo-Server#26 Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Brings in upstream Silo-Server#27: request routers can report download progress (TargetStatus.DownloadProgress + request_router.reports_download_progress). Conflicts: request_router_test.go (convert, manifest) resolved to upstream's new tests with Prairie module paths/plugin ids; request_router.pb.go regenerated with buf + protoc-gen-go v1.36.11 / protoc-gen-go-grpc v1.6.1. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe request-router proto adds a declaration for download progress reporting and progress data on target status. SDK tests cover flag conversion, manifest loading, defaults, and validation. Documentation specifies progress aggregation, presence rules, and host polling behavior. ChangesDownload progress reporting
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The download-progress contract and SDK flag coverage have no identified merge-blocking issue; the PR is ready for normal merge checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new reporting capability is optional and defaults to off. The contract describes how hosts should gate and clear progress, but the host behavior cannot be verified from this SDK change. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 44.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 9 functions across 2 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 Buf (1.72.0)proto/prairie/plugin/v1/request_router.protofatal: unable to access 'https://github.com/Prairie-Server/prairie-plugin-sdk.git/': Failed to connect to github.com:443 over proxy 127.0.0.1 after 0 ms: Could not connect to server Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Real merge of
Silo-Server/silo-plugin-sdkmain (50a39c7, "feat(requestrouter): let request routers report download progress (Silo-Server#27)") into Prairie.DownloadProgressonTargetStatusand therequest_router.reports_download_progressmanifest flag.prairie/plugin/v1, modulegithub.com/prairie-server/prairie-plugin-sdk.git grep -i silois clean.Conflict notes
pkg/pluginsdk/convert/request_router_test.go,pkg/pluginsdk/manifest/request_router_test.go: took upstream's new tests, rewritten to Prairie import paths,prairie.*plugin ids andprairie_api_version.pkg/pluginproto/prairie/plugin/v1/request_router.pb.go: not hand-merged; regenerated withbuf generateusing protoc-gen-go v1.36.11 and protoc-gen-go-grpc v1.6.1 (same as the Makefile / existing headers). No other generated file changed.Merge with 'Create a merge commit' — do not squash.
AI disclosure
🤖 Generated with Claude Code
Summary by CodeRabbit