@pagermon/ingest-core 1.2.0 → 1.3.1

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.2.0"
2
+ ".": "1.3.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.1](https://github.com/eopo/pagermon-ingest-core/compare/1.3.0...1.3.1) (2026-03-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **worker:** improve error handling for unhealthy API state ([6f3b984](https://github.com/eopo/pagermon-ingest-core/commit/6f3b984f88b991345ae153e6c161b21ceeaa8119))
9
+
10
+ ## [1.3.0](https://github.com/eopo/pagermon-ingest-core/compare/v1.2.0...1.3.0) (2026-03-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * add dependabot configuration for npm, docker, and GitHub Actions ([d45e928](https://github.com/eopo/pagermon-ingest-core/commit/d45e928cd62dd30315fbba636e3f03b6baabca82))
16
+ * enhance release-please workflow with optional release version input ([dd998a7](https://github.com/eopo/pagermon-ingest-core/commit/dd998a722fd12b7ccb44d2af6772d7a1126424a7))
17
+ * modify CI workflow to target 'dev' branch instead of 'develop' ([dd998a7](https://github.com/eopo/pagermon-ingest-core/commit/dd998a722fd12b7ccb44d2af6772d7a1126424a7))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **deps:** bump actions/setup-node from 4 to 6 ([0ce56bf](https://github.com/eopo/pagermon-ingest-core/commit/0ce56bff21116c43630d923b9113c224447ca507))
23
+ * **deps:** bump actions/setup-node from 4 to 6 ([1b96a87](https://github.com/eopo/pagermon-ingest-core/commit/1b96a87dcf866d3f564c0c231169d6ec719248a7))
24
+ * update dependabot prefixes to use "fix" instead of "chore" for better clarity ([dd998a7](https://github.com/eopo/pagermon-ingest-core/commit/dd998a722fd12b7ccb44d2af6772d7a1126424a7))
25
+
3
26
  ## [1.2.0](https://github.com/eopo/pagermon-ingest-core/compare/v1.1.0...v1.2.0) (2026-03-10)
4
27
 
5
28
 
@@ -90,7 +90,7 @@ class Worker {
90
90
 
91
91
  // Check if API is unhealthy - always retry regardless of error type
92
92
  if (!this.health.isHealthy) {
93
- throw new Error(`API unhealthy: ${error.message}`);
93
+ throw new Error(`API unhealthy: ${error.message}`, { cause: error });
94
94
  }
95
95
 
96
96
  // Use error.retryable property to decide if BullMQ should retry
@@ -14,11 +14,11 @@ const packageJson = JSON.parse(readFileSync(join(__dirname, '..', '..', 'package
14
14
  const { version } = packageJson;
15
15
 
16
16
  export async function runService({ adapterFactory } = {}) {
17
- let orchestrator = null;
18
- let api = null;
19
- let queue = null;
20
- let health = null;
21
- let worker = null;
17
+ let orchestrator;
18
+ let api;
19
+ let queue;
20
+ let health;
21
+ let worker;
22
22
 
23
23
  async function shutdown(code = 0) {
24
24
  console.log('[MAIN] Shutting down...');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagermon/ingest-core",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "PagerMon ingest core runtime",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -58,8 +58,9 @@
58
58
  "@commitlint/cli": "^20.4.3",
59
59
  "@commitlint/config-conventional": "^20.4.3",
60
60
  "@evilmartians/lefthook": "^2.1.3",
61
+ "@eslint/js": "^10.0.0",
61
62
  "@vitest/coverage-v8": "^2.1.8",
62
- "eslint": "^9.16.0",
63
+ "eslint": "^10.0.3",
63
64
  "eslint-config-prettier": "^9.1.0",
64
65
  "eslint-plugin-prettier": "^5.2.1",
65
66
  "globals": "^15.14.0",
@@ -4,7 +4,7 @@
4
4
  "release-type": "node",
5
5
  "package-name": "@pagermon/ingest-core",
6
6
  "include-component-in-tag": false,
7
- "include-v-in-tag": true,
7
+ "include-v-in-tag": false,
8
8
  "changelog-path": "CHANGELOG.md",
9
9
  "bump-minor-pre-major": true,
10
10
  "bump-patch-for-minor-pre-major": false