lightning icon indicating copy to clipboard operation
lightning copied to clipboard

App slow loading workflows + AI Assistant refresh & session issues

Open mercy-ship-it opened this issue 3 months ago • 4 comments

Describe the bug
The app loads workflows very slowly. The AI Assistant page goes blank and auto-refreshes when left inactive. Additionally, the AI Assistant session persists across jobs incorrectly and the close (X) button does not work.

Version number
Lightning version: v2.14.8-pre1 (1.5.43)

I have reproduced this locally on main:

  • [x] Yes
  • [ ] No

To Reproduce

  1. Log into the app.
  2. Open a workflow (e.g., MSF project).
    • Observe: slow loading.
  3. Leave the AI Assistant page inactive for some minutes.
    • Observe: page goes blank → auto-refreshes.
  4. Open AI Assistant in one job → ask a question → switch to another job.
    • Observe: assistant still shows question from the previous job.
  5. Try to close the AI Assistant using the X button.
    • Observe: button does not work.

Expected behavior

  • Workflows should load quickly.
  • AI Assistant should not go blank or refresh when inactive.
  • Each job should open with its own independent AI Assistant session.
  • The X button should reliably close the Assistant.

Screenshots

Additional context

  • Aisha noted performance improved when using VPN, suggesting possible network influence.
  • Issue observed multiple times on different machines.

mercy-ship-it avatar Oct 02 '25 21:10 mercy-ship-it

This feels like three issues?

josephjclark avatar Oct 03 '25 07:10 josephjclark

Is this only true on workflows with huge job expressions? On small projects the app right now is highly responsive. MSF, which has a lot of mapping data in job code, is running slowly though

josephjclark avatar Oct 03 '25 07:10 josephjclark

@mercy-ship-it please create seperate issues for this and respond to Joe's question? Thank you :)

theroinaochieng avatar Oct 04 '25 18:10 theroinaochieng

@josephjclark , This is affecting workflows with Huge job expressions. In this case, the behaviour was noted on the msf-lime-mosul project

@theroinaochieng Noted, Creating the ticket

mercy-ship-it avatar Oct 06 '25 04:10 mercy-ship-it