Commit 48b752f
committed
chore: remove deno.lock files and improve SQL queue handling in tests (#352)
# Remove deno.lock files and improve test cleanup
This PR removes the `deno.lock` files from the `cpu_intensive` and `max_concurrency` edge worker functions, which helps prevent dependency version conflicts.
It also improves the cleanup process in the end-to-end tests:
- Replaces try/catch blocks with conditional queue drops using SQL EXISTS checks
- Adds cleanup for stale worker entries in the `pgflow.workers` table
- Ensures proper queue recreation sequence in the performance test
These changes make the tests more reliable by ensuring a clean environment before each test run.1 parent 72e199c commit 48b752f
File tree
4 files changed
+16
-79
lines changed- pkgs/edge-worker
- supabase/functions
- cpu_intensive
- max_concurrency
- tests/e2e
4 files changed
+16
-79
lines changedLines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 0 additions & 34 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | | - | |
25 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments