bdy 1.23.10-dev → 1.23.11-dev

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,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.23.10-dev",
4
+ "version": "1.23.11-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",
@@ -121,11 +121,17 @@ exports.AGENT_UPDATE_MAX_ATTEMPTS = 3;
121
121
  // only has to be read. Generous on purpose: it is only ever reached when the counter
122
122
  // cannot be persisted, so it must not fire on an agent that is merely slow to come up.
123
123
  exports.AGENT_UPDATE_PROBATION_MS = 30 * 60 * 1000;
124
- // How long a reported update outcome stays on the agent record before the agent clears it
125
- // again. An outcome is a confirmation for whoever is watching the update, not a property of
124
+ // How long a reported update outcome stays on the agent record before the agent queues its
125
+ // clear. An outcome is a confirmation for whoever is watching the update, not a property of
126
126
  // the agent: nothing re-evaluates it, so one left in place would still claim a machine is
127
127
  // missing admin rights long after that was fixed. The agent log keeps the durable record.
128
- exports.AGENT_UPDATE_STATUS_TTL_MS = 30 * 1000;
128
+ //
129
+ // Shorter than the refresh interval on purpose. The clear does not go out on this timer - it
130
+ // rides the next scheduled fetch (see queueUpdateStatusClear) - and those are 15s apart at
131
+ // first and 45s apart after that. Expiring inside the first interval catches the fetch at
132
+ // 15s; anything past it waits for the one at 60s, so a longer ttl here shows the outcome for
133
+ // four times as long as it says.
134
+ exports.AGENT_UPDATE_STATUS_TTL_MS = 10 * 1000;
129
135
  exports.SUGGESTED_BROWSER_VERSION = '130.0.6723.69';
130
136
  exports.ARTIFACT_DEFAULT_VERSION = 'latest';
131
137
  exports.DEFAULT_SANDBOX_CP_USER = 'buddy';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.23.10-dev",
4
+ "version": "1.23.11-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",