chore: update afterbuild to also pass adapter#10545
Conversation
📝 WalkthroughWalkthroughAdds a nullable string parameter Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
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! |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
src/Appwrite/Platform/Modules/Functions/Workers/Builds.php (2)
1410-1412: Remove unreachable type-check for $adapter.Parameter is declared as string, so this check is redundant.
Apply this diff:
- if (!is_string($adapter)) { - throw new Exception('adapter must be a string'); - }
1396-1396: Signature change OK — no overrides found; add missing @param tagsSearch found only the declaration at src/Appwrite/Platform/Modules/Functions/Workers/Builds.php:1396; there are no classes extending Builds and no other afterBuildSuccess overrides. Add to the method docblock above afterBuildSuccess:
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/Appwrite/Platform/Modules/Functions/Workers/Builds.php(3 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/Appwrite/Platform/Modules/Functions/Workers/Builds.php (2)
src/Appwrite/Utopia/Response/Model/Document.php (1)
Document(8-112)src/Appwrite/Extend/Exception.php (1)
Exception(7-447)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Setup & Build Appwrite Image
- GitHub Check: Setup & Build Appwrite Image
- GitHub Check: scan
✨ Benchmark results
⚡ Benchmark Comparison
|
6d9d5e5 to
85da691
Compare
What does this PR do?
Test Plan
Related PRs and Issues
Checklist