Skip to content
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

Create rule "External worker process" #10

Closed
4 tasks done
agoncal opened this issue May 19, 2023 · 2 comments
Closed
4 tasks done

Create rule "External worker process" #10

agoncal opened this issue May 19, 2023 · 2 comments
Labels
Milestone

Comments

@agoncal
Copy link
Member

agoncal commented May 19, 2023

While it is possible to launch new worker processes in either Azure App Service or Azure Kubernetes Service environments, it is an anti-pattern to do so. Both expect to have a single process running and launching others can make it difficult to manage and debug the applications. Expecting another process or service to already be running in parallel with the service will not work in Azure App Service and is an anti-pattern in Kubernetes.

Such metadata in .NET apps can be detected by identifying usage of the System.Diagnostics.Process class.

PRs

  1. Ready to Review
  2. rule
    KaiqianYang
  3. rule
    showpune
@agoncal agoncal added the rule label May 23, 2023
@brunoborges brunoborges added this to the MVP milestone May 23, 2023
@showpune
Copy link
Collaborator

Customer use
···java
Process p = Runtime.getRuntime().exec(exec);
···java
to execute some worker process

@agoncal
Copy link
Member Author

agoncal commented Jun 30, 2023

I reopened it because I realized that there is a pending PR on the WindUp side: windup/windup-rulesets#995

@agoncal agoncal closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants