From 4fdefda08a8c480b3f40f9f730cda976136957a4 Mon Sep 17 00:00:00 2001 From: meh Date: Tue, 22 Sep 2026 05:04:23 +0700 Subject: [PATCH 1/2] ci: put the master push trigger back, because it is the release Dropping every automatic trigger took the pull request runs away, which was the point, and took releases with it, which was not. The publish job is gated on `github.event_name == 'push'` and diffs Cargo.toml against `github.event.before`, both of which only exist on a push. With workflow_dispatch alone that job can never run, so 3.1.0 merged to master and published nothing, and crates.io stayed on 3.0.3. Master keeps its push trigger. Pull requests stay off. workflow_dispatch stays so the workflow can still be run on request. --- .github/workflows/rust.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index cfd9813..e1df9f8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,9 +1,14 @@ name: Rust -# Manual only. Nothing here runs on a push or a pull request: the gate is the -# one an author runs locally before asking for review, and a green tick that -# nobody asked for teaches people to stop reading it. +# No pull request trigger: the gate is the one an author runs locally before +# asking for review, and a tick that arrives unasked is a tick people stop +# reading. Master is different. The publish job below is gated on +# `github.event_name == 'push'` and reads `github.event.before` to diff +# Cargo.toml, so a push to master is the release mechanism and removing it +# silently stops releases rather than making anything manual. on: + push: + branches: [ "master" ] workflow_dispatch: env: From 719f81a58b7227ce2584090302abe688ed396af0 Mon Sep 17 00:00:00 2001 From: meh Date: Tue, 22 Sep 2026 05:04:23 +0700 Subject: [PATCH 2/2] Release 3.1.1 3.1.0 exists as a tag in this repository's history and nowhere else: it merged while the publish job could not fire. The publish step diffs Cargo.toml against the previous master commit, so restoring the trigger alone would find no change and release nothing. 3.1.1 carries the same nagoya socket work 3.1.0 was meant to. No source change. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d8b54cb..e3b4720 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "endpoint-libs" -version = "3.1.0" +version = "3.1.1" edition = "2024" authors = ["Veon "] description = "Launch MCP services fast: describe endpoints once in RON, and endpoint-gen generates the Rust models, docs and MCP tool schemas that this crate serves over WebSocket RPC, with roles and typed errors built in."