-
Notifications
You must be signed in to change notification settings - Fork 113
Revert "fix/fluxx malformed uri parsing" #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThe PR removes the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 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
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code graph analysis (1)ingestr/src/fluxx/helpers_test.py (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). (5)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 1 comment
|
|
||
| instance = extract_instance_from_uri(uri) | ||
|
|
||
| instance = parsed_uri.hostname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: reverting to parsed_uri.hostname will break URIs like fluxx://https://acme.fluxx.io - hostname will be parsed as https instead of the domain, causing API calls to fail
Prompt To Fix With AI
This is a comment left during a code review.
Path: ingestr/src/sources.py
Line: 3575:3575
Comment:
**logic:** reverting to `parsed_uri.hostname` will break URIs like `fluxx://https://acme.fluxx.io` - hostname will be parsed as `https` instead of the domain, causing API calls to fail
How can I resolve this? If you propose a fix, please make it concise.
Reverts #496
Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.