Open Bug 1453707 Opened 6 years ago Updated 2 years ago

Allow TPS to run through Mach

Categories

(Firefox :: Sync, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: tcsc, Unassigned)

Details

Attachments

(1 file)

:davehunt mentioned in IRC (log at end) he'd be interested in doing this, so I'm filing a bug for it.


It would be nice, and would avoid breakage due to things like bug 1453496, and would make running TPS tests much more straightforward. We could probably get rid of a good amount of cruft around the config as well.

Additionally, it would be nice if it could run as a tier 2 job on taskcluster, and I think this is needed for that to happen. If it did happen, it would help avoid inadvertent breakage for other reasons, allow us to more easily run TPS on patches in mozreview, and would probably allow us to be more comfortable relying on it for test coverage.

Anyway, I don't plan on doing this any time soon (If I were to spend time on TPS it would be for bug 1451527) but would be thrilled to review patches for it.

The biggest caveat is that care should be taken to keep https://github.com/mozilla-services/sync-tps-setup working.

IRC log from #sync this morning:

<davehunt> tcsc: saw your comments on the mozprofile bug. I believe tps could run in taskcluster, it just won't be tier 1 if it depends on external resources
<davehunt> I think it would make a lot of sense having it run from mach, and to run on taskcluster rather than jenkins
<davehunt> but of course, there would be some work involved
<tcsc> oh yeah its a big pain as is
<davehunt> would it be worthwhile? I wouldn't mind working on it, depending on other priorities
<davehunt> I also think it would be neat to have a tps.xpi artifact from taskcluster, which the ios sync tests could use, rather than duplicating the source code
<tcsc> well, up to you. theres things that need doing more urgently. like tps also needs to be a webextension, but thats also might not be something you find actionable
<davehunt> yeah, I'm less familiar with that area
<tcsc> you also might need to talk to rpapa to ensure things stay working for automation, possibly. i guess taskcluster would replace that though? idk
<tcsc> yeah, lots of fiddly desktop js code required for that, i don’t blame you
<davehunt> yeah, that would be my thinking, though it would be important not to disrupt what rpapa has
<davehunt> it may not be needed at the moment, but it certainly feels like technical debt :)
Priority: -- → P3
Comment on attachment 8969596 [details]
Bug 1453707 - Add mach command for running TPS

tcsc: This is my working patch. I'd be happy to continue working on this later, but if someone else decides to pick this up, maybe this will help them to get started.
Attachment #8969596 - Flags: feedback?(tchiovoloni)
Comment on attachment 8969596 [details]
Bug 1453707 - Add mach command for running TPS

This looks good to me. One comment I have is does this allow running firefox headlessly? I guess that would probably still work with MOZ_HEADLESS the way it currently does, but it might be a good option to allow.
Attachment #8969596 - Flags: feedback?(tchiovoloni) → feedback+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: