Session card disappears after session ends

Hi,

I am working on an interactive app that is currently in the development stage. Today I changed the name of the app, both in manifest.yml and the name of the directory in ~/ondemand/dev. After doing that, when I delete the session card, it disappears.

So, to be more concrete, while the session is running, I see its card:

After I click Delete and confirm, this is the top card I see - you’ll notice it is an older card, with a different app name (it’s actually the previous name of my current app before I renamed it, (I think)).

So the card I was just looking at has disappeared.

I am assuming this has something to do with changing the name/directory of the app I was working on, because I was seeing the cards before after the session had ended. I tried the “Restart Web Server” menu option but that did not fix the problem.

This is in OOD 4.0.1.

Thanks

Hi Dan!
Just a quick check, did you name your app in the form.yml?¿
Applications allow you to get your name from here, for example:

---
title: "My New App"
cluster: "my_cluster"
.
.
.

Best regards!

Thanks for chiming in @Christian-bustelo!

@dtenenba I believe what you describe is expected behavior. The old card you have still there is from a job that completed itself (i.e., you didn’t delete it, it just ran until completion. It ran until it exited naturally).

Pressing the ‘Delete’ button will stop the job and remove the card. If you want the behavior you’re looking for you need to enable it so that the button is ‘Cancel’. This will cancel the job, but always keep the card. Note that this is a system wide setting, so it’ll change the behavior for your customers too.

Ah @jeff.ohrstrom , that makes sense.

I think the earlier cards I saw terminated due to an error in the app I was developing, rather than my hitting the delete button, or the app terminating on its own.

Thanks for the explanation.