-
Notifications
You must be signed in to change notification settings - Fork 23
Fix headless stdout flooding #645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ bin/iBioSim.jar | |
| .settings/ | ||
| **/.project | ||
| /.metadata/ | ||
| .sdkmanrc | ||
|
|
||
| # intellij artefacts | ||
| out | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,7 +24,7 @@ | |||||||||||||||||||||||||
| <repository> | ||||||||||||||||||||||||||
| <id>osgeo</id> | ||||||||||||||||||||||||||
| <name>osgeo</name> | ||||||||||||||||||||||||||
| <url>http://download.osgeo.org/webdav/geotools/</url> | ||||||||||||||||||||||||||
| <url>https://download.osgeo.org/webdav/geotools/</url> | ||||||||||||||||||||||||||
| </repository> | ||||||||||||||||||||||||||
| <repository> | ||||||||||||||||||||||||||
| <id>alfresco</id> | ||||||||||||||||||||||||||
|
|
@@ -82,6 +82,27 @@ | |||||||||||||||||||||||||
| <version>1.7-SNAPSHOT</version> | ||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||
| <groupId>org.apache.httpcomponents</groupId> | ||||||||||||||||||||||||||
| <artifactId>httpclient</artifactId> | ||||||||||||||||||||||||||
| <version>4.5.3</version> | ||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||
| <groupId>org.apache.httpcomponents</groupId> | ||||||||||||||||||||||||||
| <artifactId>httpcore</artifactId> | ||||||||||||||||||||||||||
| <version>4.4.6</version> | ||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||
|
Comment on lines
+91
to
+95
|
||||||||||||||||||||||||||
| <groupId>org.apache.httpcomponents</groupId> | |
| <artifactId>httpcore</artifactId> | |
| <version>4.4.6</version> | |
| </dependency> | |
| <dependency> |
Copilot
AI
Mar 27, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newly added dependency versions (gson 2.7 and guava 18.0) are quite old and are commonly flagged by vulnerability scanners / have many fixes in newer releases. If there isn't a compatibility constraint forcing these versions, consider upgrading to more recent releases (or centralizing the versions in the parent POM) to reduce security and maintenance risk.
| <version>2.7</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>18.0</version> | |
| <version>2.10.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>32.1.3-jre</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the non-GUI path (parent == null), progress lines are now suppressed, but in the GUI path you still call parent.send(REQUEST_PROGRESS, ...) for every line read, even when the line wasn't parsed as a progress update (prog remains stale). This can create unnecessary IPC traffic and repeated identical progress events. Consider sending REQUEST_PROGRESS only when a progress update was successfully parsed (e.g., gate the send on isProgress).