Skip to content

fix: prefer main local task namespace - #133

Merged
D3f0 merged 1 commit into
mainfrom
fix/local-task-namespace-conflict
Aug 18, 2026
Merged

fix: prefer main local task namespace#133
D3f0 merged 1 commit into
mainfrom
fix/local-task-namespace-conflict

Conversation

@D3f0

@D3f0 D3f0 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • warn and skip local_tasks.py when the primary collection already owns the local task namespace
  • preserve the primary task or alias so task discovery completes
  • add regression coverage for the alias collision

Closes #132

Verification

  • uv run pytest — 726 passed, 18 skipped
  • uv run ruff check src/invoke_toolkit/collections.py tests/test_collection.py
  • uv run ty check tests/test_collection.py
  • reproduced intk -l in datascape: warning emitted and deploy-local (local) remains available

@D3f0
D3f0 merged commit 719e94f into main Aug 18, 2026
4 checks passed
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.

fix: prefer tasks.py when local task namespace conflicts

1 participant