Skip to content

FIREFLY-2070: Ensure only single local result file are used. - #1988

Merged
loitly merged 1 commit into
rc-2026.2from
FIREFLY-2070-uws-result-url
Jul 29, 2026
Merged

FIREFLY-2070: Ensure only single local result file are used.#1988
loitly merged 1 commit into
rc-2026.2from
FIREFLY-2070-uws-result-url

Conversation

@loitly

@loitly loitly commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Ticket: https://jira.ipac.caltech.edu/browse/FIREFLY-2070

The Rubin TAP service may return multiple results, some of which contain invalid URIs. The current implementation uses the first result (e.g, 262) as the lookup key, which can coincidentally match a sub-directory in the upload directory.

Update the logic to process only jobs that contain exactly one result URL, and verify that the referenced path both exists and is a regular file before using it.

Test: https://firefly-2070-uws-result-url.irsakubedev.ipac.caltech.edu/suit/

@loitly
loitly requested a review from robyww July 27, 2026 23:26
@loitly loitly self-assigned this Jul 27, 2026
@loitly loitly added the bug label Jul 27, 2026
@loitly loitly added this to the 2026.2 milestone Jul 27, 2026
@loitly
loitly merged commit 83f6ef3 into rc-2026.2 Jul 29, 2026
@loitly
loitly deleted the FIREFLY-2070-uws-result-url branch July 29, 2026 19:56
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.

2 participants