Files
feuerwerk/tools
adminandClaude Opus 5.5 beb95c17a7
feuerwerk / gate (push) Successful in 6m7s
feuerwerk / suite (push) Successful in 20m38s
Let free videos wait while a run waits for its driven videos (#437)
A run that waits for its driven videos does not tick its world, so the
clock of every free video sprite stands. Its player played on anyway.
The picture ran ahead of the clock by the length of the wait, so On
video finished came late and a Pause video sent the picture back.

- VideoLibrary.setHeld holds the free players next to the toolbar
  pause. PlaySession and Player switch it with the wait at the start,
  after a Load scene and while a recording sets up its encoders.
- The hold starts in waitForVideos, not on the next tick. Otherwise a
  free video started at Play would be a frame ahead.
- A free player without its first picture plays on until it has one.
  Held at once, it would never get one.
- startRun and endRun clear the hold, so a run that ends while it waits
  leaves no held preview behind.

Found on the way:

- Resuming called play() on a clip without Loop that already stood at
  its end, and play() starts such a video over. This happened after
  the toolbar pause already and would have happened after every waiting
  Load scene. Such a clip now stays at its end.

Tests:

- Unit video-library 14/14, 2 of them new. 7 deliberate breaks, all
  red.
- e2e 66 (atx): ALL PASSED, 40 checks. New 66t: the driven video came
  1.5 s late, the wait took 1686 ms. The free video stayed red all
  along, blue came at 0.983 s, white at 1.483 s and On video finished
  at 2.017 s. Without the hold the free video was white in the first
  frame and only 66t was red.
- Gate (atx): CHECK EXIT 0, 339 files, 5253 tests. The guard for the
  clip end came in while the gate ran. It is checked with tsc, lint and
  its test file with 3 deliberate breaks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 23:33:59 +01:00
..
Plugins belong to the project, and they load before it: the project file gained the field plugins: ["demo-plugin.js"] (default empty, no formatVersion bump), the Plugins tab's switch writes into it as an ordinary undo step (SetPluginActiveCommand) instead of into a server-wide plugins.json, and the start order is turned around - startPlugins only fetches the list of files, then editor.boot() runs and ProjectStore.load(id, prepare) hands the raw JSON through before it is deserialized, where pluginsOf(raw) reads the list and PluginManager.syncTo() activates exactly those; that is the point of the issue, because what a plugin registers has to stand there before normalizeGraph would throw it away as unknown (#126, #127), a project switch first stops what the new project does not name and then starts what it does, a file the server does not have is passed over silently, and after signing out the manager is dead so a late event cannot start anything in a torn-down session; on the server plugins.json, PluginStore::setActive, isActive, the route PUT ?r=plugins/{file} and the 403 for inactive modules are gone and GET ?r=plugins only answers {file,bytes,updatedAt}, which makes every plugin file fetchable - the consequence accepted in #117, written down in the wiki for #115 and #116; publishPlugins(root) only copies files now, the seeder switches the demo plugin on in the fixture project, and the Plugins tab carries a puzzle piece as its icon while only a plugin's own tab still goes without one (the knob and the socket are cubic curves, not arcs, which Pixi's parser draws as a spike after an L); 3 new e2e checks in module 38 and 5 new unit tests cover the project as the owner of the switch, its undo, the order, pluginsOf against crude input and an unknown file name (#119)
2026-09-20 14:24:27 +02:00