@owlmeans/queue 0.1.18-rc.37 → 0.1.18-rc.39

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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ and on the driver only where the application wires itself up.
16
16
  ## Installation
17
17
 
18
18
  ```bash
19
- bun add @owlmeans/queue@^0.1.18-rc.37
19
+ bun add @owlmeans/queue@^0.1.18-rc.39
20
20
  ```
21
21
 
22
22
  ## Concepts
@@ -301,7 +301,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
301
301
  your project's skill store (`.agents/skills/`):
302
302
 
303
303
  ```sh
304
- npx @owlmeans/agent-skills@^0.1.18-rc.45
304
+ npx @owlmeans/agent-skills@^0.1.18-rc.47
305
305
  ```
306
306
 
307
307
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/queue",
4
- "version": "0.1.18-rc.37",
5
- "generatedAt": "2026-10-01T23:27:48.724Z",
4
+ "version": "0.1.18-rc.39",
5
+ "generatedAt": "2026-10-03T20:05:07.586Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/queue
9
9
 
10
10
  **Layer:** Infra
11
- **Install:** `"@owlmeans/queue": "^0.1.18-rc.37"` in `dependencies`
11
+ **Install:** `"@owlmeans/queue": "^0.1.18-rc.39"` in `dependencies`
12
12
 
13
13
  Backend transport contracts only. It carries no broker code — a driver package
14
14
  (`@owlmeans/redis-queue`) implements them. Depend on this one from a shared backend package;
@@ -64,6 +64,8 @@ job name, registered while the context is wired.
64
64
  ## Writing the processor
65
65
 
66
66
  ```typescript
67
+ const log = logger('maintenance') // from '@owlmeans/log'
68
+
67
69
  worker.process<Record<string, never>, SweepReport>(APP_MAINTENANCE, 'app:maintenance:reconcile',
68
70
  async job => {
69
71
  const report = { scanned: 0, repaired: 0, failed: 0 }
@@ -74,12 +76,12 @@ worker.process<Record<string, never>, SweepReport>(APP_MAINTENANCE, 'app:mainten
74
76
  report.repaired += await reconcile(organization.entityId) ? 1 : 0
75
77
  } catch (error) {
76
78
  report.failed++
77
- console.error(`reconcile ${organization.entityId}`, error)
79
+ log.error('Reconcile failed', { entityId: organization.entityId, error })
78
80
  }
79
81
  report.scanned++
80
82
  }
81
83
  }
82
- console.info(`[maintenance] ${job.scheduled}`, report)
84
+ log.info('Maintenance run finished', { scheduled: job.scheduled, ...report }, { event: 'job.stop' })
83
85
  return report
84
86
  })
85
87
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/queue",
3
- "version": "0.1.18-rc.37",
3
+ "version": "0.1.18-rc.39",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -31,12 +31,12 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "@owlmeans/auth": "^0.1.18-rc.37",
35
- "@owlmeans/auth-common": "^0.1.18-rc.43",
34
+ "@owlmeans/auth": "^0.1.18-rc.38",
35
+ "@owlmeans/auth-common": "^0.1.18-rc.45",
36
36
  "@owlmeans/context": "^0.1.18-rc.32",
37
- "@owlmeans/entrypoint": "^0.1.18-rc.38",
37
+ "@owlmeans/entrypoint": "^0.1.18-rc.39",
38
38
  "@owlmeans/error": "^0.1.18-rc.36",
39
- "@owlmeans/resource": "^0.1.18-rc.37",
39
+ "@owlmeans/resource": "^0.1.18-rc.38",
40
40
  "@owlmeans/route": "^0.1.18-rc.33"
41
41
  }
42
42
  }