Compare commits

...

5 Commits

Author SHA1 Message Date
mnovak 56f266a5b9 [repo] Release: 0.1.3
Carries what v0.1.2 was made for, the Windows installer named RoseaDomi_0.1.3_x64-setup.exe (PR #13),
and the 30 s timeout that let the release's tests finish on the runner (PR #14). v0.1.2 was tagged but
never published: both of its runs stopped at the test step.
2026-12-02 22:57:20 +01:00
mnovak b947ac3723 [art-prep] BoardTest: Merge fix/board-test-timeout (PR #14) 2026-12-02 20:03:03 +01:00
mnovak 1cb1ffb8c8 [art-prep] BoardTest: The placeholder comparison gets 30 s, as it timed out at 5 s twice on the release runner 2026-12-02 19:59:31 +01:00
mnovak 666c78f5fe [repo] Release: 0.1.2 2026-12-02 17:57:36 +01:00
mnovak 6f1920e91b [tauri] InstallerName: Merge the installer published as RoseaDomi_<version>_x64-setup.exe (PR #13) 2026-12-02 15:33:19 +01:00
7 changed files with 41 additions and 6 deletions
+34
View File
@@ -0,0 +1,34 @@
# Review — `fix/board-test-timeout`
**What:** the v0.1.2 release runs `r1ahwf1m23cdr` and `rm56nbzfchx5d` both stopped at the `test` step, on one
test: `art-prep` *art/placeholders/ holds exactly what the generator makes* timed out at vitest's default 5 s
(8.7 s in the first run, 5.4 s in the second). Every assertion that ran passed; the work was only slow. The test
reads the 169 SVG stand-ins in `art/placeholders/` and compares each with what the generator makes, while turbo
runs nine other suites on the same runner, in a checkout it has just fetched, so every file is read for the first
time. Run alone on D:, it takes 230 ms.
**How:** that one test gets `{ timeout: 30_000 }`, as `tools/release` already does for its slow suites
(`copy.test.ts` 60 s, `version.test.ts` 30 s), with a comment giving the measured times.
## Findings
1. **Is a longer timeout hiding a real slowdown?** No assertion changed. The test still fails when one stand-in
differs from the generator's output (drill below). 30 s is about three times the slowest time measured on the
runner. A test that takes that long would be a new finding.
2. **Why not a global `testTimeout`?** That would loosen every test in the package, including ones that should
stay fast. Only the test that reads files gets the longer limit.
3. **Why not just dispatch again?** That was tried: the second run failed on the same test. Under the runner's
load, the time sits around the limit, so a retry is a coin toss.
4. **The release:** tag `v0.1.2` points at `666c78f`, which does not have this fix. Nothing was signed or
published from either run. Which tag carries the release is the author's call (HANDOVER).
5. **Soul, privacy, reachability, offline:** a test file only. Nothing a player sees changed, and the bundle is
not rebuilt by this change.
**Test honesty:** with `app-icon-maskable.svg` changed (an attribute added), the test fails in 64 ms on the
content comparison (`expected '<svg data-drill="1"…' to be '<svg xmlns=…'`), not on time. The drill ran on D:
and was reverted.
**Gate (D:, 2026-12-02):** lint 0, typecheck 0, lint:copy 0 problems; `pnpm test` 653 passed (schema 19, identity 5,
release 8, cpu-guard 13, storage 70, content 88, art-prep 80, tauri 99, ui 92, engine 179).
**Not verified:** the test's time on the hub runner with this change. The next release run measures it.
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@rosea/tauri", "name": "@rosea/tauri",
"version": "0.1.1", "version": "0.1.3",
"private": true, "private": true,
"license": "CPAL-1.0", "license": "CPAL-1.0",
"type": "module", "type": "module",
+1 -1
View File
@@ -2614,7 +2614,7 @@ dependencies = [
[[package]] [[package]]
name = "rosea-shell" name = "rosea-shell"
version = "0.1.1" version = "0.1.3"
dependencies = [ dependencies = [
"tauri", "tauri",
"tauri-build", "tauri-build",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rosea-shell" name = "rosea-shell"
version = "0.1.1" version = "0.1.3"
license = "CPAL-1.0" license = "CPAL-1.0"
description = "The Tauri 2 shell of Rosea Domi: a window around the built game, and nothing else." description = "The Tauri 2 shell of Rosea Domi: a window around the built game, and nothing else."
edition = "2024" edition = "2024"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@rosea/app", "name": "@rosea/app",
"version": "0.1.1", "version": "0.1.3",
"private": true, "private": true,
"license": "CPAL-1.0", "license": "CPAL-1.0",
"type": "module", "type": "module",
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "rosea", "name": "rosea",
"private": true, "private": true,
"license": "CPAL-1.0", "license": "CPAL-1.0",
"version": "0.1.1", "version": "0.1.3",
"type": "module", "type": "module",
"packageManager": "pnpm@9.12.3", "packageManager": "pnpm@9.12.3",
"engines": { "engines": {
+2 -1
View File
@@ -67,7 +67,8 @@ describe('the stand-ins', () => {
} }
}); });
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', () => { // 169 files read and compared one by one: 5.4 s and 8.7 s on the release runner, beside nine other suites.
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', { timeout: 30_000 }, () => {
const dir = `${root}art/placeholders/`; const dir = `${root}art/placeholders/`;
const files = readdirSync(dir).filter((f) => f.endsWith('.svg')); const files = readdirSync(dir).filter((f) => f.endsWith('.svg'));
expect(files.map((f) => f.slice(0, -4)).sort()).toEqual([...stand.keys()].sort()); expect(files.map((f) => f.slice(0, -4)).sort()).toEqual([...stand.keys()].sort());