Skip to content

Conversation

@MJGaughran
Copy link
Contributor

This mostly catches accidental errors.

A more restrictive regex for the URLs could be used, but then the errors are difficult to understand. If the final URL isn't valid, it should raise an error during validation as it attempts to build the Apptainer images.

This likely needs further refinement, but it should catch most
accidental errors. The issue with using a more restrictive regex is that
it will not provide a clear description of any error.
Note that this does not ensure that the bash script will actually run
successfully. There may be additional errors e.g. by using an
unavailable function or tool.
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 44.44444% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.64%. Comparing base (690441e) to head (5133fdc).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/deploy_tools/validate.py 25.00% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
- Coverage   76.69%   75.64%   -1.06%     
==========================================
  Files          25       25              
  Lines         914      936      +22     
==========================================
+ Hits          701      708       +7     
- Misses        213      228      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MJGaughran MJGaughran requested a review from ptsOSL January 13, 2026 16:18
@MJGaughran MJGaughran merged commit 2f5d1b5 into main Jan 14, 2026
9 of 11 checks passed
@MJGaughran MJGaughran deleted the HLA-966-improve-validation branch January 14, 2026 16:29
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