Skip to content

Define the workspace-package release process, its skill, and how packages point to it #2808

Closed

Description

@josecelano-bot

Goal

Make releasing a workspace package, or a standalone Torrust crate extracted from the workspace, a documented and repeatable process: one source of truth in this repository, one skill that drives it, and package-level docs that only point to it.

Background

Releasing torrust-server-lib 0.6.0 (torrust/torrust-server-lib#5, torrust/torrust-server-lib#6; release docs torrust/torrust-server-lib#7, torrust/torrust-server-lib#8) exposed gaps:

  • The only release skill, release-new-version, covers the tracker binary. There is no skill for a workspace package.
  • docs/release_process.md ("Publishing a Workspace Package") does not say the tag must point to the published commit, has an ambiguous tag step (step 5 pushes a branch named like the tag, then runs git tag), gives no roles or commit for the manual fallback, does not say that no GitHub release is created for a package (the ADR does), and has no guidance for a crate in its own repository.
  • release-new-version step 6 lists several crates the tracker deployment must publish, which contradicts ADR 20260629000000_adopt_independent_package_versioning.md (a tracker release publishes only torrust-tracker).
  • torrust-server-lib 0.6.0 was published manually from merged main and tagged v0.6.0 on the published commit by the maintainer. Its releases up to 0.5.0 have no tags.

Decisions (maintainer, 2026-11-10)

  • This repository's release documentation stays the single source of truth.
  • docs/release_process.md is split into a short index, docs/release-process/tracker.md and docs/release-process/packages.md. The index keeps a ## Publishing a Workspace Package heading that redirects, so existing links keep working.
  • No GitHub release is created for workspace packages.
  • A crate in its own repository tags releases v<semver> (signed, on the published commit); this is documented as a standalone-repository difference. No new ADR.
  • Missing torrust-server-lib tags (<= 0.5.0) are backfilled only for versions whose published commit is verified against crates.io; the maintainer pushes the tags.
  • Package READMEs point to docs/release-process/packages.md on develop. A short "Releasing" section is required only in standalone repositories and in workspace READMEs that already describe releasing.
  • The specification goes through a spec-only PR first.

Scope

  • Split the release document (pure move) and update live references.
  • Rewrite the package process in docs/release-process/packages.md: preconditions, roles (agent vs maintainer), order, publish from the merged commit, tag that commit, no GitHub release, workspace and standalone variants.
  • Add a release-workspace-package skill that links to the doc without duplicating steps; cross-link it from release-new-version and remove its contradicting crate list.
  • Add README pointers as decided.
  • Prepare the follow-up torrust-server-lib tag-backfill issue text.

Out of scope: changing deployment-packages.yaml, changing the tracker binary release steps, creating any tag/branch/release upstream, releasing any crate.

Acceptance

A fresh agent can release a workspace package or a standalone crate using only the skill and the doc, with no duplicated instructions anywhere. The full specification (plan, acceptance criteria, verification) lands in docs/issues/open/ through the spec-only PR.

Activity

  1. added 15 commits that reference this issue on Nov 10, 2026
  2. 26 remaining items

  3. added 9 commits that reference this issue on Nov 11, 2026
  4. added 5 commits that reference this issue on Nov 11, 2026
  5. added a commit that references this issue on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions