Skip to content

feat: support excluding task namespaces#2913

Open
arturict wants to merge 2 commits into
go-task:mainfrom
arturict:agent/exclude-task-namespaces
Open

feat: support excluding task namespaces#2913
arturict wants to merge 2 commits into
go-task:mainfrom
arturict:agent/exclude-task-namespaces

Conversation

@arturict

Copy link
Copy Markdown

Summary

  • treat an excluded task name as a namespace for tasks below it
  • preserve exact task exclusions and avoid matching similarly prefixed names
  • document namespace exclusions in the guide and schema reference

Closes #2300.

Validation

  • go test ./... -run TestIncludesWithExclude -count=1
  • git diff --check

I also ran go test ./.... The affected tests pass, while unrelated tests that
require Unix commands or symlink behavior fail on my Windows environment.

AI usage

I used an AI coding assistant to help inspect the repository, implement the
change, and run the checks. I reviewed the diff and verified the exact-task,
namespace-task, and similarly-prefixed-task cases locally.

  • I have read and followed the Contribution Guide

@arturict arturict marked this pull request as ready for review July 12, 2026 16:23
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.

Support for excluding entire namespaces in addition to individual tasks

1 participant