kestra-io/kestra

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

Open

#5,448 opened on Oct 14, 2024

View on GitHub
 (21 comments) (0 reactions) (0 assignees)Java (2,579 forks)batch import
area/frontendgood first issue

Repository metrics

Stars
 (26,854 stars)
PR merge metrics
 (Avg merge 2d 11h) (533 merged PRs in 30d)

Description

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!"
          }

Contributor guide