Skip to content

FOUR-32464: [Octane] Static issues - #8963

Open
pmPaulis wants to merge 120 commits into
developfrom
feature/FOUR-32464
Open

FOUR-32464: [Octane] Static issues#8963
pmPaulis wants to merge 120 commits into
developfrom
feature/FOUR-32464

Conversation

@pmPaulis

@pmPaulis pmPaulis commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

[Octane] Static Issues Accumulating State

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

devmiguelangel and others added 30 commits September 10, 2025 15:21
FOUR-26188 implement service to read YAML config
FOUR-26192 Add job validation and new scheduling method `scheduleDateJob`
FOUR-26194 Implement a Schedulable Job to create the table in DB - Part 1
FOUR-31736 Implement Etag Cache for Tasks page
pmPaulis and others added 25 commits August 3, 2026 09:20
FOUR-32475 [Octane] CRITICAL Data Leaks Between Requests "AnonymousUs…
FOUR-32498 [Octane] MEDIUM — Accumulating State "addons"
Description:
Fix Octane state leak in ServerTimingMiddleware by reading min_package_time from config per request instead of a static property. Add tests for package timing threshold and config refresh between requests.

Related tickets:
https://processmaker.atlassian.net/browse/FOUR-32507
Description:
Replace static $output and $taskTypes with per-instance state to prevent data leaking between requests under Octane. Add getOutput() and update UnblockRequest and ProcessRequestController callers.

Related tickets:
https://processmaker.atlassian.net/browse/FOUR-32504
FOUR-32496 Octane CRITICAL - Data Leaks Between Requests $queryTime
FOUR-32505 Octane MEDIUM — Accumulating State SettingObserver
Description:
Reset request-scoped Manifest statics ($parents, $logger) in ResetRequestState after each Octane request. Keep $tableColumns as a schema cache.

Related tickets:
https://processmaker.atlassian.net/browse/FOUR-32502
FOUR-32507 [Octane] MEDIUM — Accumulating State "ServerTimingMiddleware"
FOUR-32504 [Octane] MEDIUM — Accumulating State "RetryProcessRequest"
FOUR-32502 [Octane] MEDIUM — Accumulating State "Manifest"
FOUR-32501: [Octane] MEDIUM - Accumulating State ProcessMakerServiceProvider
FOUR-32497: [Octane] MEDIUM — Accumulating State "pmFunctions"
@processmaker-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarQube

@pmPaulis
pmPaulis changed the base branch from feature/FOUR-30918 to develop August 13, 2026 00:01
@gitguardian

gitguardian Bot commented Aug 13, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
34069781 Triggered Generic Password 6072037 resources/views/auth/newLogin.blade.php View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@pmPaulis pmPaulis changed the title FOUR-32464: [Octane] CRITICAL Data Leaks Between Requests, MEDIUM — Accumulating State FOUR-32464: [Octane] Static issues Aug 13, 2026
@pmPaulis pmPaulis self-assigned this Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants