!JpEnWGPfuvHyztRhmT:matrix.org

cylc web GUI

16 Members
new Cylc GUI front-end1 Servers

Load older messages


SenderMessageTime
26 Oct 2023
@tpillinger:matrix.orgTim P *

I just cleaned my _Very Messy_™ ~/cylc-run dir and found that the gui waits a long time in this state:

Might we reasonably close it and replace it with a notification that something is happening which doesn't hog the GUI screen?

07:21:36
@tpillinger:matrix.orgTim P *

I just cleaned my __Very Messy__™ ~/cylc-run dir and found that the gui waits a long time in this state:

Might we reasonably close it and replace it with a notification that something is happening which doesn't hog the GUI screen?

07:21:48
@tpillinger:matrix.orgTim P *

I just cleaned my Very Messy~/cylc-run dir and found that the gui waits a long time in this state:

Might we reasonably close it and replace it with a notification that something is happening which doesn't hog the GUI screen?

07:22:01
@oliver-sanders2:matrix.orgoliver sandersYes, there is an issue for this, however, it is largely pending on being able to track command status which we cannot presently do.09:04:44
31 Oct 2023
@oliver-sanders2:matrix.orgoliver sanders(in relation to the GUI Gif question on Discourse) I've been wondering if we could use Cypress to auto-generate a UI walk through video. We could potentially even do this as part of the system tests (i.e. run Cypress on the GUI but with a real UIS and real workflows providing the data).09:47:42
1 Nov 2023
@revilo666:matrix.orgHilary OliverPersonally I have little idea how difficult that would be (to create and to maintain, as the UI evolves). It might be worth the effort for a walk through tutorial accessible in the UI itself, for new users. (Which I presume is what you mean?)04:19:33
@oliver-sanders2:matrix.orgoliver sandersContext: The cylc-ui tests rely on mocked data. They test the UI in of itself, but not its interactions with other components. We could do with a couple of simple end-to-end system tests to ensure the various bits fit together and act as canary tests to spot breakages before they're released. E.G. open the UI, start a workflow, trigger a task, stop a workflow, that sort of thing. One way to do this would be use Cypress and point it at a real UI server rather than the mocked offline data. If you get Cypress to record the video from these test sessions (jamming sleeps in to slow things down) you would get a pretty good walkthrough showing how to start/stop workflow, open logs, trigger tasks, etc. If we could jam in a few captions somehow that would make a pretty good introductory video, with the added bonus that it wouldn't get out of date and could be extended to cover new features as they're added as functional documentation. We now have a stub workflow for performing nightly system tests. At present, all it does is to check that the relevant components can be installed together (to sniff out any compatibility/metadata issues). This would be the logical home of end-to-end system tests if/when we get around to them: https://github.com/cylc/cylc-admin/blob/master/.github/workflows/system.yml10:04:17
@oliver-sanders2:matrix.orgoliver sanders * Context: The cylc-ui tests rely on mocked data. They test the UI in of itself, but not its interactions with other Cylc components. We could do with a couple of simple end-to-end system tests to ensure the various bits fit together and act as canary tests to spot breakages before they're released. E.G. open the UI, start a workflow, trigger a task, stop a workflow, that sort of thing. One way to do this would be use Cypress and point it at a real UI server rather than the mocked offline data. If you get Cypress to record the video from these test sessions (jamming sleeps in to slow things down) you would get a pretty good walkthrough showing how to start/stop workflow, open logs, trigger tasks, etc. If we could jam in a few captions somehow that would make a pretty good introductory video, with the added bonus that it wouldn't get out of date and could be extended to cover new features as they're added as functional documentation. We now have a stub workflow for performing nightly system tests. At present, all it does is to check that the relevant components can be installed together (to sniff out any compatibility/metadata issues). This would be the logical home of end-to-end system tests if/when we get around to them: https://github.com/cylc/cylc-admin/blob/master/.github/workflows/system.yml10:04:32
@oliver-sanders2:matrix.orgoliver sanders *

