Skip to content

auto-completion not suggesting outputs for subtasks in WorkingDirectory #11079

@Pradumnasaraf

Description

@Pradumnasaraf

Describe the issue

The subtask IDs are not suggested in auto-completion when using outputs in io.kestra.plugin.core.flow.WorkingDirectory. Only the main task ID is visible. I have to explicitly type the subtask ID to see all the output properties (ref image 2) of that subtask.

So, it should show all 3 clone, delet_fileandfile_system`

Steps to Reproduce

Copy and paste the snippet below and try to auto-complete the conditions: in the assert task by clicking and pressing ctrl + space after outputs..

id: git_clone
namespace: sanitychecks

tasks:
  - id: file_system
    type: io.kestra.plugin.core.flow.WorkingDirectory
    tasks:
      - id: clone
        type: io.kestra.plugin.git.Clone
        url: https://github.com/dbt-labs/jaffle_shop
        branch: main   

      - id: delete_file # Delete one of the files from the cloned repo
        type: io.kestra.plugin.scripts.shell.Commands
        commands:
        - rm README.md

      - id: assert
        type: io.kestra.plugin.core.execution.Assert
        conditions: 
          - "{{ outputs.}}"

Screenshot for reference

Image Image

Environment

  • Kestra Version: 0.24.4

Metadata

Metadata

Assignees

Labels

area/backendNeeds backend code changesarea/frontendNeeds frontend code changesbugSomething isn't working

Type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions