Closed Bug 1607047 Opened 4 years ago Closed 4 years ago

Include build ID in recordings and introduction message

Categories

(Core Graveyard :: Web Replay, enhancement)

enhancement
Not set
normal

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(1 file)

Right now, replay cloud servers are configured with a single set of firefox binaries from a single build. If a replay attempt is made with a recording made on a different build, the cloud replaying process will crash (the build mismatch is detected early in startup). A major goal of cloud replaying is to make it easy to replay any recording, regardless of the build used to generate it. A big part of this is making sure the cloud server can find the right binaries to replay a given recording. The attached patch does this by adding a build ID concept, a string that incorporates the platform name and the ID baked into the binary (mozilla::PlatformBuildID()), something like "macOS-20200104162819". When recording, the build ID is stored in the recording itself, and when spawning a replaying process the middleman reads this build ID and stores it in the introduction message it first sends to the remote connection. The cloud server extracts the build ID from the introduction message and starts the replaying process with the right set of binaries.

Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ac650724604
Include build ID in recordings and introduction message, r=jlast.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

== Change summary for alert #24715 (as of Sat, 18 Jan 2020 18:43:23 GMT) ==

Improvements:

14% sccache hit rate android-5-0-x86_64 asan 0.88 -> 1.00

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=24715

Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: