Skip to content

DM-55824: Add remote-test URI scheme - #153

Merged
timj merged 4 commits into
mainfrom
tickets/DM-55824
Aug 15, 2026
Merged

timj merged 4 commits into
mainfrom
tickets/DM-55824

Conversation

@timj

@timj timj commented Aug 14, 2026

Copy link
Copy Markdown
Member

This is a URI that is really a local file but acts like a remote file.

Also some fixes to type annotations to appease ty and fix some pyright warnings.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.83721% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.46%. Comparing base (b52b75b) to head (0100b0d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
python/lsst/resources/file.py 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   83.31%   83.46%   +0.14%     
==========================================
  Files          36       38       +2     
  Lines        8025     8109      +84     
  Branches      972      975       +3     
==========================================
+ Hits         6686     6768      +82     
- Misses       1043     1044       +1     
- Partials      296      297       +1     

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

@timj
timj force-pushed the tickets/DM-55824 branch from 0376d93 to 3db5db1 Compare August 14, 2026 21:45

@dhirving dhirving left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, one nitpick on a docstring.

Comment thread python/lsst/resources/remote_test.py Outdated
timj added 3 commits August 14, 2026 20:34
The key problem is that naively creating remote-test URI from
an arbitrary path fails to do the correct URI escapes.
@timj
timj force-pushed the tickets/DM-55824 branch from 3db5db1 to 0100b0d Compare August 15, 2026 03:34
@timj
timj merged commit 80c1a44 into main Aug 15, 2026
25 checks passed
@timj
timj deleted the tickets/DM-55824 branch August 15, 2026 03:36
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.

2 participants