Commit Graph
23 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 209059cf10 Define the major release that needs the full benchmark as X.0.0 (#61)
CI / core (pull_request) Successful in 37s
CI / core (push) Successful in 34s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:53:18 +01:00
nessarandClaude Opus 5.5 400ac154f9 Ignore the files Gitea lists when it creates a draft (#61)
CI / core (pull_request) Successful in 1m18s
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>
2026-11-20 19:44:45 +01:00
nessarandClaude Opus 5.5 5f4332a79f Publish a stable of main from the build PC (#61)
CI / core (pull_request) Successful in 1m18s
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>
2026-11-20 19:27:53 +01:00
nessarandClaude Opus 5.5 19c4cf940d Publish betas from the build PC instead of a CI runner (#60)
CI / core (pull_request) Successful in 1m19s
CI / core (push) Successful in 35s
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>
2026-11-20 18:52:32 +01:00
nessarandClaude Opus 5.5 5e757d2a63 Record the beta publication run and the runner 6 setup (#60)
CI / core (pull_request) Successful in 1m14s
CI / beta (pull_request) Skipped
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>
2026-11-20 18:14:26 +01:00
nessarandClaude Opus 5.5 9b87492b43 Publish a numbered beta after each validated push to develop (#60)
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>
2026-11-20 16:29:50 +01:00
nessarandClaude Opus 5.5 ab3c6964a5 Apply the update through « Redémarrer » or at the next launch (#59)
The settings show « Redémarrer » next to « Mise à jour prête ». It
verifies the kept package of the chosen channel again, hands exactly
that file to Velopack with `Update.exe apply --waitPid <pid> --package
<file>`, then quits as « Quitter » does (WM_QUIT, never hidden in the
notification area). Velopack 1.2.161 reads the file in place, waits for
the app to exit, replaces current\ and opens the new version once, or
the old one again after a failure.

After « Quitter », the next launch does the same before loading the
app, offline too, but only in the single instance: a shortcut launched
while the app runs still just brings its window back (#50).

An attempt record, <channel>-<version>.attempt next to the package
folder, holds the installer's process id. A launch that finds it never
retries on its own: it waits for a running installer (a close second
launch, or the old version reopened after a failure), then either
leaves the app to the new version or opens the current one with a
one-time notice. « Redémarrer » retries; a newer release starts fresh.
The record survives a new download of the same version, since Velopack
deletes a package it cannot open.

Velopack's swap has no rollback between its two renames; this residual
risk is recorded in ADR-0005 and docs/paquets-windows.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:02:57 +01:00
nessarandClaude Opus 5.5 8e12abf7f4 Choose the update channel and download authenticated updates (#58)
CI / core (pull_request) Successful in 35s
CI / core (push) Successful in 1m16s
The settings offer Stable or Bêta. The choice is saved only once made;
until then the installed version's channel applies, so the beta
installer follows Bêta. Updates never change a saved choice.

Each launch, and each channel change, runs one check on a below-normal
thread. It lists the channel's Releases through the public Gitea API
(betas are pre-releases) and takes the highest version above the
installed one. The package is downloaded into
%LOCALAPPDATA%\arena-tracker\updates\partial, verified with
verify_release, then kept as <channel>-<version>; another channel's
package is removed before any network access. Only then does a green
title-bar button show « Mise à jour prête » and open the settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:14:25 +01:00
nessarandClaude Opus 5.5 24aca3c93d Reopen the window without focus when an Arena champ select starts (#63)
CI / core (pull_request) Successful in 45s
CI / core (push) Successful in 46s
A minimized window, or one hidden in the notification area, comes back above
the other windows while League keeps the keyboard. An already visible window is
left alone, and the window stays open after the champ select.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:57:53 +01:00
nessarandClaude Opus 5.5 c5ed246668 Record the Windows packaging decisions and today's install run (#57)
CI / core (pull_request) Successful in 1m18s
CI / core (push) Successful in 1m20s
ADR-0005: Velopack packer only, our own Ed25519 manifest, full packages,
accepted root-launcher path (same-user write), static C runtime.
The guide records the 1.0.0 run: non-elevated silent install, Start Menu
shortcut opening the installed exe with existing data, uninstall and
reinstall keeping config, Seasons and Parties, tampered package refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:53:48 +01:00
nessarandClaude Opus 5.5 611a19ce28 Link the C runtime statically instead of shipping vcruntime140.dll (#57)
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>
2026-11-20 10:47:54 +01:00
nessarandClaude Opus 5.5 18e9db54fc Verify the whole release folder in core and rebuild packaged sources (#57)
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>
2026-11-20 10:43:02 +01:00
nessarandClaude Opus 5.5 f90ae109b9 Package a per-user Windows installer and signed full update packages (#57)
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>
2026-11-20 10:34:14 +01:00
nessar fac082e51f Documenter la refonte d’Arena Tracker et sa maquette interactive
CI / core (pull_request) Successful in 38s
CI / core (push) Successful in 1m19s
2026-11-19 23:08:13 +01:00
nessar a537999229 research
CI / core (push) Successful in 50s
2026-11-19 20:09:16 +01:00
nessar a2d58c000c Préciser les dégâts observables par objet et amélioration (#23)
CI / core (pull_request) Successful in 42s
CI / core (push) Successful in 40s
2026-11-18 00:45:52 +01:00
nessar 21212a11a2 Document Arena match statistics and post-game availability (#23) 2026-11-18 00:45:52 +01:00
nessarandClaude Opus 5.5 28319fc133 Benchmark budgets before each major release instead of on every change
CI / core (push) Successful in 1m10s
Every change is still written to be light (rule #1), but agents no longer
run the probes per change: a full benchmark on the reference machine checks
the budgets before each major release, and a release over budget does not
ship. AGENTS.md links to CLAUDE.md so other agents read the same rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 23:47:57 +01:00
nessarandClaude Opus 5.5 e1ff92185a Give a part of the page its own view only for a reason (#31)
CI / core (push) Successful in 40s
CI / core (pull_request) Successful in 1m11s
#31 measured that an uncached child view renders again with its parent
and saves nothing, and that caching the charts saved about 0.1 ms per
hovered frame and nothing on window moves. A part gets a view when it
owns state that changes on its own, or as a measured, tested cache;
other parts render as functions in their parent's render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:38:36 +01:00
nessarandClaude Opus 5.5 8318a5875e Draw the champion table and the charts more cheaply (#31)
CI / core (pull_request) Successful in 1m12s
The champion table is now the app's own view, a uniform_list with one
plain element per cell, instead of gpui-component's DataTable, which
gave each row a horizontal virtual list and each cell its own layout,
id and accessibility node. A full frame of the statistics page costs a
third less: on the manual checks machine, drawing it went from 2.37 to
1.57 ms at the median and from 3.72 to 2.50 ms at the 99th percentile.
Sorting by header click, scrolling, click-to-select (now following the
champion through sorts and reloads), stripes and hover stay; dragging
column edges, arrow-key selection and screen-reader table roles go.
Columns shrink with a narrow window, clipped, with room left for the
scrollbar; an ellipsis cost 0.2 ms per frame.

The charts row is a cached view of fixed height, so hovering a row no
longer paints the charts again (about 0.1 ms at the median, 0.2 ms at
the 99th percentile). A structural test guards it, with GPUI's own test
support as a dev-dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:17:07 +01:00
nessarandClaude Opus 5.5 2c1dde684c Add a hover probe and a profile build to break down a frame (#27)
CI / core (pull_request) Successful in 42s
CI / core (push) Successful in 1m10s
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>
2026-11-17 20:11:32 +01:00
nessarandClaude Opus 5.5 e13db17bcb Make fluid and light the app's rule #1, with measurable budgets
CI / core (pull_request) Successful in 1m7s
CI / core (push) Successful in 45s
docs/performance.md sets five budgets measured on the reference laptop
on release builds (frame cost, idle CPU, hidden window, memory,
background work), a ratchet that only lowers them, and how to measure.
CLAUDE.md and the README point to it.

ADR-0004 records that GPUI is not patched to fix the stutter of #17:
upstream refused the same change (zed#66745), so the page's own
rendering cost has to come down instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 01:27:27 +01:00
nessarandClaude Fable 5.2 289ceed6a7 Add domain glossary, ADRs and agent docs
CONTEXT.md holds the glossary agreed during the design interview and the
French word shown in the interface for each term. The three ADRs record
the two data sources, GPUI through gpui-kit pinned at 0.9.1, and building
with the Windows toolchain driven from WSL.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:04:08 +01:00