Skip to content

fix: fall back to the include dir when no taskfile is specified - #2998

Open
SillyZir wants to merge 1 commit into
go-task:mainfrom
SillyZir:auto-fix/2878
Open

fix: fall back to the include dir when no taskfile is specified#2998
SillyZir wants to merge 1 commit into
go-task:mainfrom
SillyZir:auto-fix/2878

Conversation

@SillyZir

@SillyZir SillyZir commented Aug 26, 2026

Copy link
Copy Markdown

Description

This change fixes task-file discovery when task files are included from the includes directory.

The reader now falls back to the appropriate include-directory path when resolving an included task file that is not found through the existing lookup path.

The change was verified with the repository test suite in the pipeline environment, and the resulting patch contains only the intended reader.go change. No unrelated files or test scaffolding are included in the final commit.

This PR addresses the behavior reported in #2878.

The code change in this PR was generated with the assistance of an engineering system I created, which I reviewed, understood, and validated.

Checklist

  • I have read and followed the Contribution Guide.
  • I have disclosed the use of any AI-generated content in this pull request per the AI Usage Policy.
  • I fully understand the changes and have hand-written the description (No AI) of this pull request.

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

Successfully merging this pull request may close these issues.

1 participant