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

@arturict arturict commented Jul 12, 2026

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

Addresses #2300 by supporting literal namespace names; wildcard-style entries remain literal pending maintainer guidance.

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

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