Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release

БесплатноБез исполняемых скриптовНе проверен

Orchestrate a new freenet-core release. Runs the MANDATORY pre-cut gates (no concurrent cut, auto-update updater diff + canary suites, a 30-minute real-NAT…

freenetот freenet★ 27 звёзд на GitHub

Об этом скилле

Freenet Release Skill

This is the single entry point for cutting a freenet-core release. The order is fixed:

  1. MANDATORY PRECONDITIONS P0-P4 (below). Every one must pass, and you must report each result.
  2. Steps 1-5: version, trigger with the soaked commit as ship_sha, watch, verify artifacts, River smoke test.
  3. Step 6: post-cut monitoring (telemetry and River-room user reports) through the 0-4h auto-update stagger.

Do not dispatch a live release.yml run or run scripts/release.sh until P0-P4 have passed. No "quick release", "routine patch" or "CI is green" path skips them. The only things you may run beforehand are scripts/release.sh --dry-run and gh workflow run release.yml --field dry_run=true from a ref that contains the guard from #5939 (current main; the bug it fixes is #5936). A dry run pushes no branch and tags nothing (a maintainer's soak hook may still require a soak marker for it). It exercises only the ship-commit checks, the bump and the packaging check, not the token check, the release-branch CI, the tag, Gate A or the publish, so a green dry run is not a gate. Dispatched from a ref older than #5939, dry_run still pushes and auto-merges a bump PR.

The release pipeline runs entirely in GitHub Actions, and it ships exactly the commit you soaked (freenet-core#6362): release.yml takes that commit as ship_sha, commits the version bump on top of it, pushes the result as branch release/vX.Y.Z, waits for ci.yml's full suite on that push, runs cargo publish --dry-run, then tags it and creates the draft GitHub release. The tag's cross-compile.yml run builds the binaries, runs Gate A, publishes to crates.io and un-drafts. The release.published event then auto-triggers gateway-update.yml (which HMAC-POSTs each gateway's release-agent), release-announce.yml (Matrix and River posts) and release-sync.yml (the merge-back of the version bump into main). The release never reads main's tip, so main stays open during a cut: no merge freeze.

The first release after #6362 must ship a SHA that contains both #6361 and #6362. validate refuses an older ship_sha, because the tag-triggered workflows run from the tag's tree and an older one would release with the old cascade and no merge-back. The previous release was cut with the PR flow, so main already carries its version: cut the next one. CI does not exercise a real NATed peer, and it does not exercise the shipping binary's own updater. That is why the preconditions exist.

MANDATORY PRECONDITIONS: run all of these before ANY trigger

Maintainers: the environment-specific parts of these gates live in your local freenet-release skill, and you must run it. That covers which real-NAT peer you soak on, how to reach it and deploy the binary there, gateway hosts, and the traps specific to your setup. This skill defines what must pass; the local skill says how in your environment. If you have no local companion, you still have to meet every gate by equivalent means. Write down what you did; do not skip a gate. Some maintainer environments enforce this with a hook that refuses the trigger unless the local soak procedure has recorded a passing result for the dispatch's ship_sha.

P0: No concurrent cut

Two cuts racing each other force-push and tag over each other's release branches. The live pre-flight in release.yml now refuses another queued or running release run, a leftover bump PR, and an unfinished release (a tag or release/v* branch above the latest published release), but it does not see a previous tag's still-running cross-compile.yml. Check:

gh run list --workflow release.yml --repo freenet/freenet-core --limit 5 \
    --json databaseId,status,conclusion,createdAt,displayTitle
gh run list --workflow cross-compile.yml --repo freenet/freenet-core --limit 5 \
    --json databaseId,status,headBranch,event,createdAt   # the previous tag's publish/un-draft
gh pr list --repo freenet/freenet-core --state open --search 'build: release in:title'   # legacy flow only

Stop in any of these cases:

  • a release.yml run is queued or in_progress
  • a tag's cross-compile.yml run is still running (that is where the previous release publishes and un-drafts)
  • a build: release PR is open (left over from the older PR flow)
  • another maintainer is mid-soak or mid-cut (ask in the dev channel if unsure)

Coordinate first. Re-run these checks immediately before Step 2: the soak takes 30+ minutes, and the state can change during it.

P1: Auto-update is not broken (updater diff + BOTH canary suites), plus the River legacy-delegate gate

Auto-update is the highest-consequence subsystem in a release because a peer's update path has only one leg. Every stage of it is the binary being replaced. A broken updater therefore cannot be recovered in the field: the affected cohort never self-heals and has to be fixed by hand. v0.2.12

Полный SKILL.md на GitHub

Установить release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл release?

Orchestrate a new freenet-core release. Runs the MANDATORY pre-cut gates (no concurrent cut, auto-update updater diff + canary suites, a 30-minute real-NAT soak of the exact ship SHA, a telemetry baseline), then determines the version, confirms with the user, triggers the release pipeline via GitHub Actions, and monitors telemetry through the 0-4h auto-update stagger. Use when the user says "do a release", "new release", "cut a release", "release", or "/release".

Как установить скилл release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release с