releasegate

command
v0.0.0-...-efa2025 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command releasegate is the published server's release gate: what its quickstart promises, end to end, against the server docker compose runs from this tree. Run it from the tree's root, with Docker:

go run ./internal/releasegate

It makes an app key in memory (never printed or written), then:

  1. builds and starts docker-compose.yml's Postgres and server (docker compose up --build), with the key's public half in WAKESHIFT_APPS as the app "example" and a fresh WAKESHIFT_SECRET_KEY;
  2. waits for /ready, which the server answers once its migrations ran on the fresh database (as the owner role, not a superuser);
  3. checks the app is registered: the Go SDK, with the key, asks the server which app it is;
  4. serves an MCP server for the app (go-sdk, with the Go SDK attached) and, as an MCP Events client would, opens events/stream on it: the subscription is made and held on the server (push);
  5. emits an event with the SDK, and posts a webhook signed the Standard Webhooks way to a publish URL made with a signing secret (an unsigned post is refused);
  6. reads both, in order, as notifications/events/event on the client's stream.

With -webhooks it also starts Webhooks (apps/try, the compose profile webhooks), registered with a second fresh key, and then (webhooks.go):

  1. gets a link from its page, as a person does;
  2. connects to the link's MCP URL as Claude Code, calls watch, and runs the wait the result says to run (as Claude Code's Monitor does);
  3. POSTs {"hello":"world"} (JSON) to the webhook URL, as curl does, and reads the event on that wait.

It stops the services (docker compose down -v) unless -keep is given, printing the server's log first when a step failed. It wakes no real agent: the bridges (connectors and plugins) are tested in their own repositories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL