-
Notifications
You must be signed in to change notification settings - Fork 158
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
Fixup IPv6 validation logic #1180
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1180 +/- ##
==========================================
- Coverage 83.63% 82.97% -0.67%
==========================================
Files 57 57
Lines 5953 5973 +20
==========================================
- Hits 4979 4956 -23
- Misses 974 1017 +43 ☔ View full report in Codecov by Sentry. |
@@ -28,4 +28,4 @@ jobs: | |||
run: | | |||
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" | |||
chmod a+x builder | |||
./builder build -p ${{ env.PACKAGE_NAME }} --compiler=gcc-9 --coverage --coverage-exclude=source/external/ | |||
./builder build -p ${{ env.PACKAGE_NAME }} --compiler=gcc --coverage --coverage-exclude=source/external/ |
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.
Any particular reason for --compiler=gcc-9 to --compiler=gcc ?
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.
we dont care about compiler here as much, we just want the default on the system.
the reason it was gcc-9 before was to match it to gcov version on the os image. but once we updated image, gcov got updated and everything broke.
i dont want to update gcc version on every image update, so lets just use default gcc and gcov already on the system
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.
fix & ship
Issue #, and/or reason for changes (REQUIRED):
is ipv6 helper does not always return correct results for zero expansion cases.
Description of changes:
rewrote the logic to be hopefully simpler to follow and less error prone.
and a whole bunch of test cases
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.