Skip to content

Deprecate per-task actions#53

Merged
snopoke merged 2 commits into
mainfrom
deprecate-actions
Jul 9, 2026
Merged

Deprecate per-task actions#53
snopoke merged 2 commits into
mainfrom
deprecate-actions

Conversation

@snopoke

@snopoke snopoke commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Client-side counterpart to the server deprecation in taskbadger/taskbadger#404, which retires per-job action config in favour of project-level actions. The write paths still work; this just surfaces the deprecation to SDK users ahead of removal.

Passing actions= to create_task/update_task (and therefore Task.create/Task.update/Task.add_actions) now emits a DeprecationWarning. The warning fires from the two sdk.py write functions so every caller is covered exactly once — no duplicate warnings from the wrapper methods. CLI --action help text and docstrings are flagged too.

No behavior change: reads, the Action class, and the requests sent to the API are untouched.

snopoke and others added 2 commits July 9, 2026 14:31
Mirrors server-side deprecation (taskbadger/taskbadger#404). Emits a
DeprecationWarning on the write paths; reads and the API are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@snopoke snopoke marked this pull request as ready for review July 9, 2026 13:14
@snopoke snopoke merged commit fe496bd into main Jul 9, 2026
6 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.

1 participant