Commit graph

33 commits

Author SHA1 Message Date
Khushboo Verma
e2b2df1e31 Fix formatting 2024-04-29 21:18:36 +05:30
Khushboo Verma
0dd908b14c Fix formatting 2024-04-29 19:47:29 +05:30
Khushboo Verma
3123bf6b72 Fix formatting 2024-04-29 19:16:17 +05:30
Khushboo Verma
564fe96eec Resolve merge conflicts 2024-04-29 19:05:51 +05:30
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
Khushboo Verma
974104f8b0 address PR comments 2024-03-04 21:30:06 +01:00
Khushboo Verma
727fe2c9a9 Update newBuild condition 2024-02-26 12:33:54 +05:30
Khushboo Verma
353092ba00 Remove create build endpoint 2024-02-26 00:05:00 +05:30
Khushboo Verma
0e3a354f1f Create build document in API instead of worker 2024-02-25 19:13:55 +05:30
Khushboo Verma
a02a03e322 Fetch build document from DB 2024-02-24 00:13:11 +05:30
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
Khushboo Verma
6ebca949c0 Fixed composer error 2024-02-18 18:04:16 +05:30
Khushboo Verma
ed3d598f2e Added cancel build endpoint 2024-02-18 18:01:25 +05:30
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