@camstack/server 1.2.706 → 1.2.707
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/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.707] - 2026-10-31
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Agents receive addon installs and updates again: the convergence dry run no longer blocks every reconcile and holds back only removals.
|
|
15
|
+
|
|
10
16
|
## [1.2.706] - 2026-10-31
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -1045,8 +1045,8 @@ class AgentRegistryService {
|
|
|
1045
1045
|
const changes = planned.install.length + planned.update.length + planned.remove.length;
|
|
1046
1046
|
if (changes === 0 && planned.retired.length === 0)
|
|
1047
1047
|
return;
|
|
1048
|
-
const dryRun = this.
|
|
1049
|
-
this.logger?.info(dryRun ? 'convergence plan (DRY RUN,
|
|
1048
|
+
const dryRun = this.readConvergenceDryRun(agentId);
|
|
1049
|
+
this.logger?.info(dryRun ? 'convergence plan (DRY RUN, removals held back)' : 'convergence plan', {
|
|
1050
1050
|
tags: { nodeId: agentId },
|
|
1051
1051
|
meta: {
|
|
1052
1052
|
trigger,
|
|
@@ -1057,8 +1057,6 @@ class AgentRegistryService {
|
|
|
1057
1057
|
observed: live.length,
|
|
1058
1058
|
},
|
|
1059
1059
|
});
|
|
1060
|
-
if (dryRun)
|
|
1061
|
-
return;
|
|
1062
1060
|
// GATE 1 — the trigger allowlist. A pass that must not install says so and
|
|
1063
1061
|
// stops; silence here would read as "nothing was missing".
|
|
1064
1062
|
if (!(0, agent_addon_backfill_1.triggerMayDeliver)(trigger)) {
|
|
@@ -1077,9 +1075,29 @@ class AgentRegistryService {
|
|
|
1077
1075
|
`packages=${suppression.packages.join(', ') || 'none'}); the roster gap is OURS, not the node's`);
|
|
1078
1076
|
return;
|
|
1079
1077
|
}
|
|
1080
|
-
|
|
1078
|
+
// The dry run holds back only what D982 added — removals. Installs and
|
|
1079
|
+
// updates are the delivery agents always had; holding them back stopped
|
|
1080
|
+
// every agent from updating.
|
|
1081
|
+
if (!dryRun)
|
|
1082
|
+
await this.applyRemovals(agentId, agentAddons, planned);
|
|
1081
1083
|
await this.applyDeliveries(agentId, live, planned, trigger, seam);
|
|
1082
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* The dry-run switch, read fail-safe: a read that cannot be answered counts
|
|
1087
|
+
* as ON (nothing is removed) and never fails the reconcile.
|
|
1088
|
+
*/
|
|
1089
|
+
readConvergenceDryRun(agentId) {
|
|
1090
|
+
try {
|
|
1091
|
+
return this.convergenceDryRun();
|
|
1092
|
+
}
|
|
1093
|
+
catch (err) {
|
|
1094
|
+
this.logger?.warn('convergence: dry-run switch unreadable, treated as ON', {
|
|
1095
|
+
tags: { nodeId: agentId },
|
|
1096
|
+
meta: { error: err instanceof Error ? err.message : String(err) },
|
|
1097
|
+
});
|
|
1098
|
+
return true;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1083
1101
|
/**
|
|
1084
1102
|
* Remove tombstoned and hub-only leftovers. A removal DESTROYS work, so it
|
|
1085
1103
|
* needs a second roster read to agree (D49) and fails closed when that read
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.707",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"@camstack/addon-decoder-nodeav": "1.2.144",
|
|
58
58
|
"@camstack/addon-notifiers": "1.2.624",
|
|
59
59
|
"@camstack/addon-pipeline": "1.2.635",
|
|
60
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
60
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.644",
|
|
61
61
|
"@camstack/addon-post-analysis": "1.2.654",
|
|
62
62
|
"@camstack/develop": "0.1.41",
|
|
63
63
|
"@camstack/sdk": "1.2.154",
|
|
64
|
-
"@camstack/system": "1.2.
|
|
64
|
+
"@camstack/system": "1.2.528",
|
|
65
65
|
"@camstack/types": "1.2.453",
|
|
66
66
|
"@camstack/ui-library": "1.2.358",
|
|
67
67
|
"@fastify/compress": "^9.0.0",
|