Skip to content

[Feature]: Expose jobName on running-jobs API response and add distinct job names for folder operations (#3455)#1801

Draft
markus-moser wants to merge 3 commits into2025.4from
feature/rehydrate-running-jobs-expose-job-name
Draft

[Feature]: Expose jobName on running-jobs API response and add distinct job names for folder operations (#3455)#1801
markus-moser wants to merge 3 commits into2025.4from
feature/rehydrate-running-jobs-expose-job-name

Conversation

@markus-moser
Copy link
Copy Markdown
Contributor

@markus-moser markus-moser commented Apr 30, 2026

Summary

  • Exposes jobName on the JobRun API response so the frontend can rehydrate running jobs after a page reload
  • Adds distinct job names for folder operations (PATCH_FOLDER_ELEMENTS, COLLECT_CSV/XLSX_FOLDER_EXPORT_ELEMENTS) so the frontend can distinguish them from their single-element counterparts
  • Adds migration to hide existing job runs of the new job types on upgrade

Related

Part of pimcore/studio-ui-bundle#3455
Related to pimcore/studio-ui-bundle#3468

Adds the job name to the running-jobs list endpoint so the frontend
can route each in-progress job to the correct rehydration handler on
page reload, fixing issue #3455.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 30, 2026

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

When the request body contains no filters object, CollectionFilterParameter
returns null from getFilters(). Use a default FilterParameter instance as
fallback so pagination and sort don't throw a null pointer exception.
…operations

- Split COLLECT_EXPORT_FOLDER_ELEMENTS into COLLECT_CSV_FOLDER_EXPORT_ELEMENTS and COLLECT_XLSX_FOLDER_EXPORT_ELEMENTS so CSV and XLSX folder exports get individual job names matching their create-job counterparts
- Add PATCH_FOLDER_ELEMENTS so folder batch-edit runs can be distinguished from single-element patch runs
- Update PatchSubscriber to publish the Mercure finished event for both PATCH_ELEMENTS and PATCH_FOLDER_ELEMENTS
- Update FolderCollectionSubscriber and ExportService to use the new format-specific job names
- Add migration Version20260505124233 to hide any existing job runs of the new job types
@markus-moser markus-moser changed the title [Feature]: Expose jobName on running-jobs API response (#3455) [Feature]: Expose jobName on running-jobs API response and add distinct job names for folder operations (#3455) May 5, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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