Skip to content

#1264 Fix image silently fails#1265

Merged
ChessProfessor merged 1 commit intodevfrom
chessprofessor/fix-image-silently-fails
Jul 21, 2025
Merged

#1264 Fix image silently fails#1265
ChessProfessor merged 1 commit intodevfrom
chessprofessor/fix-image-silently-fails

Conversation

@ChessProfessor
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where image processing silently fails by improving error handling in Slurm job submission scripts. The changes add proper exit code checking and enhance error messages to ensure failures are properly detected and reported.

Key changes:

  • Added exit code validation for sbatch command execution
  • Improved error handling in job array submission workflow
  • Enhanced error messages to distinguish between different failure scenarios

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
slurm_submit_array_job.sh Added exit code checking for sbatch command and improved error message specificity
slurm_check_job_entrypoint.sh Added exit code validation for job array submission script with proper error output display
Comments suppressed due to low confidence (1)

images/slurm_check_job/slurm_submit_array_job.sh:50

  • [nitpick] The error message 'Empty output from sbatch' could be more descriptive. Consider adding context about what this means for the user, such as 'sbatch command succeeded but returned no job ID'.
    echo "Empty output from sbatch"

@ChessProfessor ChessProfessor merged commit 5f60c69 into dev Jul 21, 2025
5 checks passed
@theyoprst theyoprst mentioned this pull request Jul 23, 2025
37 tasks
theyoprst pushed a commit that referenced this pull request Jul 23, 2025
(cherry picked from commit 5f60c69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants