Skip to content

Conversation

@jgainerdewar
Copy link
Collaborator

Fixes a bug introduced in #800, in which the logs icon linked to Batch cloud log in cases where the backend log metadata item existed, but the file didn't exist or couldn't be read.

// to show users backend logs.
hasExternalLogs(): boolean {
return this.getExternalLogsUrl() != '';
return this.getExternalLogsUrl() != '' && !this.backendLog;
Copy link
Contributor

@salonishah11 salonishah11 Jun 24, 2025

Choose a reason for hiding this comment

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

Is the expectation that the backendLog value will always be present when log policy is PATH, even if the file was actually never created or delocalized?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Correct, we always write the metadata (assuming we get to the point where that metadata for the task is written at all).

@lucymcnatt lucymcnatt self-requested a review June 24, 2025 14:36
@jgainerdewar jgainerdewar merged commit b9e73f9 into master Jun 26, 2025
5 checks passed
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.

4 participants