Closed Bug 1724509 Opened 3 years ago Closed 1 years ago

Fix some startup cache invalidation issues

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:kmag, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(continuation)
Flags: needinfo?(continuation)
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b34151a18850 Part 1 - Annotate crash report with last-startup-was-crash and startup cache status. r=mccr8 https://hg.mozilla.org/integration/autoland/rev/b267592b49db Part 2 - Don't load preloader caches when startup cache is being ignored. r=mccr8 https://hg.mozilla.org/integration/autoland/rev/d47ffc49daff Part 3 - Remove long-dead binary component fastload cache invalidation code. r=mccr8

Backed out for causing marionette failures.

Push with failures

Failure log

Backout link

Kris is still figuring out why it fails on automation but no luck yet.

Flags: needinfo?(kmaglione+bmo) → needinfo?(htsai)
Depends on: 1757250

At least one of the Marionette tests failing with these patches is test_preloader_telemetry.py. That test involves invalidating the cache, so it makes sense that it would have an effect. I found an issue with how the test deals with failure, and file bug 1757250 for that, but that won't fix the actual issue.

test_preloader_telemetry.py invalidates the cache, then restarts the browser, then waits for cache files to be created, which never happens with the patch. Restarting the browser an extra time makes the test pass. I could see how that might make sense, but I need to get my head around what exactly the invalidation logic is doing here to figure out if needing that change is expected.

Kris, is this something worth resuming that perhaps would help bug 1724336?

Flags: needinfo?(htsai) → needinfo?(kmaglione+bmo)
Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/799aaf92ef59 Part 1 - Annotate crash report with last-startup-was-crash and startup cache status. r=mccr8 https://hg.mozilla.org/integration/autoland/rev/5569f440c128 Part 2 - Don't load preloader caches when startup cache is being ignored. r=mccr8 https://hg.mozilla.org/integration/autoland/rev/c3994fed323f apply code formatting via Lando
Regressions: 1833863
No longer regressions: 1833863
Flags: needinfo?(kmaglione+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: