Skip to content

Conversation

@tanmaykm
Copy link
Member

Updating tests to support v2 jobs and recent changes to logging and job managelemt.

@tanmaykm tanmaykm force-pushed the tan/v2jobs branch 3 times, most recently from ca1c0ac to d83365c Compare October 27, 2025 12:15
@tanmaykm
Copy link
Member Author

Appbundle tests are failing for Julia 1.6, possibly because the appbundles prepared in that version of julia is not compatible in the job environment running a very different version of julia. We should probably skip the appbundle tests for 1.6 then?

Nightly is running into some strange errors, looks like a messed up depot on runner?

cc: @mortenpi @krynju


function JobLogMessage(::_LegacyLogging, json::Dict, offset::Integer)
message = _get_json(json, "message", String)
message = _get_json_or(json, "message", String, "")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While https://github.com/JuliaComputing/JuliaHub/pull/20558 should ensure that message attribute exists for all log records streamed from aws cloudwatch backend (and kafka backend already does so), would like to retain this bit here to make sure the client still handles systems that do not have the patch.

Copy link
Member

@mortenpi mortenpi Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. But let's add a comment.

Suggested change
message = _get_json_or(json, "message", String, "")
# The .message property _should_ always be present in the log messages,
# but there are a few versions out there where it's sometimes omitted due
# to a backend bug. So we default to an empty string in those cases.
message = _get_json_or(json, "message", String, "")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That said, it's also now a behavior change, and should be PR-ed separately and have a CHANGELOG note..

@tanmaykm
Copy link
Member Author

The failure on Julia nightly is because of this: JuliaLang/julia#59956

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.

3 participants