You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): wait for model actions before dispatching conformance tests
genkit dev:test-model dispatched test requests immediately after the
runtime appeared, without checking whether the target model actions
were actually registered. This caused 404 errors on /api/runAction
for models that hadn't finished registering yet (especially with
non-JS runtimes that may have slower startup).
Add waitForActions() that polls /api/actions after the runtime is
detected and waits until all model keys referenced in the test
suites are present before starting tests. Polls every 500ms for
up to 30 seconds, with periodic progress logging.
Fixes#4599
0 commit comments