kestra-io/kestra

[TBD] Bring back a search box to filter out task runs in the Outputs tab

Open

#5,448 创建于 2024年10月14日

在 GitHub 查看
 (21 评论) (0 反应) (0 负责人)Java (26,854 star) (2,579 fork)batch import
area/frontendgood first issue

描述

Feature description

In the old outputs tab design, we used to have a small search box allowing to filter for task runs with a specific ID, would it be useful to add it here? if not, let's close the issue, just wondering

image

flow to explore the same:

id: microservices_and_apis
namespace: tutorial
description: Microservices and APIs

inputs:
  - id: server_uri
    type: URI
    defaults: https://kestra.io

  - id: slack_webhook_uri
    type: URI
    defaults: https://reqres.in/api/slack

tasks:
  - id: http_status_check
    type: io.kestra.plugin.core.flow.AllowFailure
    tasks:
      - id: http_request
        type: io.kestra.plugin.core.http.Request
        uri: "{{ inputs.server_uri }}"

      - id: check_status
        type: io.kestra.plugin.core.flow.If
        condition: "{{ outputs.http_request.code != 200 }}"
        then:
          - id: unhealthy
            type: io.kestra.plugin.core.log.Log
            message: "Server is unhealthy! Response {{ outputs.http_request.body }}"
          - id: send_slack_alert
            type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
            url: "{{ inputs.slack_webhook_uri }}"
            payload: |
              {
                "channel": "#alerts",
                "text": "The server {{ inputs.server_uri }} is down!"
              }
        else:
          - id: healthy
            type: io.kestra.plugin.core.log.Log
            message: Everything is fine!
    errors:
      - id: server_unreachable
        type: io.kestra.plugin.notifications.slack.SlackIncomingWebhook
        url: "{{ inputs.slack_webhook_uri }}"
        payload: |
          {
            "channel": "#alerts",
            "text": "The server {{ inputs.server_uri }} is unreachable!"
          }

贡献者指南

[TBD] Bring back a search box to filter out task runs in the Outputs tab · kestra-io/kestra#5448 | Good First Issue