add-bug
無料Add a new Remotion bug entry to packages/bugs/api/[v].ts. Use when the user describes a bug and affected Remotion versions that should be surfaced through the bugs API.
日本語の概要は準備中です。原文の説明を表示しています。
Classify and wire Remotion Studio config options as either startup-fixed or reloadable while preventing mixed lifecycle behavior across consumers. Use when adding, changing, or reviewing a Config setter or CLI option consumed by Studio, its preview server, compiler, HTML bootstrap, public-folder watcher, or render queue.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Make reload behavior explicit for every Studio-facing option. A config file is reset and re-executed when it changes, but a consumer only observes the new value if its code reads the option again.
Inspect every Studio consumer, then assign one lifecycle to the whole option:
If any consumer must be startup-fixed, make the option startup-fixed for all Studio consumers. Do not implement mixed lifecycle behavior.
Do not infer reloadability from Config.set*() state being updated. Config re-execution updates module state regardless of whether an already-created consumer observes it.
Resolve the option once in packages/cli/src/studio.ts before calling startStudio():
const fixedValue = option.getValue({commandLine: parsedCli}).value;
await StudioServerInternals.startStudio({
fixedValue,
});
Pass the value, not a getter, through startStudio(), startServer(), and the consumer. Keep new internal parameters required; use T | null when absence is valid.
Capture startup-fixed render settings in StudioRenderJobFixedConfig at the Studio queue boundary and thread that object into the job processor. Do not call option.getValue() from the processor, because config state may have changed since Studio startup.
Typical startup-fixed consumers include the Studio port, entry point, active compiler choice and override, polling mode, public directory and watcher, network binding, and cross-site-isolation headers.
Read reloadable options through a getter that retains CLI precedence:
const getValue = () =>
option.getValue({commandLine: parsedCli}).value;
await StudioServerInternals.startStudio({
getValue,
});
Pass the getter as a required internal callback and invoke it only at the boundary that should observe config changes, such as generating Studio HTML after the config-file-changed browser reload. Do not evaluate the getter earlier and pass its result onward.
Use the existing getStudioRuntimeConfig() path for values already represented by StudioRuntimeConfig. Be careful when extending that exported type: adding a required property can be a public API break. For independent HTML bootstrap values, pass a dedicated getter through the internal Studio server layers.
Only use this pattern when all Studio consumers are reloadable. Typical examples include UI behavior and HTML bootstrap defaults that do not require rebuilding initialized resources.
Search all reads of the option and decide each one independently:
rg -n "myOption|setMyOption|my-cli-flag" packages
If the consumers do not all support reloading, capture the option once at Studio startup and pass that same value to every consumer. For example, if the active preview compiler cannot change bundlers, future render jobs must retain the startup bundler choice as well.
Treat aliases as one option. If a deprecated setter updates multiple underlying values, make every affected Studio consumer follow the stricter startup-fixed lifecycle.
Ensure config reload resets the option before executing the changed file, so deleting a setter restores the default. Options registered through BrowserSafeApis.options and exposed directly through Config are reset by resetBrowserSafeConfigOptions(). Add an explicit reset in ConfigInternals.resetConfigOptions() for custom module state.
Preserve transactional reload behavior: an invalid changed config must leave the previous valid configuration active.
Use existing checks or a manual workflow to verify the classification:
null explicitly when no value exists.Run focused builds and checks for the affected packages:
bunx turbo run make lint formatting --filter='@remotion/cli' --filter='@remotion/studio-server'
bun test packages/cli/src/test/config-reload.test.ts packages/cli/src/test/config-reset.test.ts
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Add a new Remotion bug entry to packages/bugs/api/[v].ts. Use when the user describes a bug and affected Remotion versions that should be surfaced through the bugs API.
日本語の概要は準備中です。原文の説明を表示しています。
Add a new Remotion CLI or config option by creating an AnyRemotionOption, registering CLI parsing, wiring config setters, and updating documentation. Use when adding or converting command-line flags or Remotion options.
日本語の概要は準備中です。原文の説明を表示しています。
Add a new effect to @remotion/effects, including implementation, package exports, docs, demos, preview images, Remotion skill updates, formatting, and builds.
日本語の概要は準備中です。原文の説明を表示しています。
Add a new expert to the Remotion experts page
日本語の概要は準備中です。原文の説明を表示しています。
Add a new package to the Remotion monorepo, including package scaffolding, monorepo registration, documentation, build scripts, and release checklist updates. Use when creating a new @remotion package.
日本語の概要は準備中です。原文の説明を表示しています。
Add a new sound effect to @remotion/sfx
日本語の概要は準備中です。原文の説明を表示しています。