Project

General

Profile

Actions

Bug #22027

closed

remove themes_for_rails dependency that is causing arvados-api-server package build/test to fail

Added by Peter Amstutz 11 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Story points:
-
Release:
Release relationship:
Auto

Description

build-packages-ubuntu2204: #368

build-packages-rocky8: #646

I believe this is the error:

13:33:55 Could not find themes_for_rails-0.5.1 in
13:33:55 https://github.com/arvados/themes_for_rails (at
13:33:55 /var/www/arvados-api/current/vendor/cache/themes_for_rails-ddf6e592b3b6@ddf6e59)
13:33:55  failed.

I don't know why this is happening all of a sudden, but a possible solution is to remove "themes_for_rails" entirely.

This gem was used a long time ago on workbench 1 to override a few generic pages with branded pages, but I don't know what it was used for in the API server. It seems like a source of risk.


Subtasks 1 (0 open1 closed)

Task #22038: Review 22027-remove-themes-for-railsResolvedPeter Amstutz08/15/2024Actions

Related issues

Related to Arvados - Idea #1776: User receives automatic email notification when account gets activatedResolvedRadhika Chippada04/08/2014Actions
Actions #1

Updated by Peter Amstutz 11 days ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz 10 days ago

  • Assigned To set to Lucas Di Pentima
Actions #3

Updated by Brett Smith 10 days ago

  • Related to Idea #1776: User receives automatic email notification when account gets activated added
Actions #4

Updated by Brett Smith 10 days ago

This dependency was added as part of #1776, apparently to make it easier to customize email notifications. See also 9c40a72521dbfb4244d48069e4754a342f800492.

Actions #5

Updated by Brett Smith 10 days ago

The reason this started happening recently is because the merge of #21814 triggered a new package build. Before that, the package build+test has been reusing the packages built since the July 3 merge of #21931. It's possible something changed in the gem world between July 3 and August 13 that causes this situation where the package build "succeeds" but the newly-generated package is uninstallable.

Actions #6

Updated by Brett Smith 10 days ago

There used to be theme configuration in API server. This was removed in 47abf19591c9816f88f83db9fd2cbe93e2262e79 - search the diff for "theme." The fact that we removed this hook five years ago and nobody noticed suggests to me that yeah, support isn't a priority. I would be curious whether or not we're still using it on Curii-managed clusters to customize outgoing emails though.

Actions #7

Updated by Peter Amstutz 10 days ago

Good investigation!

It's been possible to customize the welcome email in the config file since https://dev.arvados.org/issues/16874, the other emails that are sent are just admin notifications that don't really need customization.

So I think we can safely get rid of themes_for_rails with no loss of functionality.

Actions #8

Updated by Peter Amstutz 10 days ago

  • Assigned To changed from Lucas Di Pentima to Peter Amstutz
Actions #9

Updated by Peter Amstutz 10 days ago

  • Subject changed from arvados-api-server package build/test failing to remove themes_for_rails dependency that is causing arvados-api-server package build/test to fail
Actions #11

Updated by Peter Amstutz 10 days ago

  • Status changed from New to In Progress
Actions #12

Updated by Brett Smith 9 days ago

Peter Amstutz wrote in #note-10:

22027-remove-themes-for-rails @ 7e347678e1839769c1f63d544f5a129724313d4c

LGTM. I checked the config for all Curii-managed clusters to see if we were using it there. (Just because we removed it from the default config doesn't mean it wasn't still supported.) But there's no sign of that so yeah, I think we're good. Thanks.

Actions #13

Updated by Peter Amstutz 9 days ago

  • Status changed from In Progress to Resolved
Actions #14

Updated by Peter Amstutz 4 days ago

  • Release set to 70
Actions

Also available in: Atom PDF