Skip to content

Conversation

@bisgaard-itis
Copy link
Contributor

@bisgaard-itis bisgaard-itis commented Sep 23, 2025

What do these changes do?

  • When working with our wonderful celery-library I have been confused by the difference between the TaskID and the TaskUUID. In fact the TaskUUID is the id of the task. The TaskID on the other hand is the "key" associated with that task in Redis (which is called the id inside Celery). To make this less confusion for osparc-simcore devs I here change TaskID to TaskKey. Data can be retrieved from the TaskKey using the OwnerMetadata class.
  • The fact that TaskKey is mapped to the id of the task inside Celery I don't find so confusing because we don't work with Celery directly - we work with our celery-library.
  • I also fix the handing of celery-library errors in the api-server to not expose the TaskKey directly in the error message (as this could contain confidential data.

Related issue/s

How to test

Dev-ops

@bisgaard-itis bisgaard-itis enabled auto-merge (squash) September 29, 2025 13:57
@bisgaard-itis
Copy link
Contributor Author

@Mergifyio queue

@bisgaard-itis bisgaard-itis added the 🤖-automerge marks PR as ready to be merged for Mergify label Sep 29, 2025
@mergify
Copy link
Contributor

mergify bot commented Sep 29, 2025

queue

🟠 Waiting for conditions to match

  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved=0
      • -conflict
      • -draft
      • base=master
      • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
      • label!=🤖-do-not-merge
      • label=🤖-automerge
      • any of: [🛡 GitHub branch protection]
        • check-skipped = deploy to dockerhub
        • check-neutral = deploy to dockerhub
        • check-success = deploy to dockerhub
      • any of: [🛡 GitHub branch protection]
        • check-success = system-tests
        • check-neutral = system-tests
        • check-skipped = system-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = unit-tests
        • check-neutral = unit-tests
        • check-skipped = unit-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = check OAS' are up to date
        • check-neutral = check OAS' are up to date
        • check-skipped = check OAS' are up to date
      • any of: [🛡 GitHub branch protection]
        • check-success = integration-tests
        • check-neutral = integration-tests
        • check-skipped = integration-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = build-test-images (frontend) / build-test-images
        • check-neutral = build-test-images (frontend) / build-test-images
        • check-skipped = build-test-images (frontend) / build-test-images
      • any of: [🛡 GitHub branch protection]
        • check-success = SonarCloud Code Analysis
        • check-neutral = SonarCloud Code Analysis
        • check-skipped = SonarCloud Code Analysis

@bisgaard-itis bisgaard-itis disabled auto-merge October 2, 2025 09:34
@bisgaard-itis bisgaard-itis added 🤖-automerge marks PR as ready to be merged for Mergify and removed 🤖-automerge marks PR as ready to be merged for Mergify labels Oct 2, 2025
@bisgaard-itis bisgaard-itis enabled auto-merge (squash) October 3, 2025 10:11
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 3, 2025

@bisgaard-itis bisgaard-itis merged commit 5a86ddb into ITISFoundation:master Oct 3, 2025
146 of 148 checks passed
@bisgaard-itis bisgaard-itis deleted the improve-celery-task-error-messages-and-improve-taskid-name branch October 3, 2025 11:24
bisgaard-itis added a commit to pcrespov/osparc-simcore that referenced this pull request Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify a:celery-library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants