Skip to content

feat(#53): Add support for resuming jobs with existing backend ID in DB#64

Open
badtst wants to merge 8 commits into
mainfrom
feat/continue_jobs_with_backend_id
Open

feat(#53): Add support for resuming jobs with existing backend ID in DB#64
badtst wants to merge 8 commits into
mainfrom
feat/continue_jobs_with_backend_id

Conversation

@badtst

@badtst badtst commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Resume jobs

Simple update to try and fetch status of a job on the QPU if the scheduled Job already has a backend ID

Modified

  • At job creation time, the scheduler checks if job already has a valid backend id on the QPU. If so we resume execution from the status sent by the QPU
  • Check job timeout in scheduler from job created_datetime returned by the QPU
    • Setting timezone information on datetime data returned by the QPU to correctly handle timeout calculation. If no tz information sent by the QPU we assume UTC.
    • By default it seems that the QPU returns UTC datetimes but no actual timezone information in the data itself

TODO

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

⚠️ critical vulnerabilities were detected in generated SBOM artifacts

SBOM vulnerability check

⚠️ Found 1 critical vulnerability entries across SBOM artifacts.

Total vulnerabilities observed: 13

warden-sbom-mariadb.cdx.json

  • Severity breakdown: CRITICAL: 1, HIGH: 2, MEDIUM: 2
  • Critical vulnerabilities:
Vulnerability Severity Component(s) Reference
CVE-2025-65896 CRITICAL asyncmy@0.2.11 link

warden-sbom-pg.cdx.json

  • Severity breakdown: HIGH: 2, MEDIUM: 2

warden-sbom.cdx.json

  • Severity breakdown: HIGH: 2, MEDIUM: 2

@badtst badtst changed the title Add support for resuming jobs with existing backend ID in DB feat(#53): Add support for resuming jobs with existing backend ID in DB Jul 6, 2026
@badtst badtst force-pushed the feat/continue_jobs_with_backend_id branch from 525a6b9 to 342f1c0 Compare July 6, 2026 15:44
@badtst badtst marked this pull request as ready for review July 6, 2026 16:37
@badtst badtst force-pushed the feat/continue_jobs_with_backend_id branch from 520a1e6 to 8edf447 Compare July 7, 2026 13:55
@MatthieuMoreau0

Copy link
Copy Markdown
Collaborator

By default it seems that the QPU returns UTC datetimes but no actual timezone information in the data itself

It would be useful to notify the pasqos team of this oversight. You can shoot a message on Slack #pasqos to see what they think. To clarify the risks you can mention that FC1 is hosted in Canada which is not on the same timezone as the cloud platform (europe)

Comment thread tests/scheduler/utils.py Outdated
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.

2 participants