Remove superfluous logs from StatsResources worker#11383
Conversation
Replace redundant Console::info/error/success logs with Span::add for document count — all other details (project ID, sequence, region, database, duration) are already captured by the telemetry span. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis pull request introduces a comprehensive refactoring and feature expansion for Appwrite. The primary changes include a systematic migration from the Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes The changes span heterogeneous categories—routing framework migration, configuration expansion, complete controller removals, database schema modifications, CI/CD updates, and bin script standardization—each requiring distinct reasoning. High logic density appears in resource registration, API controller consolidation, database initialization, and realtime/HTTP lifecycle management. The architectural shift from App to Http is pervasive and consequential, combined with significant schema and feature additions, necessitating thorough multi-area review. Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
✨ Benchmark results
⚡ Benchmark Comparison
|
Summary
Console::info/Console::error/Console::successlogs from theStatsResourcesworker — project ID, sequence, region, database, and duration are already captured by the telemetry spanSpan::add('documents.count', ...)to capture the only detail not already in the spanlogErrorcallbacksTest plan
documents.countappears in telemetry span outputlogErrorcallbacks🤖 Generated with Claude Code