Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gnome-extensions): Inform the user of connection issue to the website after initial successful connection #366

Open
noahdotpy opened this issue Nov 26, 2024 · 3 comments
Labels
priority: low Might be supported or done in the future, but won't be prioritised

Comments

@noahdotpy
Copy link
Contributor

noahdotpy commented Nov 26, 2024

I am using the gnome-extensions module to install many extensions that I find that are very useful for my workflow. First, I want to say thank you to the blue-build team for this amazing tool to create my custom images of Fedora (and maybe soon VanillaOS or even Alma Linux).

As stated in the title, the gnome-extensions module is failing without any useful log output.

The perma-link to my gnome-extensions module usage is here.

The below is the logs as seen in the github workflow logs.

[12:37:27 g.i/n/silvara-hypr:current-daily-git] => #50 0.085 ======================= Start 'gnome-extensions' Module =======================
[12:37:27 g.i/n/silvara-hypr:current-daily-git] => #50 0.097 Testing connection with https://extensions.gnome.org/...
[12:37:27 g.i/n/silvara-hypr:current-daily-git] => #50 0.512 Connection successful, proceeding.
[12:37:28 g.i/n/silvara-hypr:current-daily-git] => #50 0.567 Gnome version: 47
[12:37:28 g.i/n/silvara-hypr:current-daily-git] => #50 1.202 Installing 'AATWS (Advanced Alt-Tab Window Switcher)' Gnome extension with version 59
[12:37:28 g.i/n/silvara-hypr:current-daily-git] => #50 1.202 Downloading ZIP archive https://extensions.gnome.org/extension-data/advanced-alt-tabG-dH.github.com.v59.shell-extension.zip
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.741 Downloaded ZIP archive https://extensions.gnome.org/extension-data/advanced-alt-tabG-dH.github.com.v59.shell-extension.zip
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.741 Extracting ZIP archive
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.747 Removing archive
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.748 Installing main extension files
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.764 Installing schema extension file
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.767 Cleaning up the temporary directory
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.769 Extension 'AATWS (Advanced Alt-Tab Window Switcher)' is successfully installed
[12:37:29 g.i/n/silvara-hypr:current-daily-git] => #50 1.769 ----------------------------------INSTALLATION DONE----------------------------------
[12:37:31 g.i/n/silvara-hypr:current-daily-git] => #50 3.715 Installing 'Alphabetical App Grid' Gnome extension with version 41
[12:37:31 g.i/n/silvara-hypr:current-daily-git] => #50 3.715 Downloading ZIP archive https://extensions.gnome.org/extension-data/AlphabeticalAppGridstuarthayhurst.v41.shell-extension.zip
[12:37:35 g.i/n/silvara-hypr:current-daily-git] => #50 7.645 ======================= Failed 'gnome-extensions' Module =======================
@noahdotpy
Copy link
Contributor Author

I just checked again at my build statuses and it turns out there is one image build (with the same GNOME extensions installed) that successfully passed through.

@noahdotpy
Copy link
Contributor Author

noahdotpy commented Nov 26, 2024

I have just checked extensions.gnome.org, and it looks like there is an error on their side.

image

gnome-extension module should still print something out for the logs to let the user know what the error is.

@fiftydinar
Copy link
Collaborator

fiftydinar commented Nov 26, 2024

I have just checked extensions.gnome.org, and it looks like there is an error on their side.

gnome-extension module should still print something out for the logs to let the user know what the error is.

We always test the connection with https://extensions.gnome.org/ 1st before downloading any extensions, as you can see in logs. But in your build, connection probably worked for a moment & then some moments later, website went down.

So you hit the 1 percentile edge-case. Good thing is that build fails in this case, so the unfinished module doesn't end in the image.

We will try to mitigate this even more without making it messy in code, but we already have some basic checks for this, so it's a low priority.

@fiftydinar fiftydinar changed the title gnome-extensions module failing without any useful logs fix(gnome-extensions): Very-rare cases of network failure despite initial successful connection to the website Nov 26, 2024
@fiftydinar fiftydinar added the priority: low Might be supported or done in the future, but won't be prioritised label Nov 26, 2024
@fiftydinar fiftydinar changed the title fix(gnome-extensions): Very-rare cases of network failure despite initial successful connection to the website fix(gnome-extensions): Inform the user of connection issue to the website after initial successful connection Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Might be supported or done in the future, but won't be prioritised
Projects
None yet
Development

No branches or pull requests

2 participants