openmates 0.16.0-alpha.3 → 0.16.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24640,6 +24640,7 @@ var CORE_WORKER_SERVICES = [
24640
24640
  "task-worker",
24641
24641
  "user-init-worker",
24642
24642
  "core-worker",
24643
+ "reminder-worker",
24643
24644
  "task-scheduler",
24644
24645
  "app-ai-worker",
24645
24646
  "app-images-worker",
@@ -24724,6 +24725,7 @@ var INTEGRATION_SECRET_PREFIXES = [
24724
24725
  "SECRET__REVOLUT_BUSINESS__",
24725
24726
  "SECRET__INVOICE_"
24726
24727
  ];
24728
+ var CELERY_PROBE_CHECK_TIMEOUT_SECONDS = 15;
24727
24729
  var RUNTIME_CHECKS = {
24728
24730
  core: [
24729
24731
  { id: "compose.required_services", required: true, timeoutSeconds: 15 },
@@ -24731,8 +24733,8 @@ var RUNTIME_CHECKS = {
24731
24733
  { id: "core.database", required: true, timeoutSeconds: 10 },
24732
24734
  { id: "core.cache", required: true, timeoutSeconds: 10 },
24733
24735
  { id: "core.vault", required: true, timeoutSeconds: 10 },
24734
- { id: "core.worker_queue", required: true, timeoutSeconds: 15 },
24735
- { id: "core.scheduler_freshness", required: true, timeoutSeconds: 5 },
24736
+ { id: "core.worker_queue", required: true, timeoutSeconds: CELERY_PROBE_CHECK_TIMEOUT_SECONDS },
24737
+ { id: "core.scheduler_freshness", required: true, timeoutSeconds: CELERY_PROBE_CHECK_TIMEOUT_SECONDS },
24736
24738
  { id: "core.chat_plumbing", required: true, timeoutSeconds: 20 }
24737
24739
  ],
24738
24740
  upload: [
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  requireExactConfirmation,
9
9
  resolveProjectContext,
10
10
  serializeToYaml
11
- } from "./chunk-DPVVIUVO.js";
11
+ } from "./chunk-UUPKYTJ7.js";
12
12
  import "./chunk-IWKP55ZB.js";
13
13
  import "./chunk-MLWBMJEN.js";
14
14
  export {
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  renderPlanList,
40
40
  renderSupportInfo,
41
41
  serializeToYaml
42
- } from "./chunk-DPVVIUVO.js";
42
+ } from "./chunk-UUPKYTJ7.js";
43
43
  import "./chunk-IWKP55ZB.js";
44
44
  import "./chunk-MLWBMJEN.js";
45
45
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.16.0-alpha.3",
3
+ "version": "0.16.0-alpha.5",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -226,12 +226,25 @@ services:
226
226
  mem_limit: ${CORE_WORKER_MEMORY_LIMIT:-3g}
227
227
  environment:
228
228
  <<: *openmates-worker-env
229
- CELERY_QUEUES: persistence,health_check,server_stats,demo,e2e_tests,reminder,push
229
+ CELERY_QUEUES: persistence,health_check,server_stats,demo,e2e_tests,push
230
230
  CELERY_AUTOSCALE_MAX: ${CORE_WORKER_CONCURRENCY:-${CELERY_AUTOSCALE_MAX:-3}}
231
231
  CELERY_AUTOSCALE_MIN: ${CELERY_AUTOSCALE_MIN:-1}
232
232
  CELERY_METRICS_PORT: "9109"
233
233
  command: >
234
- sh -c "chown -R celeryuser:celeryuser /vault-data && gosu celeryuser python -m celery -A backend.core.api.app.tasks.celery_config worker --loglevel=info --queues=persistence,health_check,server_stats,demo,e2e_tests,reminder,push --concurrency=$${CELERY_AUTOSCALE_MAX} --max-tasks-per-child=50 --max-memory-per-child=600000 --prefetch-multiplier=1"
234
+ sh -c "chown -R celeryuser:celeryuser /vault-data && gosu celeryuser python -m celery -A backend.core.api.app.tasks.celery_config worker --loglevel=info --queues=persistence,health_check,server_stats,demo,e2e_tests,push --concurrency=$${CELERY_AUTOSCALE_MAX} --max-tasks-per-child=50 --max-memory-per-child=600000 --prefetch-multiplier=1"
235
+
236
+ reminder-worker:
237
+ <<: *openmates-worker-base
238
+ container_name: reminder-worker
239
+ mem_limit: ${REMINDER_WORKER_MEMORY_LIMIT:-1536m}
240
+ environment:
241
+ <<: *openmates-worker-env
242
+ CELERY_QUEUES: reminder
243
+ CELERY_AUTOSCALE_MAX: ${REMINDER_WORKER_CONCURRENCY:-2}
244
+ CELERY_AUTOSCALE_MIN: ${CELERY_AUTOSCALE_MIN:-1}
245
+ CELERY_METRICS_PORT: "9111"
246
+ command: >
247
+ sh -c "chown -R celeryuser:celeryuser /vault-data && gosu celeryuser python -m celery -A backend.core.api.app.tasks.celery_config worker --loglevel=info --queues=reminder --concurrency=$${CELERY_AUTOSCALE_MAX} --max-tasks-per-child=50 --max-memory-per-child=600000 --prefetch-multiplier=1"
235
248
 
236
249
  workflow-worker:
237
250
  <<: *openmates-worker-base