Call for testing: Firefox snap upgrading base from core20 to core22

Excellent, happy to hear that!

As for how to find out when the stable branch has been updated, you can run snap info firefox, and from the channels section look for latest/stable:

$ snap info firefox | grep 'latest/stable:'
  latest/stable:    116.0.3-2    2023-08-16 (3026) 248MB -

In this example, stable was updated on 16 August for the current architecture.

Alternatively, you can see the same info from the version dropdown on the top right of https://snapcraft.io/firefox.

If you meant how to find out if your installed version of the Firefox snap is using core20 or core22, you can run snap connections firefox | grep 'gnome-'; then if you see gnome-3-38-2004 it means your Firefox snap is based on core20, and if you see gnome-42-2204 it means it’s based on core22.

1 Like

@bandali Appreciate that, I’m not much of a snap user; basically only when my distro more or less backs me into a corner and the alternatives seem worse-supported. :wink:

Edit: What actually triggers a new build?

Thanks again for this brilliant work. :metal:

Using snap info --verbose firefox | grep base: will show you the base a snap uses, so you don’t need to rely on the extension and it is a bit less complicated to obtain too :wink:

2 Likes

Cheers. :slight_smile:

For stable releases, commits to the stable branch of the canonical/firefox-snap repo trigger builds which are uploaded to latest/candidate, which can then be promoted to latest/stable by the Mozilla folks at their discretion.

It looks like the core22-based 117.0-1 build landed in the latest/candidate channel today. Working well with no issues on my end.

1 Like

For Ubuntu 22.04 the correct channel is not but latest/stable, but latest/stable/ubuntu-22.04:
sudo snap refresh firefox --channel=latest/stable/ubuntu-22.04

respective ubuntu-22.10 for the 22.10, etc etc.

Indeed, that is more accurate. But those branches are generally not advertised, so to avoid confusion I simplified a bit and just mentioned latest/stable. :slight_smile: (Under normal circumstances, these release-specific branches all point to latest/stable itself, except when a hotfix is needed for a specific Ubuntu release, or if we’d like to role out a newer version of the package for some releases, like we did for core22-based Firefox for lunar and mantic.)

1 Like

As a final update on this, given that the upgrade for Firefox stable’s base from core20 to core22 went smoothly, I merged the pull request for upgrading Firefox ESR snap’s base to core22 today, and future Firefox ESR snap builds for 115esr and later will be based on core22. This completes our work on upgrading the base snap for all Firefox snap variants (stable, beta, nightly, and now ESR soon as well) to core22.

Thanks to all for your feedback and help with testing these changes. :slight_smile:

3 Likes

It looks like I have an issue, started about the related times of the upgrade to core22. It’s a visual (CSS?) glitch, on all/most the sites about rounded corners (partly are not rounded and are changing on hovering):

image

snap info firefox
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
commands:

  • firefox
  • firefox.geckodriver
    snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
    tracking: latest/candidate
    refresh-date: 9 days ago, at 09:07 IDT
    channels:
    latest/stable: 119.0-2 2023-10-24 (3290) 251MB -
    latest/candidate: 119.0-2 2023-10-20 (3290) 251MB -
    latest/beta: 120.0b4-1 2023-10-30 (3328) 258MB -
    latest/edge: 121.0a1 2023-10-31 (3329) 288MB -
    esr/stable: 115.4.0esr-1 2023-10-24 (3280) 253MB -
    esr/candidate: 115.4.0esr-1 2023-10-17 (3280) 253MB -
    esr/beta: ↑
    esr/edge: ↑
    installed: 119.0-2 (3290) 251MB -

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-88-generic (64-bit)
Graphics Platform: X11
Processors: 4 × AMD A8-6500T APU with Radeon™ HD Graphics
Memory: 7.0 GiB of RAM
Graphics Processor: AMD ARUBA
Manufacturer: Gigabyte Technology Co., Ltd.

Hi @bdcomp, sorry for my slow reply, I missed your message earlier. Are you still experiencing the issue? I’m a bit skeptical that it would be related to the change from core20 to core22, but I may be wrong.

If the issue still remains, would you please open a bug report directly to Mozilla, at https://bugzilla.mozilla.org? Thanks in advance.