A static musl binary on an empty image, run as nobody, listening on 8080.
scripts/publish-relay builds it from a clean, pushed commit of develop or
main and pushes it to Gitea's registry, tagged with the commit and latest.
The build context is an allowlist: never .env nor target/.
RELAY_TRUSTED_PROXY also takes a network: Nginx Proxy Manager's address on
the Docker network changes when it restarts.
docs/service-relais.md gives the compose service, the env file, the NPM
proxy host (no access log, Access List until #152), and how to update,
change the key and check the restart and the per-address limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured 995f454 (1.0.0-beta.5) on the Ryzen 5 7640U, release build and
its profile build. Budgets 1, 2, 4 and the minimised CPU of budget 3 are
over; budget 5 and the no-rendering part of budget 3 hold. Idle CPU has
a floor set by GPUI's vsync thread, recorded without changing the limit.
The scenarios are written down under Measuring, with
scripts/budget-probe.ps1 to repeat them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3E5kSZykyLnuoXsBC2
On a private test repository, a stable whose tag only existed locally
stopped before publishing: Gitea 28.1 lists unrelated files in its reply
to the draft creation when it does not have the tag yet, and the command
tried to remove them (HTTP 404, nothing published). A new draft has no
files, so only a draft found by its tag is emptied. Record the stable
run: refusals, an older main commit, a local-only tag, reruns, the next
beta and the channel queries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/publish-beta becomes scripts/publish with a channel argument.
`scripts/publish stable [commit]` publishes the Cargo.toml version of a
commit on main whose CI checks passed: it builds with scripts/package,
checks the signed files against the tag and commit before creating
anything, tags vX.Y.Z on that commit, then publishes a complete draft as
a normal Release. A stable tag never moves; reruns reuse, complete or
refuse as for betas. Releases now name their target commit, so a tag
that only exists locally is never created on the default branch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A runner on the build PC would run pull request code without isolation
next to the signing key, and only that PC has the Windows toolchain.
scripts/publish-beta now runs there: it fetches develop and the beta
tags, refuses a commit absent from develop on Gitea or whose CI checks
did not pass, and keeps the numbering, draft-then-publish and reruns.
The key stays in its file; the beta job and its secret are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A private test repository went through a main push, develop creation, a
two-commit push, two close pushes, a failing check, reruns of a complete
and of an interrupted publication, and a job cancelled mid-build; the five
betas verify with their own executables, and a pull request token is
refused write access.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The beta job runs after the core checks on a host-mode WSL runner with the
Windows toolchain, builds the push's commit with scripts/package and
publishes it as a prerelease: tag, draft, the four files, then publish.
The cycle target is the workspace version (1.0.0); beta tags are the
counter, created atomically after the build. A rerun reuses or completes
its own publication; a single runner serializes the jobs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installed app then depends only on Windows libraries, whatever Visual
Studio redistributable the build machine has.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address the code review of the carried-over work:
- scripts/package extracts the snapshot with fresh mtimes, so the shared
target never reuses a workspace crate built from other sources.
- core::verify_release owns the release-folder contract (file names, size
limits, signature, identity, digest) and returns Error::InvalidUpdate; it is
tested natively with real folders, oversized manifests and missing files.
- The app's --verify-release only adds the build identity and commit check.
- French script messages, clearer path helpers, accurate Velopack stub facts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Work in progress carried over from the main checkout: scripts/package builds
one version from one commit, packs it with vpk 1.2.161 (full packages only),
signs a manifest with Ed25519 and checks the result with the built executable.
The core verifies the signed manifest and package digest before any unpacking.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/hover-probe.ps1 posts synthetic mouse moves across the champion
table rows, 240 per second, without moving the real cursor, and reports
the UI thread's CPU and input latency against an idle phase, with the
machine and build like the move probe.
A `profile` Cargo feature, off by default, enables GPUI's profiler: with
ARENA_TRACKER_PROFILE the app appends each frame's phases, presentation
and views' own time to a CSV, and ARENA_TRACKER_HIDE removes parts of
the page so that each part's cost is measured by removal. Normal builds
compile none of it. Both are documented in docs/performance.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/move-probe.ps1 moves a window 240 times per second without
touching the mouse and measures how long each move holds its UI thread,
with an idle phase first; it prints the machine and build it measured.
scripts/prod build|run is scripts/win with --release: the optimised
build, without a console, to use the app and to measure it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two crates: a UI-free core tested natively in WSL, and a thin GPUI app
that opens the "Arena Tracker" window showing a text supplied by the core.
scripts/win builds and runs the app with the Windows toolchain from WSL
(ADR-0003), with the build directory on the Windows drive.
Closes#3
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>