Weekly OpenAPI drift check via OpenHands Cloud#89
Conversation
Co-authored-by: OpenHands-GPT-5 openhands@all-hands.dev
Co-authored-by: OpenHands-GPT-5 openhands@all-hands.dev
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
Caution Review failedThe pull request is closed. WalkthroughAdds a new GitHub Actions workflow to run a weekly OpenAPI drift detection using OpenHands Cloud. It configures LLM settings, starts a cloud conversation to run checks or fallback generation, polls for completion, extracts a delimited report, parses drift/PR info, uploads artifacts, and exposes outputs. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor GH as GitHub Actions
participant OH as OpenHands Cloud API
participant Repo as Repo Scripts
GH->>GH: Validate required secrets
GH->>OH: POST /api/settings (LLM config, optional fields)
GH->>OH: POST /api/conversations (start drift session with prompt)
loop Poll until complete (timeout ~120m)
GH->>OH: GET /api/conversations/{id}
OH-->>GH: status (running|completed|error)
end
GH->>OH: GET /api/conversations/{id}/events
OH-->>GH: events with messages
GH->>GH: Extract report between markers
GH->>GH: Parse drift status, PR URL/number
GH->>Repo: Upload artifacts (report, events)
GH->>GH: Set workflow outputs and summary
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Co-authored-by: OpenHands-GPT-5 openhands@all-hands.dev
Co-authored-by: OpenHands-GPT-5 openhands@all-hands.dev
This adds a scheduled workflow that runs weekly and uses OpenHands Cloud API to:
Secrets required:
You can test via workflow_dispatch.
Co-authored-by: OpenHands-GPT-5 openhands@all-hands.dev
Summary by CodeRabbit
New Features
Chores