feat: Add entity type verification to status automation processing and…#1041
Open
mxatmx wants to merge 2 commits intocgwire:mainfrom
Open
feat: Add entity type verification to status automation processing and…#1041mxatmx wants to merge 2 commits intocgwire:mainfrom
mxatmx wants to merge 2 commits intocgwire:mainfrom
Conversation
…d corresponding tests for sequence, episode, and mismatch scenarios.
…ntify asset types and update test object reloading methods.
Contributor
|
I have a few remarks following an AI analysis:
Snippet for the normalization: entity = entities_service.get_entity(task["entity_id"])
entity_type = entities_service.get_entity_type(entity["entity_type_id"])
wanted = (automation.get("entity_type") or "").lower()
if wanted == "asset":
if not assets_service.is_asset_type(entity_type):
return
elif entity_type["name"].lower() != wanted:
return |
frankrousseau
added a commit
to cgwire/gazu
that referenced
this pull request
Apr 15, 2026
Mirror the new project template API exposed by zou (cgwire/zou#1041) in gazu, so pipeline scripts can manage templates and apply them at project creation time. New gazu.project_template module covering CRUD, snapshot from project, apply to project, link management for task types / task statuses / asset types / status automations, and the metadata-descriptor JSONB snapshot endpoint. gazu.project.new_project gains an optional project_template= parameter that forwards project_template_id; explicit fields the caller passes still win over the template's defaults (precedence is enforced server-side by zou). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
frankrousseau
added a commit
to cgwire/gazu
that referenced
this pull request
Apr 16, 2026
Mirror the new project template API exposed by zou (cgwire/zou#1041) in gazu, so pipeline scripts can manage templates and apply them at project creation time. New gazu.project_template module covering CRUD, snapshot from project, apply to project, link management for task types / task statuses / asset types / status automations, and the metadata-descriptor JSONB snapshot endpoint. gazu.project.new_project gains an optional project_template= parameter that forwards project_template_id; explicit fields the caller passes still win over the template's defaults (precedence is enforced server-side by zou). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…corresponding tests for sequence, episode, and mismatch scenarios.
I PRed a sister commit to the Kitsu repo.