Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

info view: add xtriggers #2103

Open
oliver-sanders opened this issue Mar 14, 2025 · 0 comments
Open

info view: add xtriggers #2103

oliver-sanders opened this issue Mar 14, 2025 · 0 comments
Assignees

Comments

@oliver-sanders
Copy link
Member

List xtriggers in the info view.

This should display similar information to cylc show.

Here's an example snippet of cylc show output for a task with a retry xtrigger:

other: ('⨯': not satisfied)
  ⨯ xtrigger "_cylc_retry_30000105T0000Z/retry = wall_clock(trigger_time=2025-03-14T17:18:57,249741Z)"

And another with a wallclock xtrigger:

other: ('⨯': not satisfied)
  ⨯ xtrigger "wall_clock = wall_clock(trigger_time=3000-01-01T00:00:00Z)"
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Mar 14, 2025
…d attrs

* Don't update xtriggers incrementally:
  * Xtriggers were being updated in the data store incrementally.
  * This doesn't work with GraphQL subscriptions
    (see cylc#6307).
  * This turns off incremental updates ensuring that all xtriggers are
    included in all updates.
  * Unblocks cylc/cylc-ui#2103
* Add is_retry, is_wallclock and is_xtriggered task attributes.
  * We would like to be able to incorporate xtriggers into the task
    icons used in the GUI and Tui.
  * These attributes allow clients to access the required information
    without having to subscribe to and monitor all xtriggers.
  * Unblocks cylc/cylc-ui#331
oliver-sanders added a commit to oliver-sanders/cylc-flow that referenced this issue Mar 20, 2025
…d attrs

* Don't update xtriggers incrementally:
  * Xtriggers were being updated in the data store incrementally.
  * This doesn't work with GraphQL subscriptions
    (see cylc#6307).
  * This turns off incremental updates ensuring that all xtriggers are
    included in all updates.
  * Unblocks cylc/cylc-ui#2103
* Add is_retry, is_wallclock and is_xtriggered task attributes.
  * We would like to be able to incorporate xtriggers into the task
    icons used in the GUI and Tui.
  * These attributes allow clients to access the required information
    without having to subscribe to and monitor all xtriggers.
  * Unblocks cylc/cylc-ui#331
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants