Hi there Firefox developers,

In the near future we'll be migrating Try from https://hg.mozilla.org/try
to https://github.com/mozilla-firefox/firefox-dev. We're looking for early
adopters to opt-in to using the new firefox-dev repository to help find
issues and provide feedback. As a little incentive, task clone times with
Git are between 2-4x faster than Mercurial (saving up to 12min of clone
time per task for certain pools). If you're interested in trying
firefox-dev out,
run:

    $ [email protected]:mozilla-firefox/firefox-dev.git ./mach
try fuzzy

And if you want to make it permanent, add the following to your
~/.mozbuild/machrc:

    [try]
    pushremote = [email protected]:mozilla-firefox/firefox-dev.git

Please share any issues or feedback you have on the #firefox-ci Matrix
channel.
Thanks in advance!
Andrew

FAQ

*How do I get write access to firefox-dev?*

If you're part of Mozilla's Github Enterprise account and have commit
access level 1, you should already have write access to the repo. You'll
need to ensure you have a local SSH key associated with your Github
account. Please reach out if you are still receiving permission denied
errors.

If you have not yet joined the Github Enterprise account, follow these steps
<https://mozilla-hub.atlassian.net/wiki/spaces/GHE/pages/3088711775/Access+sign-in+and+joining+organizations#Joining-other-GitHub-organizations>.
For non-employees, repo access is not yet set up. Stay tuned!

*What changes do I need to make to my workflow?*

There are two minor differences:

1. You'll need to update your Treeherder bookmarks to:
https://treeherder.mozilla.org/jobs?repo=firefox-dev
2. Lando is no longer involved, a direct Git push is used instead.

Otherwise all tasks should work with Git and be selectable the same as
before.

*Why is Lando not being used?*

Lando was originally added to the try pipeline to address slow pushes to
hg.mozilla.org, where pushes could take dozens of seconds or even minutes
to complete.

With Github push performance is largely a non-issue. A typical push should
take only a couple seconds, and even if you're the unlucky person who
pushes first after an m-c merge, it should be 10-20 seconds as a worst
case. A direct push will get your changes into the repo *faster* than going
through Lando. Add to that the complexity of having more moving pieces in
the pipeline, and the tradeoffs didn't seem worth it.

That being said, this is part of the reason we want early adopters, so
feedback welcome!

*How does branch management work?*

All your pushes will automatically be prefixed with user/<user>/<branch>.
So for example, if I had a branch called test checked out and made a try
push, it would create user/ahal/test on the remote. This way two developers
shouldn't have any conflicts with one another. If you're using Jujutsu, mach
try will use an existing bookmark as the head ref if one exists, otherwise
it falls back to creating one the same way that jj git push -c does.

As far as deleting, there is a Github action that will prune branches older
than 30 days (which is longer than both the default artifact expiry on the
hgmo/try and how long Treeherder displays hgmo/try pushes for).

*Why the name change from try to firefox-dev?*

A couple reasons:

1. In Github, it's much easier to spin up forks of Firefox, and these forks
might want to leverage mach try to schedule CI as well. In fact, there are
already three Github repositories configured to act as "try-like" repos,
and I suspect several others will be needed in the future. The way I think
of it, the term try is changing from a noun to a verb. It now refers
to the *action
of trying out your changes* rather than the *location for trying out your
changes*. From a design perspective, it makes sense to stop thinking of
repositories as "try" or "non-try", and just think of them in terms of
whether they allow you to request specific CI tasks or not.

2. Another reason is that in the future, firefox-dev could be a place for
development work beyond simply testing your changes. There are some ideas
in this space but no concrete decisions made yet, stay tuned!

*When will firefox-dev become the default?*

Depending on the feedback we receive, it's possible it could happen before
the end of the year, but more likely it'll happen in January 2027. After
this point, hg.mozilla.org/try will stick around to support ESR branches.
You'll also still be able to adjust your configured remote to push there if
needed for some reason.

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAAJAz%2B5EYiLB_F9UGgqQxUFYMT-hHxQ3i1t6tMoQ23eoyYQ6cw%40mail.gmail.com.

Reply via email to