Commit graph

25 commits

Author SHA1 Message Date
Matej Bačo
7d42db82a0 Fix python failing logs 2024-05-06 15:05:13 +00:00
Eldad Fux
beda5293b4 Fix format 2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Steven Nguyen
7273d0e117
Escape function build command
The extra trim is neded to because the extra quotes interfere with
additional operations in the executor/orchestration library.
2024-03-13 10:17:37 +01:00
Steven Nguyen
b9b891a90b
fix(builds): fix float to int warning
Implicit conversion of float to int is deprecated and emits:

Deprecated: Implicit conversion from float N to int loses precision

Use floor to truncate.
2024-03-10 23:16:29 +01:00
Steven Nguyen
b7be370a53
fix(builds): use standard Exception 2024-03-10 23:13:55 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Jake Barnby
379c79dae9
Consistent naming for device resources 2024-02-21 03:10:51 +13:00
Jake Barnby
2f711c84ed
Remove callback resources from workers 2024-02-21 00:40:55 +13:00
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Torsten Dittmann
62e459c581 fix: workers 2024-01-24 12:29:36 +01:00
Torsten Dittmann
e148617d3e fix: builds worker 2024-01-24 12:20:13 +01:00
Torsten Dittmann
9f5a0312cf Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-01-24 11:24:59 +01:00
Matej Bačo
92c4c52a81 QA changes 2024-01-02 13:02:11 +00:00
Matej Bačo
9fb6525063 Add new tags from worker, fix queue name 2023-11-22 14:50:57 +01:00
shimon
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
shimon
9a6d88a819 addressing some comments 2023-10-17 06:44:36 +03:00
shimon
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
shimon
6d60b0bd8c sync with 1.4 2023-10-03 11:40:34 +03:00
shimon
2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
shimon
b02d51c794 migrations worker 2023-10-01 20:39:26 +03:00
shimon
9cf83151cd certificates worker 2023-09-28 20:37:07 +03:00
shimon
a10246a9bd build && audit && usage workers 2023-09-28 13:45:15 +03:00
shimon
fd4f86b1c1 functions/builds/deletes worker 2023-06-11 13:29:04 +03:00
shimon
62c619434e functions/builds/deletes worker 2023-06-05 19:13:00 +03:00