mattcasters opened a new pull request, #7651: URL: https://github.com/apache/hop/pull/7651
## Summary Implements [apache/hop#7583](https://github.com/apache/hop/issues/7583): optional system resource requirements on lifecycle environments, checked whenever an environment is enabled (Hop Gui, hop-run, hop-server, and other enable paths). - New **System resources** tab on the lifecycle environment dialog (same extension-point pattern as the marketplace plugins tab) - Checks: JVM max heap (`Runtime.maxMemory()` / `-Xmx`), free disk space on local folders (`File.getUsableSpace()`), CPU cores (`availableProcessors()`) - Policy: **off / warn / enforce**, with purpose-based defaults (Production → enforce, Testing/Acceptance → warn, else off) - Disk path and min-free columns support Hop variables; min free uses `Const.toLongExpanded(variables.resolve(...))` - Settings stored in the environment `attributesMap` group `resources` (no new core fields) - User docs updated with screenshot ## Test plan - [x] `./mvnw -pl plugins/misc/projects test` (probe, checker, attributes, after-enable XP tests) - [ ] Reviewer: open environment dialog → **System resources** tab; set min memory/CPU/disk; save and re-open - [ ] Reviewer: set **enforce** with impossible CPU cores (e.g. 999999) → enable environment fails - [ ] Reviewer: set **warn** with same → enable continues with log/dialog - [ ] Reviewer: hop-run with `-e` and enforce thresholds -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
