Files
triggerdotdev--trigger.dev/apps
Eric Allam bd525468eb fix(webapp): normalize taskKind in API + drop unsafe casts in playground action
ApiRunListPresenter was returning `run.taskKind` raw from ClickHouse
where the column defaults to `""` for pre-migration rows, while the
dashboard's NextRunListPresenter normalizes to `"STANDARD"`. API
consumers and the dashboard now agree.

Playground action's two `as unknown as AuthenticatedEnvironment`
casts were redundant — `findEnvironmentBySlug` already returns
`Promise<AuthenticatedEnvironment | null>`. Drop the casts (and the
now-unused import) so a future change to the function's return shape
actually surfaces as a type error instead of crashing at runtime.
2026-05-10 22:11:25 +01:00
..