Skip to content

[Studio] Add runtime lifecycle and persistence - #312

Merged
isLinXu merged 1 commit into
Tencent:mainfrom
9-71:studio/runtime-lifecycle
Oct 9, 2026
Merged

isLinXu merged 1 commit into
Tencent:mainfrom
9-71:studio/runtime-lifecycle

Conversation

@9-71

@9-71 9-71 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Overview

Add the Studio runtime layer on top of the merged Core Task Engine (#310).

  • Introduce JobsManager as the single owner of public job lifecycle decisions.
  • Add bounded CPU/GPU scheduling, cancellation, timeout handling, and process-tree cleanup.
  • Implement atomic JSON persistence, backup recovery, and restart reconciliation.
  • Provide sanitized job logs, detached status snapshots, and manifest-based artifact access.
  • Preserve worker ownership and execution slots until cleanup is confirmed.
  • Handle persistence and result-finalization failures without publishing misleading states.

Validation

  • Windows Studio tests: 295 passed, 16 skipped (platform-specific).
  • WSL2 targeted regression: 64 passed, 0 skipped.
  • Additional Windows persistence regression: 49 passed, 2 skipped.
  • Doctest: 4 passed.
  • Targeted Ruff, format, and codespell checks passed.
  • Local lifecycle and failure-path verification completed.

Related to #299.

@isLinXu

isLinXu commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

LGTM

@isLinXu
isLinXu merged commit 85b5ef5 into Tencent:main Oct 9, 2026
12 of 20 checks passed
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