-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
lib: make WeakRef safe in abort_controller #54791
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54791 +/- ##
==========================================
+ Coverage 87.62% 87.90% +0.28%
==========================================
Files 650 651 +1
Lines 182983 183343 +360
Branches 35406 35713 +307
==========================================
+ Hits 160336 161165 +829
+ Misses 15917 15461 -456
+ Partials 6730 6717 -13
|
825b229
to
dd41480
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
PR is currently blocked from landing by unreliable CI. |
I think rebasing might dodge that, since there are many flaky tests marked. I'll do a rebase later. |
dd41480
to
11707af
Compare
Nope, as it forces us to re-run the test suite on all platforms. On Jenkins, when we "resume the CI" it always1 tries to rebase the PR on top of Footnotes
|
@aduh95 Ah right! I keep forgetting about that. Thanks for the heads up 👍 Now I understand. |
This PR is currently blocked from landing due to unreliable CI. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
PR-URL: #54791 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Landed in fee02c7 |
PR-URL: #54791 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #54791 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #54791 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
WeakRef
can be prototype polluted, which could affectabort_controller
behaviours. Safety is more important than performance in this case, IMHO.