@calltelemetry/fmix 2.7.1 → 2.7.2

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.
Files changed (2) hide show
  1. package/bin/fmix +15 -5
  2. package/package.json +3 -3
package/bin/fmix CHANGED
@@ -23,7 +23,7 @@ set -uo pipefail
23
23
  # ---------------------------------------------------------------------------
24
24
  # Constants & config
25
25
  # ---------------------------------------------------------------------------
26
- FMIX_VERSION="2.7.1"
26
+ FMIX_VERSION="2.7.2"
27
27
  FMIX_HOME="${FMIX_HOME:-${HOME}/.ct-fmix}"
28
28
  FMIX_OS="$(uname -s)"
29
29
  FMIX_ARCH="$(uname -m)"
@@ -15233,8 +15233,12 @@ EOF
15233
15233
  local deps_timeout_out deps_timeout_rc deps_progress_out deps_progress_rc
15234
15234
  local deps_failure_out deps_failure_rc
15235
15235
  FMIX_DEPS_HEARTBEAT=0
15236
+ # The stall window is the discriminator: 1s against 5s of silence. The hard
15237
+ # limit is scaffolding and is kept far away so that if the stall watchdog
15238
+ # ever regressed, this case would fail on the stall assertion rather than
15239
+ # quietly become a hard-limit test.
15236
15240
  FMIX_DEPS_STALL_TIMEOUT=1
15237
- FMIX_DEPS_TIMEOUT=10
15241
+ FMIX_DEPS_TIMEOUT=60
15238
15242
  _fmix_run_deps_get() {
15239
15243
  sleep 5
15240
15244
  }
@@ -15255,11 +15259,17 @@ EOF
15255
15259
  # clear of the fixture's ~4s runtime, or a loaded runner trips the hard
15256
15260
  # limit and the case fails for a reason it is not testing. It was 5s, which
15257
15261
  # left one second of headroom for four sleeps, and it failed on macOS CI.
15258
- FMIX_DEPS_STALL_TIMEOUT=2
15259
- FMIX_DEPS_TIMEOUT=30
15262
+ # Three numbers have to stay ordered: output gap < stall window < total
15263
+ # runtime. Below the gap the watchdog fires despite progress; above the
15264
+ # total it can never fire and the case passes vacuously even if extension
15265
+ # is broken. It was 1 < 2 < 4, one second of margin on each side, which a
15266
+ # loaded runner erases -- a `sleep 1` that takes 2s trips a 2s window.
15267
+ # 1 < 4 < 8 keeps the same claim with 4x and 2x margin.
15268
+ FMIX_DEPS_STALL_TIMEOUT=4
15269
+ FMIX_DEPS_TIMEOUT=60
15260
15270
  _fmix_run_deps_get() {
15261
15271
  local i
15262
- for i in 1 2 3 4; do
15272
+ for i in 1 2 3 4 5 6 7 8; do
15263
15273
  printf 'dependency progress %s\n' "$i"
15264
15274
  sleep 1
15265
15275
  done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calltelemetry/fmix",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Verified native FMix runner for CallTelemetry workspaces",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -26,7 +26,7 @@
26
26
  "directory": "packages/npm"
27
27
  },
28
28
  "fmix": {
29
- "runnerSha256": "6d82ad5c478edcdbf4c0cbf8ef7235356c93d1cb785d401834286e62e97f9cb9",
30
- "sourceTag": "fmix-v2.7.1"
29
+ "runnerSha256": "7eff89a33c2a6cdb812d67ef984b6cd85212fb70f67168ca51a500969c07da56",
30
+ "sourceTag": "fmix-v2.7.2"
31
31
  }
32
32
  }