Closed Bug 1785331 Opened 2 years ago Closed 2 years ago

Enable the partially implemented ORB in Nightly

Categories

(Core :: DOM: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: sefeng, Assigned: sefeng)

References

(Blocks 4 open bugs)

Details

(Keywords: perf-alert, Whiteboard: [necko-triaged][orb:m1], [wptsync upstream])

Attachments

(8 files)

Although current implementation misses bug 1532644, bug 1532646 and bug 1532648, it is still good to be enabled in Nightly just for testing what we have implemented so far are working as expected, and retained web compatibility.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]

This patch starts to actually blocking opaque responses
for most type of the resources that are defined in the spec.
There are still pieces missing such as blocking JSON responses,
and this is why it's called partially implemented.

This patch was originally written by farre, and I made some
modifications based on it.

Whiteboard: [necko-triaged] → [necko-triaged][orb:m1]

I am not sure the purpose of this check. With ORB implemented, we
could block a request before its onStartRequest call, so the status
could be a failure.

Blocks: 1791864
Blocks: 1791915
Blocks: 1791918

This file is being fetched with a 404 error which is not expected.

Blocks: 1794601

If ORB doesn't block the request from service worker, then the
synthesized request should also not be blocked by ORB.

Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc263932875f
Add an initial batch of ORB tests. r=smaug
https://hg.mozilla.org/integration/autoland/rev/d46d8ce0e449
Allow partially implemented ORB to be used in Nightly r=emilio,smaug,necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/9bdfad8294c3
Update some tests due to ORB is taking affect r=dragana,smaug,necko-reviewers
https://hg.mozilla.org/integration/autoland/rev/385cce3ce13e
Update test_auth_dialog_permission.js to allow failures before onStartRequest r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/f6201b73f62f
Ensure ORB clears out the headers r=valentin,necko-reviewers
https://hg.mozilla.org/integration/autoland/rev/b7f0115f333b
Make test_cache_padding.html to actually load the test_cache_add.js file r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/53922f348ffe
Add more tests/config changes based on the ORB implementation r=smaug
https://hg.mozilla.org/integration/autoland/rev/9596658a1a0f
Allow Synthesized Request Bypass ORB checks r=smaug,valentin,necko-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36695 for changes under testing/web-platform/tests
Whiteboard: [necko-triaged][orb:m1] → [necko-triaged][orb:m1], [wptsync upstream]
Regressions: 1797909
Upstream PR merged by moz-wptsync-bot
Regressions: 1797958
Regressions: 1797981
Regressions: 1797999
Regressions: 1798000
Regressions: 1798005
Regressions: 1798127
Regressions: 1798138
Regressions: 1798112
Regressions: 1798178

In the past 2 days these patches caused 11 regressions and broke several sites, one of them a top site in Europe (corriere.it), we should consider backing out these patches or at least set browser.opaqueResponseBlocking to false if that fixes the webcompat and usability regressions for our Nightly population.

Blocks: 1798227

Yeah, going to disable it in bug 1798227

Regressions: 1798230

(In reply to Pulsebot from comment #9)

Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc263932875f
Add an initial batch of ORB tests. r=smaug
https://hg.mozilla.org/integration/autoland/rev/d46d8ce0e449
Allow partially implemented ORB to be used in Nightly
r=emilio,smaug,necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/9bdfad8294c3
Update some tests due to ORB is taking affect r=dragana,smaug,necko-reviewers
https://hg.mozilla.org/integration/autoland/rev/385cce3ce13e
Update test_auth_dialog_permission.js to allow failures before
onStartRequest r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/f6201b73f62f
Ensure ORB clears out the headers r=valentin,necko-reviewers
https://hg.mozilla.org/integration/autoland/rev/b7f0115f333b
Make test_cache_padding.html to actually load the test_cache_add.js file
r=necko-reviewers,valentin
https://hg.mozilla.org/integration/autoland/rev/53922f348ffe
Add more tests/config changes based on the ORB implementation r=smaug
https://hg.mozilla.org/integration/autoland/rev/9596658a1a0f
Allow Synthesized Request Bypass ORB checks r=smaug,valentin,necko-reviewers

== Change summary for alert #35850 (as of Sat, 29 Oct 2022 15:30:14 GMT) ==

Regressions:

Ratio Test Platform Options Absolute values (old vs new)
9% wikia LastVisualChange windows10-64-shippable-qr cold fission webrender 3,275.04 -> 3,555.25
7% wikia SpeedIndex windows10-64-shippable-qr cold fission webrender 1,088.43 -> 1,161.33

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
54% wikia ContentfulSpeedIndex windows10-64-shippable-qr cold fission webrender 1,841.00 -> 852.58
50% wikia ContentfulSpeedIndex linux1804-64-shippable-qr cold fission webrender 1,687.75 -> 847.58
50% wikia ContentfulSpeedIndex macosx1015-64-shippable-qr cold fission webrender 1,553.33 -> 783.00
46% wikia ContentfulSpeedIndex windows10-64-shippable-qr fission warm webrender 846.42 -> 456.58
44% wikia ContentfulSpeedIndex macosx1015-64-shippable-qr fission warm webrender 652.00 -> 367.75
... ... ... ... ...
6% wikia SpeedIndex windows10-64-shippable-qr fission warm webrender 532.88 -> 503.17

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=35850

So I did more try runs for wikia by using my patches in bug 1797983, I can confirm the regression are fixed with those patches.

Duplicate of this bug: 1798230
Blocks: 1800658
Blocks: 1820192
Whiteboard: [necko-triaged][orb:m1], [wptsync upstream] → [necko-triaged][orb:m1], [wptsync upstream][sp3]
Whiteboard: [necko-triaged][orb:m1], [wptsync upstream][sp3] → [necko-triaged][orb:m1], [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: