app: cherry-pick rune's pause and sound fixes onto the checkout

Rune comes from app/vendor/rune now, a checkout of 63ad0209 on branch
ported, carrying the four commits of upstream issues 1320 (a pause while
a clip is layered holds the layer's picture and time) and 1325 (a video's
sound is read ahead of the clock and leads it). Both were written against
eb9f1104 and ported across the refactors since. The faults are the first
two and the third in docs/rune-upstream.md; the app's workarounds in
review.rs stay until the fixes arrive upstream.
This commit is contained in:
vhaudiquet committed 2026-11-22 22:16:30 +01:00
1 parent 80fef698ce
commit 5bf262b82b
3795 files changed
+663463 -28

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { bindings, defineConfig, triggers } from "cf/config"
import { BASE_PATH, hostForMode } from "./src/base.ts"
// `--mode dev` builds and deploys the dev Worker on dev.anoma.ly; any other mode is production on anoma.ly.
// The account comes from CLOUDFLARE_ACCOUNT_ID.
export default defineConfig(({ mode }) => {
const host = hostForMode(mode)
return {
worker: {
name: mode === "dev" ? "rune-www-dev" : "rune-www-production",
compatibilityDate: "2026-10-13",
entrypoint: "./worker.ts",
assets: { runWorkerFirst: true },
env: {
ASSETS: bindings.assets(),
CANONICAL_HOST: bindings.text(host),
},
triggers: [
triggers.fetch({ pattern: `${host}${BASE_PATH}`, zone: host }),
triggers.fetch({ pattern: `${host}${BASE_PATH}/*`, zone: host }),
],
workersDev: false,
previewUrls: false,
},
}
})