Release 0.65.1: releases are gated
ci / checks (push) Successful in 52s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 5m5s

The release workflow runs tools/gates.sh (after ensuring the cached corpus)
before it builds anything, so a tag whose tree fails a gate publishes
nothing; until now only the branch push was checked, by a workflow the
release did not wait for. No product change: the packages are 0.65.0
rebuilt, plus the test-only import fix in 5c00b70.

Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.1) and
editors/vscode/CHANGELOG.md. tools/RELEASING.md and docs/topo.md describe
the gated workflow and the new lustudio-arm64 runner.

Gates: tools/gates.sh PASS on this tree (target/gates/20261119-032522),
all fifteen steps, corpus 814/6.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
This commit is contained in:
Guoliang ChenandClaude Mythos 5.2 committed 2026-11-19 03:26:51 -08:00
1 parent 5c00b701fc
commit 88546c8b4e
10 files changed
+63 -18

No files matched your search

+15
View File
@@ -14,6 +14,12 @@
# The release fails, deliberately, when the tag does not match the
# workspace version or CHANGELOG.md has no section for it: every release
# ships with real, written notes (see tools/RELEASING.md).
#
# It is gated: tools/gates.sh (fmt, clippy, every crate's suites, the doc
# tests, the corpus gate, the extension's node tests) runs first, and a red
# gate means nothing is built or published. The ci workflow runs on the
# branch push, not the tag, so without this step a tag published whatever
# it pointed at (0.65.0 went out while its ci run was still stuck).
name: release
on:
push:
@@ -25,6 +31,15 @@ jobs:
runs-on: macos-arm64
steps:
- uses: actions/checkout@v4
# The corpus is pinned-rev clones cached on the runner host, as in
# ci.yml; gates.sh skips its corpus step when the cache is absent, so
# fetch it here rather than release without that gate.
- name: Ensure the cached corpus
run: |
corpus="$HOME/.cache/lucisv-corpus"
[ -d "$corpus" ] || tools/corpus_fetch.sh "$corpus"
- name: Gate the release
run: tools/gates.sh
- name: Build release artifacts for every target
run: tools/release.sh --cross
- name: Audit the cross-built artifacts
+20
View File
@@ -4,6 +4,26 @@ All notable changes to lucisv are recorded here. Versions follow
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
(see `README.md`) are the only frozen contract.
## 0.65.1 — 2026-11-19
### Releases are gated
No change to the formatter, the linter, the language server or the editor
extension: the packages are 0.65.0 rebuilt. What changed is how a release is
made (`tools/RELEASING.md`).
- **A tag no longer publishes unless every gate is green.** The release
workflow now runs `tools/gates.sh` — `cargo fmt`, `cargo clippy`, each
crate's test suites, the doc tests, the corpus gate and the extension's node
tests — before it builds anything, and a failing gate stops the release.
Until now only the branch push was checked, by a separate workflow the
release did not wait for, so 0.65.0 was published while its checks had not
finished.
- **The build is clean on Rust 1.100.** An unused import in the language
server's test module, which that toolchain's clippy rejects under
`-D warnings`, is gone. It is what turned 0.65.0's checks red after the
fact; the released binaries were never affected.
## 0.65.0 — 2026-11-19
### Module instantiation syntax highlighting
Generated
+9 -9
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.65.0"
version = "0.65.1"
[[package]]
name = "lucisv_mcp"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"lucisv_core",
"serde",
@@ -126,7 +126,7 @@ dependencies = [
[[package]]
name = "lucisv_server"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"lsp-server",
"lsp-types",
@@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"lucisv_core",
"vlog_formatter",
@@ -279,11 +279,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.65.0"
version = "0.65.1"
[[package]]
name = "vlog_refactor"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -292,7 +292,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.65.0"
version = "0.65.1"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -13,7 +13,7 @@ members = [
]
[workspace.package]
version = "0.65.0"
version = "0.65.1"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+1 -1
View File
@@ -159,7 +159,7 @@ what a change on the pointed-to side must not silently break.
| `editors/vscode ◀──▶ vlog_parser` | handshake | The TextMate grammar's keyword alternation is **hand-maintained and test-locked to `vlog_parser::KEYWORDS`**: `crates/lucisv_server/tests/grammar.rs` fails, naming the missing/extra words, when they diverge (there is no generator script). Adding a keyword to `token.rs`'s `keywords!` macro is therefore also a hand edit to `editors/vscode/syntaxes/systemverilog.tmLanguage.json`. |
| `editors/nvim ──▶ lucisv_server` | depends | Documentation-only module: config snippets consuming the same spawn contract and settings shape. No code. |
| `tools/ ◀──▶ crates + editors/vscode` | handshake | `release.sh` parses `lucisv --version` (field 2), runs `smoke.js` against the built server, stages `dist/lucisv[-server]-<version>-<triple>` names, packages seven `.vsix` files and asserts their `bin/` layouts. `audit_artifacts.sh` and `prune_release_assets.sh` key on those exact names. The version number lives in exactly four files (two `Cargo` files, two `package*.json`) and nowhere in Rust source. |
| `CI (Gitea Actions) ──▶ tools/` | depends | `release.yml` is (almost) all `tools/` one-liners — `release.sh --cross`, `audit_artifacts.sh`, `prune_release_assets.sh`, `release_notes.sh`, `publish_release.sh` — so every release step runs by hand too; its only inline logic is the tag-vs-`lucisv --version` check. `ci.yml` is plain `cargo fmt`/`clippy`/`test` plus `scripts/corpus_gate.sh` (which reaches `tools/corpus_fetch.sh` on a cache miss). Tag `vX.Y.Z` must equal the workspace version; release notes come from `CHANGELOG.md`'s `## <version> — <date>` headings via `release_notes.sh`. |
| `CI (Gitea Actions) ──▶ tools/` | depends | `release.yml` is (almost) all `tools/` one-liners — `gates.sh` first (the release is gated since 0.65.1), then `release.sh --cross`, `audit_artifacts.sh`, `prune_release_assets.sh`, `release_notes.sh`, `publish_release.sh` — so every release step runs by hand too; its only inline logic is the tag-vs-`lucisv --version` check. `ci.yml` is plain `cargo fmt`/`clippy`/`test` plus `scripts/corpus_gate.sh` (which reaches `tools/corpus_fetch.sh` on a cache miss). Tag `vX.Y.Z` must equal the workspace version; release notes come from `CHANGELOG.md`'s `## <version> — <date>` headings via `release_notes.sh`. |
| `scripts/score.sh + tools/corpus_check.sh ──▶ lucisv` | depends | The frozen 0/1/2 exit-code contract, plus a **textual** dependency on the message prefixes `parse error:` / `lex error:` / `verification failed:` (a standing fragile coupling — rewording those means telling corpus-check; see §2.9). |
**Deliberately absent production edges** (also check shared file ownership):
+5
View File
@@ -5,6 +5,11 @@ for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## 0.65.1 — 2026-11-19
- **Nothing changes in the editor.** This is 0.65.0 rebuilt by a release
process that now runs the full test gates before publishing.
## 0.65.0 — 2026-11-19
- **Module instantiations are now colour-coded by role.** Module names
+1 -1
View File
@@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
then open a Verilog or SystemVerilog file. There is no separate server or CLI
setup.
The current release is **0.65.0**. Its platform packages include
The current release is **0.65.1**. Its platform packages include
`lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see
[Agents (MCP)](#agents-mcp)):
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "lucisv",
"version": "0.65.0",
"version": "0.65.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "lucisv",
"version": "0.65.0",
"version": "0.65.1",
"license": "MIT",
"dependencies": {
"vscode-languageclient": "9.0.1"
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "lucisv",
"displayName": "lucisv — Verilog/SystemVerilog",
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
"version": "0.65.0",
"version": "0.65.1",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",
+8 -3
View File
@@ -320,7 +320,10 @@ git tag v<X.Y.Z>
git push origin v<X.Y.Z>
```
does the rest on the `mac-arm64` runner: `tools/release.sh --cross`, a
does the rest on the `lustudio-arm64` runner: first `tools/gates.sh`, the
whole of step 3 — a red gate stops the release before anything is built
(since 0.65.1; 0.65.0 was published while its checks had not finished) —
then `tools/release.sh --cross`, a
tag-vs-`lucisv --version` consistency check,
`tools/prune_release_assets.sh dist <version>`, which keeps **only the
seven `.vsix` packages** in `dist/` (each checked by name — a missing
@@ -333,8 +336,10 @@ from them — but never published: a standalone binary is a
`cargo build --release` away for whoever wants one. Ordinary pushes run
fmt/clippy/test via `.gitea/workflows/ci.yml`.
The runner is this Mac: `brew install gitea-runner`, registered
instance-wide as `mac-arm64` (labels `macos-arm64`/`self-hosted`, host
The runner is the Mac Studio (since 2026-11-19; `mac-arm64`, on the
previous build Mac, was retired the same day): the one-time setup at the
top of this file, then `brew install gitea-runner`, registered
instance-wide as `lustudio-arm64` (labels `macos-arm64`/`self-hosted`, host
mode), running via `brew services start gitea-runner`; config at
`/opt/homebrew/etc/gitea-runner/config.yaml`, logs at
`/opt/homebrew/var/log/gitea-runner.{log,err}`. Registration tokens are