Bloxez
Bloxez
DDeno
Created by Bloxez on 12/25/2024 in #help
Can we stop a cron job?
I'm building a GraphQL service in Deno, and was thinking to use cron jobs as a means of keeping vector embeddings up to date, as it's simpler than trying to figure out how to update an embedding from a database trigger. So I have created a simple hello world cron task and it launches fine with my service. However, if the database schema is changed, my service "hot reloads", which also attempts to reinitialise the cron aspect, but cron complains that my task is already running. It would be great to have a way to stop tasks. Deno.cron might return a task ID, which we can then use to stop/kill that task. Any thoughts? Merry Xmas to all.
1 replies
DDeno
Created by Bloxez on 12/17/2024 in #help
Leaks Detected
Hey guys - got a couple of blocks of tests that are flagging detected leaks. It would be awesome if we could get more details on these detections. I understand from past issues there are challenges to do with the layers that Deno tests are built on. So this is a bit of a hail-Mary in case someone can guide me as to how to track down a leaked file.
7 replies
DDeno
Created by Bloxez on 5/25/2024 in #help
Deno / Zod / ts-zod-decorators
No description
4 replies
DDeno
Created by Bloxez on 2/6/2024 in #help
Default Lint Rules
Is there a list of the lint rules that are applied by default. When I look at the documentation it mentions all of the recommended rules. I'm migrating some node code, and would like to apply the same rules in node, before I migrate the code to Deno, as that will reduce any friction, and I seem to have some relaxed typing here and there which I'd like to resolve, then migrate.
2 replies
DDeno
Created by Bloxez on 2/4/2024 in #help
Run all test in sub-folder
Hey guys - day one deno newby here. Incredibly inspired by what I've been able to achieve on my first day. I just can't believe how fast tests execute. It's as though they complete as my finger barely leaves the mouse, using VS CODE test runner. I am definitely looking forward to a more integrated test-debug experience. So far I can't get the debugger config to hit a breakpoint. One thing I am unclear on, having admittedly just skimmed the documentation, is how to run all tests in subfolders, from the command line. So if I am in the root of my workspace, should I just be able to run: deno test --allow-all When I do, I get an error, "No test modules found" Thanks, and looking forward to this journey with you all!
5 replies