Repository navigation
Conversation
Introduce PUT /api/1.1/tasks/{id} for COMPLETED status, gated by
TASK_UPDATE_V1_1_ENABLED, with optional raw token persistence behind
TOKEN_PERSISTENCE_RAW_ENABLED.
https://processmaker.atlassian.net/browse/FOUR-32800
Batch-load listing relations after pagination to avoid per-row queries for process version alternative, active tasks, process categories, and project assets while preserving the existing API response shape. - Add ProcessRequestListingRawRepository to hydrate activeTasks (raw SQL) and process data (Eloquent + batched projects/categories) - Use withAggregate for process_version_alternative and read it without lazy-loading ProcessVersion - Add activeTasks relation and use preloaded data in ProcessRequests - Preload projects JSON and reuse loaded categories in Process accessors - Apply hydration in index and getRequestsByCase - Add bounded query-count feature test https://processmaker.atlassian.net/browse/FOUR-32947
feat(FOUR-32801): improve Jobs execution when the PUT tasks endpoint is executed
feat(FOUR-32800): add v1.1 task completion endpoint with raw SQL path
FOUR-32800: test compares legacy and optimized
…ng and optimizing pagination
…nd response structure validation
…mps are null Prevent task completion failures when recording the Prometheus activity_execution_time_seconds histogram in BpmnSubscriber. Fall back to created_at and completed_at when created_at_ms or completed_at_ms are unavailable, and skip the metric observation when either timestamp is still missing. https://processmaker.atlassian.net/browse/FOUR-33645
FOUR-32144: Improve the api PUT /api/1.0/tasks/{task-id}
FOUR-32946 Improve the API /api/1.0/processes
perf(FOUR-32947): reduce N+1 queries on requests listing (FOUR-32947)
PR SummaryHigh Risk Overview Process list ( Process request listings avoid N+1 includes via Task completion adds Smaller changes: Reviewed by Cursor Bugbot for commit a7216fd. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
|
||
| $this->runUpdate('process_request_tokens', $tokenId, $payload); | ||
| $token->syncChanges(); | ||
| } |
There was a problem hiding this comment.
Raw persistence skips model observers
High Severity
When token_persistence_raw_enabled is on, token and request updates go through raw UPDATEs and never call Eloquent save(). That skips ProcessRequestObserver and ProcessRequestTokenObserver, so case titles are not recalculated on data changes, scheduled timers are not deleted when a token closes, and saveVersion() / completed_at_ms never run.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit c1e2d66. Configure here.
|
QA server K8S was successfully deployed https://tenant-1.ci-63382c5fab.engk8s.processmaker.net |
fix(FOUR-33645): guard activity execution time metric when ms timesta…
FOUR-32126: Inbox >> First loading is to slow
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a7216fd. Configure here.
| <link rel="prefetch" href="{{ mix('js/bootstrap-vendor.js') }}" as="script"> | ||
| <link rel="prefetch" href="{{ mix('js/fortawesome-vendor.js') }}" as="script"> | ||
| <link rel="prefetch" href="{{ mix('js/app.js') }}" as="script"> | ||
| <link rel="prefetch" href="{{ mix('js/app-layout.js') }}" as="script"> |
There was a problem hiding this comment.
Login Mix prefetch misses inbox
Medium Severity
The Vite login view now calls mix() for six webpack bundles. Inbox already boots from layoutnextvite and @vite (loaderTasks.js / tasks.js), so those Mix files are unused after login. mix() also throws when mix-manifest.json is missing, so /login can 500 even when Vite assets are built.
Triggered by learned rule: Full Mix-to-Vite route cutover
Reviewed by Cursor Bugbot for commit a7216fd. Configure here.
|
QA server K8S was successfully deployed https://tenant-1.ci-63382c5fab.engk8s.processmaker.net |







Phase 3: Platform Performance Tentpole Project
Improve the following
Related Tickets & Packages
Code Review Checklist
ci:deploy