Skip to content

Tree view shows "No Taskfile found in this workspace" after latest update #238

Description

@syuhnd

Environment:

  • VSCode running in WSL (Ubuntu)
  • Extension version: 1.0.0
  • Task CLI works correctly (task -l shows tasks)
  • Taskfile.yml exists at workspace root

Problem:
After updating to version 1.0.0,
Tree view shows "No Taskfile found in this workspace".

However:

  • List view works correctly
  • The Task CLI works normally
  • Rolling back to the previous extension version fixes the issue

The Taskfile contains many nested tasks using ":" namespace
(e.g. multiple levels like a:b:c:d).

This seems related to Tree rendering.

Activity

  1. pd93 commented on Feb 17, 2026

    @pd93
    Member

    @syuhnd It's going to be very hard for me to address this without a Taskfile to reproduce your issue with. I've tested the new version on a number of my projects and it works just fine.

    What does output of task --list --json --nested --no-status look like when you run it? This is what we use to create the tree view in the extension.

  2. syuhnd commented on Feb 18, 2026

    @syuhnd
    Author

    Thanks for your help!

    It turned out the issue was caused by an outdated Task CLI version.

    I was running:

    Task version: v3.39.2

    This version does not support the --nested flag, which the extension (v1.0.0) uses to generate the tree view.

    After upgrading Task CLI to v3.48.0, the Tree view started working correctly.

    So the issue was not related to the Taskfile itself, but to the CLI version mismatch.

    Thank you for pointing me in the right direction!

  3. pd93 commented on Feb 19, 2026

    @pd93
    Member

    @syuhnd yeah, we're supposed to have a bit of code that checks you have the minimum required version installed, but looks like that wasn't working. I have fixed this in a767fdb so you should see an error popup if you ever run into this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions