Skip to content

Fix pod log collection with Fusion enabled#6449

Merged
pditommaso merged 2 commits intomasterfrom
fix_pod_log_fusion
Oct 6, 2025
Merged

Fix pod log collection with Fusion enabled#6449
pditommaso merged 2 commits intomasterfrom
fix_pod_log_fusion

Conversation

@jorgee
Copy link
Contributor

@jorgee jorgee commented Oct 6, 2025

Closes #6448

Changes

  • Always save pod logs on error, even when Fusion is enabled
  • Handle FileAlreadyExistsException when log file already exists to avoid unnecessary warnings
  • This ensures pod logs are available for debugging regardless of whether Fusion is enabled

Context

Previously, pod log collection was skipped when Fusion was enabled. This change ensures logs are always collected for debugging purposes, while gracefully handling cases where the log file may already exist (e.g., when Fusion has already written it).

Signed-off-by: jorgee <jorge.ejarque@seqera.io>
@netlify
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 287b2b4
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68e427c85502600008b13d79

@pditommaso

This comment was marked as outdated.

Save pod logs on error even when Fusion is enabled, and handle
FileAlreadyExistsException when log file already exists to avoid
unnecessary warnings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso pditommaso changed the title Skip savePodLogOnError when fusion is enabled Fix pod log collection with Fusion enabled Oct 6, 2025
@pditommaso pditommaso marked this pull request as ready for review October 6, 2025 20:36
@pditommaso
Copy link
Member

Putting this on the fast track to include it in the patch release

@pditommaso pditommaso merged commit 8c78b31 into master Oct 6, 2025
10 checks passed
@pditommaso pditommaso deleted the fix_pod_log_fusion branch October 6, 2025 20:41
pditommaso added a commit that referenced this pull request Oct 6, 2025
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

K8sTaskHandler.savePodLogOnError warns a save log failure when fusion is enabled

3 participants