How to hold interactive terminal when pipeline fails?

I’ve read the documentation about Interactive Web Terminals which states that if “… you have the terminal open and the job has finished with its tasks, the terminal blocks the job from finishing for the duration configured in [session_server].session_timeout until you close the terminal window.

The problem is that I have a failing pipeline and I can’t debug it because once the job has reached failure, it closes the session.

Am I missing something?

It depends on how the executor is implemented.

Are you self hosting your runner or using the SaaS ones?

Self hosting

EDIT: Meanwhile, I cheated by making the scripts sleep 1h before the failing command but I’m still looking for a persistent and proper method :slight_smile: