-
Notifications
You must be signed in to change notification settings - Fork 46
chore: bump openjd-sessions to 0.11.0 #1068
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
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 |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ dependencies = [ | |
| "boto3 >= 1.34.75", | ||
| "deadline-job-attachments == 0.1.3", | ||
| # Pinned to patch version due to Host Config Script runner usage of private OpenJD Sessions API. | ||
| "openjd-sessions == 0.10.14", | ||
| "openjd-sessions == 0.11.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Follow-on to the same 0.11.0 breaking change:
As of 0.11.0 the name is Worth updating this section in the same PR, and pointing operators at the session log as the way to attribute a retained directory. |
||
| "openjd-model >= 0.11.4, < 0.12", | ||
| # tomli became tomllib in standard library in Python 3.11 | ||
| "tomli == 2.0.* ; python_version<'3.11'", | ||
|
|
||
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.
openjd-sessions0.11.0 ships a documented breaking change: the session working directory name is no longer prefixed with the session id (_create_working_directorynow passesprefix=""toTempDir, so the name is justmkdtemp()'s 8 random chars).The existing e2e test
test/e2e/test_worker_config.py::test_session_root_dirasserts exactly that prefix and will fail against 0.11.0:if [[ "$cwd" != {session_root_dir}/session-* ]]if (-not ($cwd -like '{session_root_dir}\\session-*'))With 0.11.0 the cwd is
<session_root_dir>/<8 random chars>, so both branches take theFAILpath and the job exits 1.Suggest updating that test in this PR to assert only that the cwd is under
session_root_dir(drop thesession-prefix expectation), otherwise the e2e suite breaks on this bump.