Skip to content

feat: add linked_object_type to TaskTemplate#16

Merged
pel19072 merged 4 commits intodevelopfrom
feat/task-template-linked-object-type
Feb 23, 2026
Merged

feat: add linked_object_type to TaskTemplate#16
pel19072 merged 4 commits intodevelopfrom
feat/task-template-linked-object-type

Conversation

@pel19072
Copy link
Copy Markdown
Owner

Summary

  • Adds linked_object_type column (nullable TaskLinkedObjectType enum) to the task_template table
  • Updates TaskTemplateBase, TaskTemplateCreate, and TaskTemplateUpdate Pydantic schemas to expose the new field
  • Bumps version 1.4.31.4.4

Why

Task Templates now support specifying an object type (CLIENT, ORDER, RECURRING_ORDER) so tasks created from that template are automatically pre-linked to that object type — without tying the template to a specific object instance.

Migration

a2f968506210 — adds linked_object_type column (nullable, reuses existing tasklinkedobjecttype enum).

🤖 Generated with Claude Code

pel19072 and others added 2 commits February 22, 2026 14:47
Both jobs now declare an `environment:` (development / production) and
read the same secret name `secrets.DB_URL`. GitHub resolves the correct
value based on the environment scope, avoiding _DEV/_PROD suffix
conventions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds optional linked_object_type (TaskLinkedObjectType enum) to the
task_template table and Pydantic schemas so templates can specify an
object type that tasks created from them inherit automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The GitHub Actions workflow sets DB_URL (a connection string) but
database.py was expecting individual POSTGRES_* vars. Now accepts
either format, maintaining backward compatibility with deployed services.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
models-utils exports telemetry utilities that import opentelemetry,
but the package was not listed in install_requires. This caused the
GitHub Actions migration workflow to fail with ModuleNotFoundError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pel19072 pel19072 merged commit 7985792 into develop Feb 23, 2026
2 checks passed
@pel19072 pel19072 deleted the feat/task-template-linked-object-type branch February 23, 2026 05:26
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