- Notifications
You must be signed in to change notification settings - Fork16
chore: use background hostname for admin tasks#446
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Looking good!
Should we use the background host name for this one too?
.command("ssh","-t", workspace.hostname,"cd '${workspace.idePathOnHost}' ; cd bin ;$command") |
It is responsible for running the setup command (users use it to preinstall plugins, mainly) before connecting to the IDE.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
1bed23e
to632e12a
Compareb8e0e29
tocf673a1
Comparegithub-actionsbot commentedJun 25, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Qodana Community for JVM3 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get -name:'Qodana Scan'uses:JetBrains/qodana-action@v2023.3.2with:upload-result:true Contact Qodana teamContact us atqodana-support@jetbrains.com
|
@code-asher thanks for catching these other cases! I've updated the PR with those changes as well as got the tests all passing. |
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.
Looks good to me!
Uh oh!
There was an error while loading.Please reload this page.
3e927ba
intomainUh oh!
There was an error while loading.Please reload this page.
This adds a new
getBackgroundHostName()
func that is intended to be used for all SSH connections that are not the main IDE connection. This prevents background admin actions using SSH to trigger usage tracking for the workspace.