Skip to content

fix(pull): continue when optional size query is unavailable - #195

Merged
djgormley merged 1 commit into
CHIMEFRB:mainfrom
djgormley:djg/fix-pull-size-fallback
Sep 29, 2026
Merged

djgormley merged 1 commit into
CHIMEFRB:mainfrom
djgormley:djg/fix-pull-size-fallback

Conversation

@djgormley

@djgormley djgormley commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Service, connection, and timeout failures in the optional size query are now treated as an unknown size, so datatrail pull can go ahead with the normal confirmation prompt or --force. Before this, if Luskan passed its health check but the size query after it failed, the pull aborted before downloading anything. Authentication, certificate, and invalid-request errors keep their existing handling.

Adds 25 regression cases covering query failures, confirmation and cancellation, forced downloads, and known-size behavior. The full non-CADC suite passes on Python 3.10 and 3.14 (288 tests on each), and all pre-commit hooks pass. The 9 credential-dependent CADC tests were excluded.

Fixes #98.

@djgormley
djgormley merged commit b36bbbf into CHIMEFRB:main Sep 29, 2026
9 checks passed
@djgormley
djgormley deleted the djg/fix-pull-size-fallback branch September 29, 2026 02:03
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.

[BUG] Pull - Failing to calculate size at CANFAR shouldn't stop users pulling data.

1 participant