/ proof-of-concept / toy-instruments
Sign in
proof-of-concept / toy-instruments

Widget: Open the full app, the bundle's own instrument page in a closeable full-window overlay; unedited form fields keep their exact values, so the page and the widget hash the same cache keys; vault1 site in README

Deploy to GitHub Pages · #10 · push by owner · main · 3760879 · .github/workflows/pages.yml ·
build 1m 21sRaw log
Runner
Job build on ubuntu-latest
Checking out proof-of-concept/toy-instruments at 3760879b
Container started from catthehacker/ubuntu:act-latest
▸ Post actions/setup-node@v4
(node:347) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4
Using mochi's built-in checkout (actions/checkout@v4)
proof-of-concept/toy-instruments is already checked out at 3760879b (mochi checks out before the job starts)
actions/setup-node@v419s
▸ actions/setup-node@v4
Downloading actions/setup-node@v4 (49933ea5288c)
Attempting to download 22...
(node:21) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Bad credentials
Falling back to download directly from Node
Acquiring 22.23.3 - x64 from https://nodejs.org/dist/v22.23.3/node-v22.23.3-linux-x64.tar.gz
Extracting ...
[command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /mochi/temp/3cb1b2f9-8b9b-4351-9b2c-c1a278e09c8e -f /mochi/temp/f8260623-913b-46ec-9b07-30b750594c8b
Adding to the cache ...
Done
▾ Environment details
node: v22.23.3
npm: 10.9.9
yarn: 
WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Run npm ci7s
▸ Run npm ci

> toy-instruments@0.1.0 prepare
> vite build -c vite.embed.config.ts

vite v7.3.7 building client environment for production...
transforming...
✓ 33 modules transformed.
rendering chunks...
computing gzip size...
embed-dist/toy-instruments-embed.js  1,060.52 kB │ gzip: 242.28 kB
✓ built in 3.14s

added 62 packages, and audited 63 packages in 7s

15 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 moderate, 2 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
Run npm test14s
▸ Run npm test

> toy-instruments@0.1.0 test
> vitest run


 RUN  v3.2.7 /mochi/workspace

stdout | test/cymbal.test.ts > cymbal lattice > bending energy matches the plate (nu = 1/3) for bending, doming and twisting
cylinder bending energy / plate 0.9997
sphere bending energy / plate 0.9994
saddle bending energy / plate 0.9994
twist bending energy / plate 0.9994

stdout | test/cymbal.test.ts > cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate
free (2,0) measured 67.4 Hz, ideal 69.8 Hz

stdout | test/cymbal.test.ts > cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed
contact samples 24 peak N 865 balance 7.47e-3

stdout | test/cymbal.test.ts > cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating
mean y 0.0000 mm, max |y| 2.252 mm

 ✓ test/cymbal.test.ts (4 tests) 8980ms
   ✓ cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate  6545ms
   ✓ cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed  933ms
   ✓ cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating  1406ms
 ✓ test/string.test.ts (5 tests) 610ms
stdout | test/drum.test.ts > drum > small centre press rings near the ideal membrane fundamental
f01 measured 196.3 ideal 193.8

stdout | test/drum.test.ts > drum > mallet bounces off and energy balances
contact ms 8.58 peak N 22.0 balance 0.000003618597862471249

 ✓ test/drum.test.ts (3 tests) 969ms
   ✓ drum > small centre press rings near the ideal membrane fundamental  502ms
   ✓ drum > mallet bounces off and energy balances  460ms
 ✓ test/cache.test.ts (2 tests) 10ms
 ✓ test/partial.test.ts (1 test) 289ms
 ✓ test/hinge.test.ts (2 tests) 6ms

 Test Files  6 passed (6)
      Tests  17 passed (17)
   Start at  14:31:09
   Duration  12.86s (transform 363ms, setup 0ms, collect 505ms, tests 10.86s, environment 1ms, prepare 483ms)
Run npm run build28s
▸ Run npm run build

> toy-instruments@0.1.0 build
> tsc --noEmit && vite build

vite v7.3.7 building client environment for production...
transforming...
✓ 34 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.69 kB │ gzip:   0.42 kB
dist/assets/worker-BKGH6Imb.js   42.29 kB
dist/assets/index-DQVPHX33.css    8.18 kB │ gzip:   2.36 kB
dist/assets/index-BrTwM6yI.js   615.94 kB │ gzip: 164.94 kB
✓ built in 22.82s
actions/configure-pages@v50s
▸ actions/configure-pages@v5
Using mochi's built-in configure-pages (actions/configure-pages@v5)
This site will be served at https://toy-instruments--proof-of-concept.vault1-sites.magland.org/
actions/upload-pages-artifact@v32s
▸ actions/upload-pages-artifact@v3
Downloading actions/upload-pages-artifact@v3 (56afc609e742)
▸ Archive artifact
▾ Archive artifact
./
./index.html
./assets/
./assets/worker-BKGH6Imb.js
./assets/index-BrTwM6yI.js
./assets/index-DQVPHX33.css
▸ Upload artifact
Using mochi's built-in upload-artifact (actions/upload-artifact@v4)
Uploading artifact github-pages (1 file, 677376 bytes)
↑↓ move↵openescclose