You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "mattcasters (via GitHub)" <gi...@apache.org> on 2026/07/27 20:38:47 UTC
[PR] issue #7583 : validate system resources on lifecycle environment enable (hop)
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] issue #7583 : validate system resources on lifecycle environment enable (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva merged PR #7651:
URL: https://github.com/apache/hop/pull/7651
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org