* feat(cache): remove persistent raw values from queue * test: add tests and fix discovered regressions * fix csharp executor after rebase * invalidate script cache after locking * fix lite flow version race * fix flow dependencies lock race * update version flag to `v.1.440`
44 lines
1.5 KiB
SQL
44 lines
1.5 KiB
SQL
INSERT INTO public.script(workspace_id, created_by, content, schema, summary, description, path, hash, language, lock) VALUES (
|
|
'test-workspace',
|
|
'test-user',
|
|
'
|
|
export function main() {
|
|
return "f/system/same_folder_script";
|
|
}
|
|
',
|
|
'{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"required":[],"type":"object"}',
|
|
'',
|
|
'',
|
|
'f/system/same_folder_script', 12340, 'bun', '');
|
|
|
|
INSERT INTO public.script(workspace_id, created_by, content, schema, summary, description, path, hash, language, lock) VALUES (
|
|
'test-workspace',
|
|
'test-user',
|
|
'
|
|
export function main() {
|
|
return "f/system_relative/different_folder_script";
|
|
}
|
|
',
|
|
'{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"required":[],"type":"object"}',
|
|
'',
|
|
'',
|
|
'f/system_relative/different_folder_script', 12341, 'bun', '');
|
|
|
|
|
|
INSERT INTO public.script(workspace_id, created_by, content, schema, summary, description, path, hash, language, lock) VALUES (
|
|
'test-workspace',
|
|
'test-user',
|
|
'
|
|
import { main as test1 } from "/f/system/same_folder_script.ts";
|
|
import { main as test2 } from "../system/same_folder_script.ts";
|
|
import { main as test3 } from "/f/system_relative/different_folder_script.ts";
|
|
import { main as test4 } from "./different_folder_script.ts";
|
|
|
|
export function main() {
|
|
return [test1(), test2(), test3(), test4()];
|
|
}
|
|
',
|
|
'{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"required":[],"type":"object"}',
|
|
'',
|
|
'',
|
|
'f/system_relative/nested_script', 12342, 'bun', ''); |