Repository navigation
fix(mcp): serve hosted directory domain verification - #500
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: Noveum/orbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughAdds an OpenAI Apps Challenge route that returns a verification token for matching hosted origins. Extends registry discovery tests to check the route’s status, body, content type, and cache control. ChangesOpenAI Apps Challenge route
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The hosted-only challenge response has no identified merge-blocking issue; normal checks remain appropriate. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…main-verification
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
OpenAI directory verification requires a public challenge at
/.well-known/openai-apps-challenge. Serve that proof only when both the configured application origin and the request origin arehttps://orbit.noveum.ai. Self-hosted instances, preview URLs and mismatched origins return 404; the successful response is plain text and non-cacheable.The change is limited to the route and its regression coverage. Four fixtures cover hosted, preview, self-hosted and mismatched-host requests. There are no database changes or authentication relaxations.
Validation: focused tests pass with 34 assertions. The combined tree containing this change and merged deployment work passed
bun run verifyon a clean GitHub runner: 6,242 passed, five skips and zero failures. Build, schema validation and both end-to-end suites also passed: https://github.com/Noveum/orbit/actions/runs/35977237394. Current main including #493 is merged into the branch; latest-head CI must finish before merge.