Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent job outputs representation #715

Open
fmigneault opened this issue Sep 16, 2024 · 0 comments
Open

Inconsistent job outputs representation #715

fmigneault opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
triage/bug Something isn't working

Comments

@fmigneault
Copy link
Collaborator

Describe the bug

When requesting GET [...]/jobs/{jobID}/inputs, the returned contents provide the originally submitted outputs (transmissionMode, format, etc.) to help debug a potential job failure or interpret the obtained result structure, formats, media-types, etc.

However, to support outputs filtering (#380), the outputs: {} definition must be used to indicate no outputs at all. Currently, whether omitting outputs or explicitly indicating an empty mapping results in the Job Inputs endpoint to return outputs: {}, possibly leading to confusing interpretation.

Expected behavior

Omitting outputs: {} from the job execution request should lead to outputs: null (explicitly indicated in the JSON) to distinguish it from an actual outputs: {}.

Context

@fmigneault fmigneault added the triage/bug Something isn't working label Sep 16, 2024
@fmigneault fmigneault self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant