fix: remove prompt_file from test oracle payload#1011
Conversation
The oracle service handles TESTS_ORACLE.md on its own via the repo clone. Remove the unused prompt_file payload field and related filesystem checks.
Review Summary by QodoRemove prompt_file from test oracle payload
WalkthroughsDescription• Remove prompt_file field from test oracle payload • Oracle service now handles TESTS_ORACLE.md independently • Remove unused os import and filesystem checks • Delete related tests for prompt file handling • Update documentation to reflect simplified behavior Diagramflowchart LR
A["Test Oracle Integration"] -->|Previously| B["Check for TESTS_ORACLE.md<br/>Pass prompt_file path"]
A -->|Now| C["Oracle handles<br/>TESTS_ORACLE.md directly"]
B -->|Removed| D["os.path.isfile checks<br/>payload prompt_file field"]
C -->|Simplified| E["Cleaner payload<br/>No filesystem logic"]
File Changes1. webhook_server/libs/test_oracle.py
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
WalkthroughRemoved the TESTS_ORACLE.md prompt customization feature: deleted docs/comments referencing it, removed repository-file detection and prompt_file injection from the implementation, and removed related tests. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
…remove-prompt-file
|
/lgtm |
|
/build-and-push-container |
|
New container for ghcr.io/myk-org/github-webhook-server:pr-1011 published |
|
/verified |
|
Successfully removed PR tag: ghcr.io/myk-org/github-webhook-server:pr-1011. |
|
New container for ghcr.io/myk-org/github-webhook-server:latest published |
Summary
prompt_filefield from test oracle payloadTest plan
Summary by CodeRabbit
Refactor
Documentation
Tests