Skip to content

feat(FOUR-34493): enrich deploy sync with categories, descriptions, a… - #9191

Merged
pmPaulis merged 3 commits into
feature/FOUR-34328from
FOUR-34493
Nov 23, 2026
Merged

pmPaulis merged 3 commits into
feature/FOUR-34328from
FOUR-34493

Conversation

@gproly

@gproly gproly commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

…nd PHP executor

Add DeployCategoryResolver and wire process, script, and screen deploy endpoints to accept category names and non-empty descriptions. Prefer the standard PHP executor over php-nayra when creating scripts via deploy.

https://processmaker.atlassian.net/browse/FOUR-34493

…nd PHP executor

Add DeployCategoryResolver and wire process, script, and screen deploy
endpoints to accept category names and non-empty descriptions. Prefer the
standard PHP executor over php-nayra when creating scripts via deploy.

https://processmaker.atlassian.net/browse/FOUR-34493
@cursor

cursor Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Changes deploy upsert behavior for categories, descriptions, and script executor selection, which can affect newly synced assets in production.

Overview
Deploy sync for processes, scripts, and screens now accepts category names and applies stronger description handling on create/update.

A new DeployCategoryResolver maps optional category names to active process, screen, or script categories, defaulting empty names to Uncategorized before returning null if no match exists. Process and script deploy APIs accept process_category_name / script_category_name; screen deploy reads category from YAML (category or screen_category_name). Descriptions fall back to sensible defaults when the payload is empty (e.g. script/process naming).

New ScriptExecutorResolver is used when creating scripts via deploy so the standard php executor is chosen when available, instead of defaulting to php-nayra.

Reviewed by Cursor Bugbot for commit f3e4351. Bugbot is set up for automated code reviews on this repo. Configure here.

@pmPaulis
pmPaulis merged commit 03d8242 into feature/FOUR-34328 Nov 23, 2026
6 checks passed
@decisions-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

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.

3 participants