guide: GH resuming workflow

Open
#207 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, gcp, github-actions

Research direction

Start with the cml-with-dvc guide and the GitHub section of self-hosted-runners, especially the allocating-cloud-compute-resources-with-cml example. Verify the requested self-hosted labels, timeout-minutes: 50400, workflow resumption behavior, and DVC checkpoint caching. Done means the guide contains a complete long-running example showing how resumed workflows reuse previous results.

Written by the indexing model from the issue text.

Description

documentation epic p1-important

Add a self-hosted long-running example to https://cml.dev/doc/cml-with-dvc (or somewhere else)

  1. GH action launches "self-hosted" GCP/AWS using cml runner --reuse --labels=cml and probably --cloud-spot
  2. GH action runs the rest of the workflow on the "self-hosted" runner using runs-on: [self-hosted, cml] and timeout-minutes: 50400
  3. If GH action is about to timeout, CML will restart the workflow
Dominant language
TypeScript
Stars
13
Forks
22
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from iterative/cml.dev

All issues in iterative/cml.dev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.