Skip to content

Pin reactor-runtime in the brightness and echo example requirements - #155

Merged
ggoldens merged 2 commits into
mainfrom
german/fix-examples-runtime-pin
Aug 27, 2026
Merged

Pin reactor-runtime in the brightness and echo example requirements#155
ggoldens merged 2 commits into
mainfrom
german/fix-examples-runtime-pin

Conversation

@ggoldens

Copy link
Copy Markdown
Contributor

Why

reactor build --no-dockerfile no longer derives the runtime's pip install from reactor.yaml's build.runtime_version alone. Running either example with the current reactor CLI fails with ModuleNotFoundError: No module named 'reactor_runtime', because the generated image never installs the runtime package.

What Changed

Added reactor-runtime==3.2.4 to both examples/brightness/requirements.txt and examples/echo/requirements.txt, matching the pattern reactor init scaffolds today (an exact pin in requirements.txt, kept in sync with build.runtime_version). Also added the apiVersion: v1beta / kind: VideoModel header to both reactor.yaml files, which reactor doctor flags as missing otherwise.

Verified both examples build and run cleanly end to end (reactor build --no-dockerfile && reactor run), /health reporting healthy and the model loading with its expected tracks/commands.

🤖 Generated with Claude Code

reactor build --no-dockerfile no longer derives the runtime's pip
install from reactor.yaml's build.runtime_version alone - the pin
belongs in requirements.txt, matching what reactor init scaffolds.
Without it the generated image never installs reactor-runtime and
reactor run fails with ModuleNotFoundError. Both examples also pick
up the apiVersion/kind header reactor.yaml now expects.

Signed-off-by: German <german@Germans-MacBook-Pro.local>
@ggoldens
ggoldens requested a review from a team as a code owner August 26, 2026 18:55
reactor build with no flags requires an on-disk Dockerfile; neither
example ships one, so the documented reactor build / reactor run
commands fail with "dockerfile not found". Both READMEs now pass
--no-dockerfile, matching how the workspace actually builds.

Signed-off-by: German <german@Germans-MacBook-Pro.local>

ggoldens commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Aug 27, 8:03 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 27, 8:03 PM UTC: @ggoldens merged this pull request with Graphite.

@ggoldens
ggoldens merged commit 86d427c into main Aug 27, 2026
8 checks passed
@ggoldens
ggoldens deleted the german/fix-examples-runtime-pin branch August 27, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants