Skip to content

Resolve "fix: prevent .setup_job_path from exiting early when no path is set"

Summary

  • Fix .setup_job_path template behavior to not exit prematurely when no path is set
  • Add support for home paths (~ and ~/subdir)
  • Improve script robustness with better error handling
  • Reorganize conditional structure for clearer flow

Related Issue(s)

Link the Issue(s) and ensure auto-closing on merge.

How to Test

Step-by-step instructions so reviewers can reproduce locally or in CI.

  1. Use template with empty job_path (should stay in current directory)
  2. Use with job_path: "." (should stay in current directory)
  3. Use with relative, absolute, and home paths
  4. Verify no premature exit in any case

Expected result:

Breaking Changes?

  • No
  • Yes — migration notes below

Migration notes (if any):

Edited by Danilo Orbyon

Merge request reports

Loading