feat: port utils from go-multiaddr-dns#102
Conversation
|
@asabya : This is fantastic. Thank you so much for your contribution on this PR. Ran the CI/Cd pipeline and reviewing it. CCing @acul71, @yashksaini-coder and @lla-dane on this PR for their review and feedback too. |
|
@asabya : CI/CD tests are failing. Please make corrections. |
|
@seetadev fixed |
What's has changed@asabya has add 6 new utility functions to make DNS resolution easier:
These are pulled from What's Working Well ✅
Security Review ✅Status Good: No security vulnerabilities found.
Test Results
Pyupgrade pre-commit hook fails due to Python 3.14 compatibility issue, must be fixed before merge. Tests passed: All 362 tests pass with 0 failures. Great! But type checking must be fixed. Pre-commit Hook Failure
|
|
Thank you for this contribution, @asabya . Great work porting the resolver utility helpers from Before merge, a few small fixes are still needed:
Thanks again for the thoughtful PR and follow-up fixes. Full review here: AI PR Review: #1021. Summary of Changes
2. Branch Sync Status and Merge Conflicts
3. Strengths
4. Issues FoundCritical
Major
Minor
5. Security Review
Overall security impact: Low / no new high-risk findings. 6. Documentation and Examples
7. Newsfragment Requirement
8. Tests and Validation
9. Recommendations for Improvement
10. Questions for the Author
11. Overall Assessment
|
Hi @yashksaini-coder, python 3.14 is not currently supported in Repo setup , see |
- Add newsfragment for issue multiformats#101 - Guard offset_addr() against negative offsets with ValueError - Expand docstrings for all 6 public utility functions - Add resolver utilities example script and docs section
|
@asabya Can you fix the lint errors? AI PR Review: #102 (CI/CD Failure Focus)Critical
Major
Minor
6. Documentation and Examples
7. Newsfragment Requirement
8. Tests and Validation
9. Recommendations for Improvement
10. Questions for the Author
11. Overall Assessment
|
Aah apologies for this, I had 3.14 set on main uv environment so the review draft included that as well. |
It happened also to me. install venv with |
Closes #101