David Sutherland

Results 188 comments of David Sutherland

> Only displaying the runahead icon for n=0 tasks is not a solution to highlighting the n=0 window (as it only serves as an indicator in niche circumstances) so this...

I'm not entirely sure why it's happening, and if I can't reproduce it, it's hard to pinpoint... The `self.all_task_pool` is created by the task pool: https://github.com/cylc/cylc-flow/blob/caa0466ab5c8c8d0fd16214b656409d62b43d6f6/cylc/flow/task_pool.py#L235-L250 So can only happen...

It cannot happen due to reload .. because all the data-store attributes are reset (including `all_task_pool`): ``` # Reset attributes/data-store on reload: if reloaded: self.__init__(self.schd, self.n_edge_distance) ```

**Reposting form Element:** We have `a[^] => b` for relying on ICP tasks.. Perhaps we could also have `[]`) to depend on the the previous (or next) instance of a...

> > partially addresses #333 > > I think it closes it? Well, this in conjunction with it's `cylc-flow`/`cylc-ui` siblings

> FYI: You accidentally [force-pushed](https://github.com/cylc/cylc-uiserver/compare/5ea2845516fb665f2ac098ec014425879612795d..ac0589ea899d89efb1bc31ec8523c1c2ad9f2370) over some suggestions so will need to re-apply them. No idea how that happened, must have push from an old version? .. fixed now

> This does seem to be a code error, I've worked around it like so: Applied the same workaround.. From looking at the code, this could happen when the execution...

> @dwsutherland, raised a PR with the requested changes above: [dwsutherland#5](https://github.com/dwsutherland/cylc-uiserver/pull/5) Thanks, merged

> I think the AuthorizationMiddleware needs to be updated to reflect changes in the info object. At present, it looks like the [if len(info.path) > 1: return next_(root, info, **args)](https://github.com/dwsutherland/cylc-uiserver/blob/cb90911d30c26620c2835b4380461d17ac629cbe/cylc/uiserver/authorise.py#L512-L513)...

Have pushed a fix: ![image](https://github.com/user-attachments/assets/131b5928-1bb3-451b-ac85-60ac6e81ca2e) ``` [I 2025-05-22 21:03:22.650 CylcUIServer] other-suther: not authorized to stop ``` Although, I haven't been about to setup permissions properly for my `other-user` .. so...