Context:

The cylc-ui tests rely on mocked data. They test the UI in of itself, but not its interactions with other Cylc components.

We could do with a couple of simple end-to-end system tests to ensure the various bits fit together and act as canary tests to spot breakages before they're released. E.G. open the UI, start a workflow, trigger a task, stop a workflow, that sort of thing. This will catch daft issues like, us accidentally removing a flag to cat-log that the UIS relied on. One way to do this would be use Cypress and point it at a real UI server rather than the mocked offline data.

If you get Cypress to record the video from these test sessions (jamming sleeps in to slow things down) you would get a pretty good walkthrough showing how to start/stop workflow, open logs, trigger tasks, etc. If we could jam in a few captions somehow that would make a pretty good introductory video, with the added bonus that it wouldn't get out of date and could be extended to cover new features as they're added as functional documentation.

We now have a stub workflow for performing nightly system tests. At present, all it does is to check that the relevant components can be installed together (to sniff out any compatibility/metadata issues). This would be the logical home of end-to-end system tests if/when we get around to them:

https://github.com/cylc/cylc-admin/blob/master/.github/workflows/system.yml

10:05:27
@oliver-sanders2:matrix.orgoliver sanders *

Context:

The cylc-ui tests rely on mocked data. They test the UI in of itself, but not its interactions with other Cylc components.

We could do with a couple of simple end-to-end system tests to ensure the various bits fit together and act as canary tests to spot breakages before they're released. E.G. open the UI, start a workflow, trigger a task, stop a workflow, that sort of thing. This will catch daft issues like, us accidentally removing a flag to cat-log that the UIS relied on (hasn't happened but very possible). One way to do this would be use Cypress and point it at a real UI server rather than the mocked offline data.

If you get Cypress to record the video from these test sessions (jamming sleeps in to slow things down) you would get a pretty good walkthrough showing how to start/stop workflow, open logs, trigger tasks, etc. If we could jam in a few captions somehow that would make a pretty good introductory video, with the added bonus that it wouldn't get out of date and could be extended to cover new features as they're added as functional documentation.

We now have a stub workflow for performing nightly system tests. At present, all it does is to check that the relevant components can be installed together (to sniff out any compatibility/metadata issues). This would be the logical home of end-to-end system tests if/when we get around to them:

https://github.com/cylc/cylc-admin/blob/master/.github/workflows/system.yml

10:05:48
@oliver-sanders2:matrix.orgoliver sanders *

Context:

The cylc-ui tests rely on mocked data. They test the UI in of itself, but not its interactions with other Cylc components.

We could do with a couple of simple end-to-end system tests to ensure the various bits fit together and act as canary tests to spot breakages before they're released. E.G. open the UI, start a workflow, trigger a task, stop a workflow, that sort of thing. This will catch daft issues like, us accidentally removing a flag to cat-log that the UIS relied on (hasn't happened but very possible), that sort of thing. One way to do this would be use Cypress and point it at a real UI server rather than the mocked offline data.

If you get Cypress to record the video from these test sessions (jamming sleeps in to slow things down) you would get a pretty good walkthrough showing how to start/stop workflow, open logs, trigger tasks, etc. If we could jam in a few captions somehow that would make a pretty good introductory video, with the added bonus that it wouldn't get out of date and could be extended to cover new features as they're added as functional documentation.

We now have a stub workflow for performing nightly system tests. At present, all it does is to check that the relevant components can be installed together (to sniff out any compatibility/metadata issues). This would be the logical home of end-to-end system tests if/when we get around to them:

https://github.com/cylc/cylc-admin/blob/master/.github/workflows/system.yml

