Title: Updating install locations happens too frequently · Issue #1237 · processing/processing4 · GitHub
Open Graph Title: Updating install locations happens too frequently · Issue #1237 · processing/processing4
X Title: Updating install locations happens too frequently · Issue #1237 · processing/processing4
Description: I was thinking about how we could roll the functionality of the https://github.com/processing/processing-vscode-extension/tree/main/install-locator into the PDE and then I realised that the function below is somewhat brittle. If for any ...
Open Graph Description: I was thinking about how we could roll the functionality of the https://github.com/processing/processing-vscode-extension/tree/main/install-locator into the PDE and then I realised that the functio...
X Description: I was thinking about how we could roll the functionality of the https://github.com/processing/processing-vscode-extension/tree/main/install-locator into the PDE and then I realised that the functio...
Opengraph URL: https://github.com/processing/processing4/issues/1237
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Updating install locations happens too frequently","articleBody":"I was thinking about how we could roll the functionality of the https://github.com/processing/processing-vscode-extension/tree/main/install-locator into the PDE and then I realised that the function below is somewhat brittle. If for any reason a change happens in the future that allows this version check to be skipped, this process will turn into an infinite loop / fork bomb. \n\nhttps://github.com/processing/processing4/blob/275d789c6480f97d0aa66ed53f6a747843ec298f/app/src/processing/app/Processing.kt#L47-L55\n\nWhen launching Processing the `updateInstallLocation` function deserialises the preference string of all installed Processing versions and then per version check if that version is still installed at that location by called its CLI with `--version`. The if statement is the only thing preventing `updateInstallLocation` in the child process. All in all I would like to come up with a setup that makes sure that we call the child processes a little less.\n\nhttps://github.com/processing/processing4/blob/275d789c6480f97d0aa66ed53f6a747843ec298f/app/src/processing/app/Processing.kt#L102-L129\n\nThis is not super high priority, just figured I'd flag it. ","author":{"url":"https://github.com/Stefterv","@type":"Person","name":"Stefterv"},"datePublished":"2025-09-11T04:43:03Z","url":"https://github.com/processing/processing4/issues/1237"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:36e3bc3c-74fe-a07e-7ed9-127fcf6e45ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B036:C01B6:279E8D:360F90:6B05FD40 |
| html-safe-nonce | 7a377eb49aa44c5e48f394c56cbdfe79e5d7a7aaa5bd5461cd89a2d0c28d4fa9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDM2OkMwMUI2OjI3OUU4RDozNjBGOTA6NkIwNUZENDAiLCJ2aXNpdG9yX2lkIjoiMjg1MjE2Nzg2NzU4MjI1MDMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f37a706f33f4c715b9821031385b881540ab83ef8836f06e4f7920c18fd32102 |
| hovercard-subject-tag | issue:3404744025 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1237/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44e57427ab9be52c69cbd47396b90128894b2ff4598c0b7597627904e79e7577/processing/processing4/issues/1237 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44e57427ab9be52c69cbd47396b90128894b2ff4598c0b7597627904e79e7577/processing/processing4/issues/1237 |
| og:image:alt | I was thinking about how we could roll the functionality of the https://github.com/processing/processing-vscode-extension/tree/main/install-locator into the PDE and then I realised that the functio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Stefterv |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width