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

Use separate temp directories per user for IPython kernel config files #296

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

dmgav
Copy link
Contributor

@dmgav dmgav commented Feb 17, 2024

Description

The temporary IPython kernel config files were previously saved to /tmp/qserver/kernel_files directory. The name is now changed to /tmp/qserver_<username>/kernel_files to avoid issues with access permissions. A new kernel config file is created each time a console is started using qserver-console or qserver-qtconsole.

The changes are not expected to cause noticeable difference in the behavior of the queue server.

Fixed

The name of temporary directory used by qserver-console and qserver-qtconsole to store IPython kernel config file now contains user name (/tmp/qserver_<username>/kernel_files).

Added

Changed

Removed

How Has This Been Tested?

Manually tested. The code is also covered by multiple unit tests.

@dmgav dmgav merged commit ee92d21 into bluesky:main Feb 17, 2024
35 checks passed
@dmgav dmgav deleted the dedicated-temp-dir branch February 17, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant