@calltelemetry/fmix 2.7.0 → 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.
- package/LICENSE +21 -0
- package/bin/fmix +22 -6
- package/package.json +5 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Call Telemetry
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/bin/fmix
CHANGED
|
@@ -23,7 +23,7 @@ set -uo pipefail
|
|
|
23
23
|
# ---------------------------------------------------------------------------
|
|
24
24
|
# Constants & config
|
|
25
25
|
# ---------------------------------------------------------------------------
|
|
26
|
-
FMIX_VERSION="2.7.
|
|
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)"
|
|
@@ -15207,7 +15207,13 @@ EOF
|
|
|
15207
15207
|
else
|
|
15208
15208
|
st_fail "compile timeout was not enforced: rc=$stream_rc out='$stream_out'"
|
|
15209
15209
|
fi
|
|
15210
|
-
|
|
15210
|
+
# What this proves is that passing the explicit 5th argument overrides the
|
|
15211
|
+
# 1s default set just above: a 2s compile survives only if the override
|
|
15212
|
+
# took effect. The override's value is scaffolding and must stay well clear
|
|
15213
|
+
# of the fixture, or a loaded runner trips it and the case fails for a
|
|
15214
|
+
# reason it is not testing. It was 3s against a 2s sleep -- one second of
|
|
15215
|
+
# headroom -- and it failed on macOS CI.
|
|
15216
|
+
FMIX_SETUP_COMPILE_TIMEOUT=30
|
|
15211
15217
|
_fmix_run_compile() { sleep 2; }
|
|
15212
15218
|
stream_out="$(fmix_run_compile_streamed "$compile_root" demo "" "$stream_log" "$FMIX_SETUP_COMPILE_TIMEOUT" 2>&1)"
|
|
15213
15219
|
stream_rc=$?
|
|
@@ -15227,8 +15233,12 @@ EOF
|
|
|
15227
15233
|
local deps_timeout_out deps_timeout_rc deps_progress_out deps_progress_rc
|
|
15228
15234
|
local deps_failure_out deps_failure_rc
|
|
15229
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.
|
|
15230
15240
|
FMIX_DEPS_STALL_TIMEOUT=1
|
|
15231
|
-
FMIX_DEPS_TIMEOUT=
|
|
15241
|
+
FMIX_DEPS_TIMEOUT=60
|
|
15232
15242
|
_fmix_run_deps_get() {
|
|
15233
15243
|
sleep 5
|
|
15234
15244
|
}
|
|
@@ -15249,11 +15259,17 @@ EOF
|
|
|
15249
15259
|
# clear of the fixture's ~4s runtime, or a loaded runner trips the hard
|
|
15250
15260
|
# limit and the case fails for a reason it is not testing. It was 5s, which
|
|
15251
15261
|
# left one second of headroom for four sleeps, and it failed on macOS CI.
|
|
15252
|
-
|
|
15253
|
-
|
|
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
|
|
15254
15270
|
_fmix_run_deps_get() {
|
|
15255
15271
|
local i
|
|
15256
|
-
for i in 1 2 3 4; do
|
|
15272
|
+
for i in 1 2 3 4 5 6 7 8; do
|
|
15257
15273
|
printf 'dependency progress %s\n' "$i"
|
|
15258
15274
|
sleep 1
|
|
15259
15275
|
done
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calltelemetry/fmix",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "Verified native FMix runner for CallTelemetry workspaces",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"bin": {
|
|
6
7
|
"fmix": "bin/fmix"
|
|
7
8
|
},
|
|
8
9
|
"files": [
|
|
9
10
|
"bin/fmix",
|
|
11
|
+
"LICENSE",
|
|
10
12
|
"README.md"
|
|
11
13
|
],
|
|
12
14
|
"os": [
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
"directory": "packages/npm"
|
|
25
27
|
},
|
|
26
28
|
"fmix": {
|
|
27
|
-
"runnerSha256": "
|
|
28
|
-
"sourceTag": "fmix-v2.7.
|
|
29
|
+
"runnerSha256": "7eff89a33c2a6cdb812d67ef984b6cd85212fb70f67168ca51a500969c07da56",
|
|
30
|
+
"sourceTag": "fmix-v2.7.2"
|
|
29
31
|
}
|
|
30
32
|
}
|