Custom notices on session card while a job is starting

Is it possible to have custom startup notices on the session card while a job is starting? We have a complicated job script that sometimes takes upwards of 10-15 minutes to finish intializing, and we’d like to be able to tell users what is actually happening in the background.

We’ve gotten a couple complaints that they think their job has stalled, when it actually is still loading. Is it possible to set updated notices at specific points in the script.sh.erb file?

You can provide an info.md.erb to the application and it’ll render in the card, though I’m not 100% sure if it shows in the Starting state.

If that doesn’t work, you can provide override the partial that is the card body with these directions:

Here’s the file that we ship. Not sure which one you’d want to replace but it’s likely here somewhere.

Ah, so we’d need to change it at the global level, not the app level?

The info.md.erb is for the application.

As to changing the partial for the card - yes this is global, but since it’s ERB (embedded ruby) you should be able toggle in some if/else block so it only applies to that one app.

1 Like