Skip to content

Optimize the rdf-differ CLI task checking to avoid surprises #132

@schivmeister

Description

@schivmeister

P1 Badge Wait for the wrong diff task

After posting /diffs, the response includes the Celery task id under uid, yet create_diff ignores it and instead fetches /tasks/active once and waits on whatever task happens to be at index 0. If the new job has not started yet or other jobs are already active, TASK_ID may be empty or belong to another dataset, leading to a premature "No active tasks found" error or polling the wrong task while the intended diff continues running. The CLI should poll /tasks/{uid} for the id returned by the create call rather than relying on the first active task.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #131 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions