← Back to Pull requests

Log which source each transferred file came from #254

Closed
unknown closed this pull request without merging on Sep 17, 2026 12:28 UTC
View on GitHub
unknown unknown commented on Sep 17, 2026 11:32 UTC
Author

I have typically configured 4 Server processes, but have no indication in the Client log (or logs, as I have also 2 Clients) where the data originated from. For diagnostics I asked Claude to add a log message about the source.

Trollmoves Client only logged "Server done sending file" at DEBUG level, which says nothing about where the data actually came from. With several providers configured there was no way to tell which of them served a file, how much each of them was used, or that one of them had gone quiet.

Log the host the file was requested from together with its uri, at INFO level, once per file so that every member of a dataset or a collection is reported. The host comes from the request address announced by the server, so no credentials end up in the log.

Fixes #93

Claude-Session: https://claude.ai/code/session_011zSeerxWboeqLFSZoeMpgK

<!-- Describe what your PR does, and why -->
<!-- For works in progress choose "Create draft pull request" from the drop-down green button. -->

- [x] Closes #93 <!-- remove if there is no corresponding issue, which should only be the case for minor changes -->
- [x] Tests added <!-- for all bug fixes or enhancements -->
- [ ] Fully documented <!-- remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later -->
- [ ] Add your name to AUTHORS.md if not there already

Diff: 182 lines (+136 / -46) across 2 files Reviewer: pnuu Review duration: 55m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 182 lines diff across 2 files
0.41
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.312
Shallow Review Depth shallow_review_depth
0.289
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #254"
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: 40.6% (MEDIUM) · Higher = larger blast radius
40.6%
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: 16% · Safe to merge
16%