Cut 0.20.0 - #490
Merged
Merged
Conversation
Reviewer's GuideCuts release 0.20.0 by documenting the Sequence diagram for workspace kill recoverysequenceDiagram
participant User
participant DL as dl
participant Host as Host process table
participant Docker
participant Kernel
User->>DL: kill workspace selector
DL->>Host: inspect workspace processes
DL->>Host: SIGTERM orphaned devpod processes
DL->>Host: SIGKILL remaining processes
DL->>Docker: inspect workspace containers
DL->>Docker: stop running containers
Host-->>DL: report pid and command line
Docker-->>DL: report container results
DL->>Kernel: release flock when holder dies
Kernel-->>DL: workspace no longer held
DL-->>User: exit 0 and print recovery report
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dl <ws> kill(#484, map #488), and nothing else:mainwas at 0.19.1 with no other change since, so 0.20.0 is that verb.Minor rather than patch because it adds a verb.
The four files a cut touches, the same four #486 touched for 0.19.1: the changelog entry
publish.ymlreads for the release body,rust/Cargo.tomlas the one version the workflow watches, both of the README's copies (the conda badge and thedl --versionsample, whichtest_readme_cli_doc.pychecks against the manifest), andCargo.lock, which pins the workspace version and would fail CI's--lockedbuild without it.Verified locally:
cargo build --release --lockedsucceeds and the binary printsdl 0.20.0, matching the README sample exactly.Merging this fires Auto-publish, which builds, publishes to PyPI, tags
v0.20.0and writes the release from the changelog; Conda Publish then chains off that workflow finishing.Summary by Sourcery
Release version 0.20.0 with a new workspace recovery command for unresponsive workspaces.
New Features:
dl <workspace> killcommand to recover wedged workspaces by safely terminating stale processes and containers while preserving active builds.Build:
Documentation: