17:59:07 #startmeeting Tor Browser Release Meeting 2024-12-11 17:59:07 Meeting started Mon Dec 11 17:59:07 2023 UTC. The chair is richard. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:59:07 Useful Commands: #action #agreed #help #info #idea #link #topic. 17:59:15 pad: https://pad.riseup.net/p/tor-browser-release-meeting-keep 17:59:43 / 18:00:19 ok PieroV looks like you have some discussion points :D 18:00:26 Yes 18:00:48 So, ruihildt[m] told us users complained about MB arriving one week later than TBB 18:01:03 And the reason might be the QA 18:01:15 So, I thought on how to provide QA builds sooner 18:01:41 And I think we can build MB from build1 tags 18:01:50 I.e., not wait for Android backports 18:02:08 Since usually they're Android-only, even though in the past we backported to ESR before Moz 18:02:16 * ruihildt[m] nodes his head (QA and even more QA around weekends) 18:02:43 It does make sense. Even if we needed to backport something (like a PB / RFP bug which wasn't deemed critical enough for esr) it's unlikely to affect QA 18:02:45 (i.e., we backported a patch and Moz backported it just for the ESR that came after the one in which we backported) 18:02:58 Also what ma1 says 18:03:22 And since we don't need to wait for Android backports, we could slightly change our process for release builds 18:03:46 this seems reasonable 18:03:51 We more or less know a lot earlier which backports of our changes we want in a release 18:03:58 We don't have to wait for the rebase 18:04:08 But we can rebase after having already cherry-picked 18:04:20 Therefore, also changelogs are predictable enough 18:04:38 So, we could prepare the release before rebasing 18:04:44 I *do* like the idea of rebasing+tagging being the last step before building 18:04:58 E.g., we're expecting tags (they could come in a few hours, or tomorrow) 18:05:07 We could've prepared the release already 18:05:33 however long term we're going to run into this same problem again when mullvad-browser for android is a thing 18:05:36 Not too early, but ideally on Monday of the week before the release 18:05:47 Well, it depends if we switch to RR 18:06:03 Switching back to RR for Android eventually could be a wise choice 18:06:30 Or we could build twice 18:06:50 Hoping we're blessed and we don't have to backport 18:06:56 Then, if we have, we tag and build build2 18:07:21 In the meantime, we could wire Mullvad's CI 18:07:33 So that they don't have to wait for us for unsigned builds for testing 18:08:32 How do we know we're testing the right build? Is there a risk we test builds that aren't reproducible? 18:09:21 so there is risk that the build won't be reproducible 18:09:23 Repro problems usually are rare on the release channels 18:09:33 * channel 18:10:08 But we could also have a CI for release builds, FWIW 18:10:12 but historically i don't think i've ever seen a reproducibility bug which affected application behaviour 18:10:32 And hashes locations are quite predictable 18:10:37 PieroV: I like that idea. 18:10:48 I regularly test on my own if the build on tb-build-02/03 matches mine 18:10:54 I even wrote a quick script to do it 18:11:33 We could polish so that you can run it to verify if the builds produced in your ci match 18:11:50 If we could automate building browser on both infra, when it needs to be done, it seem sideal 18:13:50 we spoke w/ jag about this briefly in gothenburg; iirc if your infra built on new tor-browser-build tags then that will give you exactly what you need to test 18:14:08 in general, speaking of releasing and coordination 18:14:35 how can we improve the release pipeline on your end 18:15:01 i imagine it kind of sucks for your QA team to receive 'you've a build to test' emails unpredictably 18:16:15 To have a release date ahead of time would be nice. so we can make sure, our QA is available. 18:17:49 Lately we've had multiple small delays due to the template email not being followed, or because the process was somehow not documented? Or because tags were missing on our Github. 18:18:14 I'm not sure what there is to improve there. 18:18:29 Given the process above, Thursday after the tags is the worst-case date for a test build, right? 18:18:40 RC I mean 18:18:50 Or also, because we needed signed builds, but the right people were not available. 18:18:56 to sign 18:19:23 Ah right, because the MB rc needs to be signed (for MacOS testing) 18:19:54 If builds arrive without warning on Thursday, someone might or might not be able to test. If it collides with a Mullvad VPN App QA session, it might be an issue. 18:19:54 and release signing (currently) can only be done by myself and boklm 18:20:30 so stable releases are fairly reliably in-line with the firefox release calendar ( https://whattrainisitnow.com/calendar/ ) 18:20:48 This is why I'm talking about giving us a date. 18:21:10 I know there's the caendar, but I haven't been able to estimate the MB release from it. 18:21:43 Yep, we're not very predictable in terms of starting a build 18:21:50 So, how would "the Thursday before Firefox release (which is always on Tuesday)" work? 18:22:21 But so far we've been quite reliable on having the rebase ready on the Tuesday before the release week 18:22:36 So, doing the rebase as a last step should help for predictability also on builds 18:22:43 I'll needto ask the QA team about it. 18:23:40 agreed 18:23:44 re doing rebase last 18:25:27 Regarding the automation part of the build, what do you need from me? 18:25:27 I think JB mentioned we couldn't leverage our existing Drone CI instance, we might need to create another one. 18:26:02 Do you want us to setup a webhook to signal you? 18:26:21 I think it's the most we can do for active notifications, otherwise you'll have to poll in some way 18:26:50 I'm not the right person to talk about this I'm afraid. I'll talk again to JB about it tomorrow. 18:27:51 Yes, sorry, I thought you meant also needs from you as you relaying the request :) 18:27:55 we can easily add another email to the 'Email on push" webhook 18:27:55 And regarding the signing, since we know optimistically that a build is going to be released at a set date, can we make sure someone is available to do it? 18:28:47 Yes, also emails, and actually a few other integrations, even though I think webhook are the easiest to parse ^_^ 18:29:13 I think I can use a webhook for slack. 18:29:16 also 18:29:38 if we can do without the email through my inbox stuff, that woud be good as well 18:30:08 oh yeah there's Slack notifacation integrations builtin to gitlab apparently 18:30:34 ruihildt[m]: would automation be completely automatic, or would JB or someone else still need to launch the build? 18:31:09 I don't know. :) I would prefer to launch it automatically obviously. 18:33:51 ok, i've added a set of TODOs on our end in the pad 18:34:57 I don't remember how we landed there, but would it make sense to revisit pushing the tags+branch automatically? 18:35:04 ruihidlt[m]: the main things we need from y'all is basically stuffs dependant on JB; how to notify you of new build tags to build and all the automation required to get that going 18:35:04 to Github 18:36:18 And QA for the Thursday release. ma1 Do you have a more precise time of release (morning or afternoon UTC)? 18:37:01 so the inefficiency there is bad release documentation; pushing branch+tags to github should happen as part of the rebase 18:37:06 rather than the *last* step in the whole process 18:37:20 I think it's also a problem of missing permissions 18:37:27 that too 18:37:34 I think I can't push to GitHub, whereas I can push everywhere on tpo/applications 18:37:53 And often I'm rebasing, so I'm also pushing/merging 18:37:56 we should probably add anyone who can push to tor-browser gitlab projects to the mullvad-browser github repo as well 18:37:57 Esp. if ma1 reviews 18:38:10 Is there a way to automate this? 18:38:33 not really, the tags are pgp signed by the devs doing the rebase 18:39:00 I meant once the tags are added to the gitlab, automatically push them to github 18:39:00 I think GitHub can set to mirror 18:39:04 ruihildt[m], re time: since the last step is signing, it mainly depends on the timezone of the available person(s) 18:39:08 And maybe also GitLab can push 18:39:42 hmmm true 18:40:12 ma1: Because if signing happens during the afternoon, it the same thing as saying the release is happening on Friday from our POV. 18:40:45 People tend to go home from 3/4PM CET 18:41:55 To have any QA done on Thursday, a build should be ready by 1PM CET 18:42:22 Soo, let's say we have fixed date to start relprep on Monday (Firefox tags or not), a fixed date to finish the rebase and start building on Tuesday night, and a fixed date to sign on Wednesday ~18 UTC (after the All Hands): is this too tight? 18:42:43 ruihildt[m]: would it be possible to test macOS a little bit later in case? 18:43:08 Does the build need to be signed by us? (e.g., a check on the signing details themselves) 18:43:22 Or would self-signed builds also be okay? 18:44:15 So once QA is done, then JB needs to manually upload the files on our cdn, and the signing check happens at the same time. 18:45:02 I'll come back to you as well on the self-signed builds. 18:45:26 Because note everybody has access to all test machines, QA is spread between multiple people. 18:45:47 self-signed for macOS would let QA get a head-start 18:46:16 self signed for Macos still needs to execute a script and whatnot, right? 18:46:38 Yes, but if it can help we can try to improve it 18:47:01 Ok, yes definitely. 18:47:15 * ma1 wonders whether Mullvad has their own Apple Developer cert and can sign their MacOS RC on their side 18:47:19 Having to go in some specific subfolder and so on is still a pain. 18:47:25 ma1: I was about to say that 18:47:36 Good question ma1, you get 5 internet points. 18:47:58 I'll ask. 18:48:13 I assume the answer would be likely yes: https://mullvad.net/en/download/vpn/macos 18:48:13 (timecheck: 10 minutes and we have another quick point) 18:48:45 But it's another server altogether, so I'm not sure what would need to be done in practice. 18:49:00 and signing certs+notarisation tokens are pretty easy to acquire from the dev portal 18:49:01 another build server and environment 18:49:28 I will definitely ask 18:50:09 ok next point 18:50:30 What's the plan for 13.5a3? 18:50:35 Things to consider: 18:50:43 1. the opt-in for the new backend 18:50:56 2. we have a break, and if 1 goes badly we might not be very present to fix it 18:51:19 Also, 13.5a3 brings the fix to the wayland crash on alpha 18:52:36 so i don't think i'm too worried about breaking alpha users 18:52:55 re the new backend on android 18:54:04 Should we wait to get the opt-in merged? 18:54:18 I don't think it'll take a long time 18:55:27 i'm not sure 18:55:44 It'll help me play with it during the break :) 18:55:47 i think we should get it in asap for our own development purposes 18:55:49 I like dogfooding 18:55:59 perhaps we can gate the toggle on a pref 18:56:00 But I hate doing it on nightly on Android 18:56:05 yeah exactly^ 18:56:09 (woof woof) 18:56:10 The backend is gated 18:56:16 Already with a pref 18:56:34 i meant gate the UX allowing the toggle on a pref 18:56:53 but honestly i'm ok with users playing around with it 18:56:57 That is less easy 18:56:59 it is the alpha channela fter all 18:57:09 Okay, so business as usual? 18:57:13 yeah I think so 18:57:16 I.e., best effort to get it before the break? 18:57:41 yeah if it comes late i'll sign over the weekend 18:57:58 ack 18:58:00 but let's get mullvad-browser alpha out the door asap next week so QA isn't sad over the holidays 18:58:13 also, if we break Android users are still able to get updates 18:58:17 It isn't as tragic as desktop 18:58:23 That once broken we can't even serve updates 18:58:23 truuue 18:58:38 praise be Google...??? 18:59:16 lol 18:59:17 ok 18:59:20 we're a minute over 18:59:26 sorry whoever comes after if anyone 18:59:30 later y'all o/ 18:59:33 #endmeeting