Skip to content

StartOS

vstart-sdk/v2.0.7 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

bitcoin bitcoin-node lightning-node p2p personal-server privacy-enhancing-technologies
+1 more
self-hosted

Summary

AI summary

Backup progress weighting gives rsync transfers higher priority and createBackup no longer prematurely marks completion.

Full changelog

What's Changed

Changed

  • Backup and restore progress now weights the rsync transfer far above the
    pre/post hooks, so the bar tracks the copy.
    Every progress phase — the
    optional pre/post hooks and each rsync sync — previously carried equal weight,
    so on a typical single-volume package the instant pre-backup hook alone
    accounted for a third of the bar while the rsync (the part that actually takes
    time) was squeezed into a band too narrow for its fractional progress to move
    the rounded total: it sat at 33% for the whole transfer and then jumped. Each
    rsync sync phase now defaults to weight 80 (DEFAULT_SYNC_WEIGHT) and each
    pre/post hook phase to 10 (DEFAULT_HOOK_WEIGHT), and a pre/post phase is
    added only when that hook is actually set — so a hook-less backup is just its
    rsync phase(s) and tracks the copy directly. All weights are overridable:
    setPreBackup / setPostBackup / setPreRestore / setPostRestore take an
    optional second weight argument, and a sync's weight is set via the new
    BackupSync.weight field (or the weight key on addVolume's options).
    Pre/post hooks now receive a PhaseHandle for their own phase rather than a
    full sub-tracker.
  • createBackup no longer marks its own progress tracker complete. The
    StartOS backup harness owns per-package completion and holds the phase open
    until the package's .s9pk image has finished writing to the backup target,
    so a package reports 100% and "still working" during the image write rather
    than a premature "done". Restore is driven by the init harness and was already
    finalized externally, so it is unchanged in this respect.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track StartOS

Get notified when new releases ship.

Sign up free

About StartOS

Browser-based, graphical Operating System (OS) that makes running a personal server as easy as running a personal computer.

All releases →

Related context

Earlier breaking changes

  • vstart-sdk/v2.0.4 'setupMain' callback now accepts any DaemonBuildable rather than requiring a Daemons.
  • vstart-sdk/v2.0.4 `Daemons.dynamic` now takes `effects` and returns a `DaemonReconciler` instead of replacing `main`.
  • v0.4.0-beta.9 Previous backups incompatible with v0.4.0; create fresh backup after updating.

Beta — feedback welcome: [email protected]