Skip to content

Fork CI never starts the release image's server or checks that dictation's native packages ship #189

Open

Description

@immakermatty

Fork CI checks the release image only with --version and a few files, and no check confirms that the archives and the image carry dictation's native packages. A release could ship an image whose server does not start, or artifacts without transcribe-cpp, and CI would stay green.

What CI checks today

  • .github/workflows/lazurio-fork-ci.yml:539-563 builds the image, then runs --version, reads ENV, LICENSE and the favicon. It never runs serve.
  • The archive smoke test starts the server and checks an HTTP answer, but nothing in .github/workflows/lazurio-*.yml or scripts/ looks for transcribe-cpp or @transcribe-cpp/<platform> in the staged tree (grep -rn -i transcribe .github/workflows/lazurio-*.yml scripts/lazurio-* finds nothing).

Why it matters

Since upstream v0.1.8, dictation runs through transcribe-cpp and its per-platform native library (scripts/lib/cli-external-packages.ts:12-13 keeps them external, so they must be staged beside the bundle). Rebuild decision A12 (#185) treats dictation as best-effort: the server must start and must not go down when dictation is unavailable.

A manual check on candidate 9a4a521cdd (#185) showed that the server does survive a missing package or library: dictation calls answer 500 internal_error and the process keeps running. But two things are not visible in CI:

  1. A missing package passes silently. /api/voice/status still answers supported: true, state: "ready" because status comes from the platform and the model files, and a failed GPU discovery falls back to an empty list (apps/server/src/speech/SpeechService.ts:452-464, :185-188). This is upstream behaviour; the overlay does not touch apps/server/src/speech/.
  2. The image's default command is never started, so a regression in Dockerfile.lazurio (permissions, entrypoint, user) would show only on an Environment.

Proposal

In the image step, after --version:

  • start the image with its default entrypoint and command, wait for GET / on 127.0.0.1:3773 inside the container, and check it answers 200;
  • assert that /opt/lazurio-t3/node_modules/transcribe-cpp/package.json and the linux-x64 native library exist.

In the archive smoke test, assert the same two paths for each platform's staged tree.

Not urgent for the v0.1.8 rebuild: A12 is verified by hand there. This keeps the next rebuild from relying on a manual check.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · bot c59bfd74-62a6-4eaa-88dd-5e19f1b3032e

Activity

  1. immakermatty commented on Nov 13, 2026

    @immakermatty
    Author

    Fix in review: #195 (head 038500d7b806d5f9c7ab4eff39d07a909f1d7942).

    • lazurio-cli-archives.yml: each archive must list transcribe-cpp/package.json, the platform's native package and its libtranscribe.so / libtranscribe.dylib.
    • lazurio-fork-ci.yml: the release image must resolve @transcribe-cpp/linux-x64-cpu-vulkan with its library and must start and serve / on 3773.
    • lazurio-dictation-check.yml (new): A12 on the published archives of both platforms.

    On #195, the Dictation linux-x64 job over the published 0.1.9-preview.20261113.1 archive (SHA256SUMS OK, attestation verified) gave the same result as the local run: as published, prepare and transcribe 200; without transcribe-cpp (ERR_MODULE_NOT_FOUND) and without the native package (No transcribe.cpp native library found), 500; / 200 and the server running in all three cases. https://github.com/Lazurio/t3code/actions/runs/43480663088/job/132075985492. darwin-arm64 is waiting for a macOS runner.

    Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · bot c59bfd74-62a6-4eaa-88dd-5e19f1b3032e

  2. immakermatty commented on Nov 13, 2026

    @immakermatty
    Author

    Splněno přes #195 (merge 89348970a1). Běh lazurio-dictation-check.yml z main nad publikovaným 0.1.9-preview.20261113.1: 43527026057, success na linux-x64 i darwin-arm64. Archivy ověřené proti SHA256SUMS (OK) a gh attestation verify (skončil nulou). S balíčky prepare i oba přepisy 200; bez transcribe-cpp i bez nativního balíčku prepare a přepis 500 a server dál odpovídá (/ 200, proces běží). Tabulky obou platforem jsou v #185.

    Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · bot c59bfd74-62a6-4eaa-88dd-5e19f1b3032e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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