10:05:55
14 Nov 2023
@metronnie:matrix.orgRonnie DuttaWe appear to have a memory leak in the UI on master15:55:12
@metronnie:matrix.orgRonnie Duttaimage.png
Download image.png
15:55:17
@oliver-sanders2:matrix.orgoliver sandersDang it!16:05:31
@oliver-sanders2:matrix.orgoliver sandersIt's accumulating listeners?16:05:57
@oliver-sanders2:matrix.orgoliver sandersAny (vague) idea when this started?16:06:42
@markdawson:matrix.orgMark DawsonDo we know when it was introduced?16:06:48
@metronnie:matrix.orgRonnie DuttaI'm just checking with the production build as I realise that was the development build. Then if it's still there I'll check at each version tag going back16:07:39
@metronnie:matrix.orgRonnie DuttaNevermind, looks like the memory leak is only in whatever hooks are injected into the code in the development build only. In the production build there does not seem to be a leak:16:32:22
@metronnie:matrix.orgRonnie Duttaimage.png
Download image.png
16:32:28
@revilo666:matrix.orgHilary Oliver 😮‍💨 19:48:03
17 Nov 2023
@oliver-sanders2:matrix.orgoliver sandersWe've had someone request Regex filters for task filtering which seems reasonable.10:27:58
8 Jan 2024
@oliver-sanders2:matrix.orgoliver sanders

Swapping <v-btn><v-icon :icon="x" /></v-btn> for <svg><line :d="x" /></svg> reduced component mount time ~50% for a real world example:

https://github.com/cylc/cylc-ui/pull/1619/files

Yikes!

Lessons learned:

  • Go easy on components when v-for's are involved.
  • Maybe don't reach for Vuetify by default, just because it's there doesn't mean we have to use it!
  • Nested components are a cost, e.g. <Task /> wraps <SVGTask /> for maintenance reasons. But it would be more efficient to duplicate the code or figure out some fancy import / file-sync approach.
17:06:34
@oliver-sanders2:matrix.orgoliver sanders *

Swapping <v-btn><v-icon :icon="x" /></v-btn> for <svg><line :d="x" /></svg> reduced component mount time ~50% for a real world example:

https://github.com/cylc/cylc-ui/pull/1619/files

Yikes!

Lessons learned:

  • Go easy on components in general (Vuetify or other) when v-for's are involved.
  • Maybe don't reach for Vuetify by default, just because it's there doesn't mean we have to use it!
  • Nested components are a cost, e.g. <Task /> wraps <SVGTask /> for maintenance reasons. But it would be more efficient to duplicate the code or figure out some fancy import / file-sync approach.
17:06:48
@oliver-sanders2:matrix.orgoliver sanders *

Swapping <v-btn><v-icon :icon="x" /></v-btn> for <svg><line :d="x" /></svg> reduced component mount time ~50% for a real world example:

https://github.com/cylc/cylc-ui/pull/1619/files

Yikes!

Lessons learned:

  • Go easy on components in general (Vuetify or other) when v-for's are involved.
  • Maybe don't reach for Vuetify by default, just because it's there doesn't mean we have to use it! There are lots of trivial things we can do for ourselves.
  • Nested components are a cost, e.g. <Task /> wraps <SVGTask /> for maintenance reasons. But it would be more efficient to duplicate the code or figure out some fancy import / file-sync approach.
17:07:29
9 Jan 2024
@revilo666:matrix.orgHilary OliverGood to know - add that info to developer notes somewhere?08:36:32
17 Jan 2024
@oliver-sanders2:matrix.orgoliver sandersTasks vanishing from the Table view for unknown reasons :( https://github.com/cylc/cylc-ui/issues/163413:53:13
18 Jan 2024
@revilo666:matrix.orgHilary OliverI think I've seen this too, was unsure but meant to come back to it.23:16:35
19 Jan 2024
@tpillinger:matrix.orgTim PDoes that imply that something has got stuck in a loop?08:21:24
@metronnie:matrix.orgRonnie Dutta

Nevermind, looks like the memory leak is only in whatever hooks are injected into the code in the development build only. In the production build there does not seem to be a leak

10:28:16

Show newer messages


Back to Room ListRoom Version: 1