:rubberduck:

there's a weird bug with codebases ? not sure how to debug but if i use script which utilize codebase during the flow execution it's just succed with null
job=01970191-e452-d039-dd41-412c8ec31839 tag=bun worker=wk-default-ftqms-dK6js hostname=windmill-workers-default-fd964f9b6-ftqms

loaded from local cache: /tmp/windmill/cache/bun/efae154f31fd490dbbf36997ebdc9abf04c3ec7190fa83e6ce88a74af5412e05


--- BUN BUNDLE SNAPSHOT EXECUTION ---
job=01970191-e452-d039-dd41-412c8ec31839 tag=bun worker=wk-default-ftqms-dK6js hostname=windmill-workers-default-fd964f9b6-ftqms

loaded from local cache: /tmp/windmill/cache/bun/efae154f31fd490dbbf36997ebdc9abf04c3ec7190fa83e6ce88a74af5412e05


--- BUN BUNDLE SNAPSHOT EXECUTION ---
it's working as usual if i just execute directly
4 Replies
Neco | nokta.dev
Neco | nokta.devOP7d ago
Oh okay i see a clue
No description
Neco | nokta.dev
Neco | nokta.devOP7d ago
while i was testing i was using /api/ etc similar pattern as /f/ this was working fine during preview iterations in prod didn't once i change the import to relative
import { Document } from "../../../api/db/schema.ts";
import { FileSystem } from "@effect/platform";
import { SurrealDBService, type SurrealdbSystem } from "../../../api/lib/db.ts";
import { Document } from "../../../api/db/schema.ts";
import { FileSystem } from "@effect/platform";
import { SurrealDBService, type SurrealdbSystem } from "../../../api/lib/db.ts";
it's started work
rubenf
rubenf7d ago
what version are you in?
Neco | nokta.dev
Neco | nokta.devOP7d ago
v1.491.5

Did you find this page helpful?