Skip to content

Commit efe3f73

Browse files
committed
feat(engine): pin Telemt 3.5.16 (84e5b82) and adopt short tag layout
- Upgrade Telemt engine to 3.5.16 (84e5b82) with retry jitter, RPC ping-pong latency validation, stalled ME relay fixes (#879), and dual-stack metrics allowlist (#849) - Standardize version tag format to clean short layout <version>-<short-commit> (3.5.16-84e5b82) matching previous releases - Support flexible commit checkout verification in Dockerfile (cut -c1-7) - Update build workflow defaults and engine image test suite
1 parent aea486f commit efe3f73

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/build-engine.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
workflow_dispatch:
55
inputs:
66
telemt_commit:
7-
description: 'Full Telemt commit SHA to build from'
7+
description: 'Telemt commit hash to build from (7-char or full SHA)'
88
required: true
9-
default: '9d5b896bb695c55e2905b82f276da84e45a0a2ec'
9+
default: '84e5b82'
1010
version_tag:
11-
description: 'Version tag (e.g. 3.4.8-10c9bcd)'
11+
description: 'Version tag (e.g. 3.5.16-84e5b82)'
1212
required: true
13-
default: '3.5.14-9d5b896bb695c55e2905b82f276da84e45a0a2ec'
13+
default: '3.5.16-84e5b82'
1414

1515
env:
1616
REGISTRY: ghcr.io
@@ -46,7 +46,7 @@ jobs:
4646
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
4747
RUN git clone "https://github.com/${TELEMT_REPO}.git" /build
4848
WORKDIR /build
49-
RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD)" = "${TELEMT_COMMIT}"
49+
RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD | cut -c1-7)" = "${TELEMT_COMMIT:0:7}"
5050
ENV CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 CARGO_PROFILE_RELEASE_DEBUG=false
5151
RUN cargo build --release --locked && (strip target/release/telemt 2>/dev/null || true) && cp target/release/telemt /telemt
5252
FROM debian:bookworm-slim

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,10 +1629,12 @@ mtproxymax update # Check for script + engine updates
16291629

16301630
## 📋 Changelog
16311631

1632-
### v1.4.2-LTS — Telemt Engine 3.5.14, Self-Healing Resilience & Enterprise Hardening
1632+
### v1.4.2-LTS — Telemt Engine 3.5.16, Self-Healing Resilience & Enterprise Hardening
16331633

16341634
- **Traffic Reset & Daily Monitoring Aliases ([#159](https://github.com/SamNet-dev/MTProxyMax/issues/159)):** Added `mtproxymax traffic reset-all` and `mtproxymax traffic reset-users` (plus `mtproxymax traffic help`) to allow resetting both global and per-user traffic counters in one step for daily consumption monitoring.
16351635
- **Persistent Middle-End NAT Overrides ([#158](https://github.com/SamNet-dev/MTProxyMax/pull/158)):** Added `middle_proxy_nat_ip` and `middle_proxy_nat_probe` to `mtproxymax tune` to persist public IPv4 egress address overrides for policy-routed networks (e.g. WireGuard/MikroTik) across config regenerations.
1636+
- **Telemt Engine 3.5.16 Upgrade & Resilience:**
1637+
- Upgraded core Rust proxy engine to **3.5.16** (`84e5b82`), adding retry jitter (`X-Telemt-Retry-After-Ms`), RPC ping-pong latency validation, resolving stalled ME relays by observing child task completion (#879), dual-stack metrics allowlist matching (#849), and bounded opt-in wildcard host routing.
16361638
- **Telemt Engine 3.5.14 & Build Hardening ([#157](https://github.com/SamNet-dev/MTProxyMax/pull/157)):**
16371639
- Upgraded core Rust proxy engine to **3.5.14** (`9d5b896bb695c55e2905b82f276da84e45a0a2ec`), resolving Middle-End pool convergence failures and writer starvation under egress tunnels (#949), with autonomous conntrack recovery on absent iptables-nft chains (3.5.11) and replay-safe streaming downlink (3.5.13).
16381640
- Eliminated unsafe `:latest` registry relabeling in `build_telemt_image()`, ensuring missing prebuilt tags compile from source instead of mislabeling old cached binaries.

‎mtproxymax.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUNLEVELS_DIR="${RUNLEVELS_DIR:-/etc/runlevels}"
4141
SCANNER_SHIELD_SET="mtp_scanners"
4242
CONTAINER_NAME="mtproxymax"
4343
DOCKER_IMAGE_BASE="mtproxymax-telemt"
44-
TELEMT_MIN_VERSION="3.5.14"
45-
TELEMT_COMMIT="9d5b896bb695c55e2905b82f276da84e45a0a2ec" # Pinned: v3.5.14 — autonomous, lifecycle-bounded ME pool convergence
44+
TELEMT_MIN_VERSION="3.5.16"
45+
TELEMT_COMMIT="84e5b82" # Pinned: v3.5.16 (84e5b82) — Verfassungsgericht: retry jitter, RPC ping-pong latency validation, stalled ME relay fixes (#879), dual-stack metrics allowlist (#849)
4646
GITHUB_REPO="SamNet-dev/MTProxyMax"
4747
REGISTRY_IMAGE="ghcr.io/samnet-dev/mtproxymax-telemt"
4848

@@ -1189,7 +1189,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git && \
11891189
rm -rf /var/lib/apt/lists/*
11901190
RUN git clone "https://github.com/telemt/telemt.git" /build
11911191
WORKDIR /build
1192-
RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD)" = "${TELEMT_COMMIT}"
1192+
RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD | cut -c1-7)" = "${TELEMT_COMMIT:0:7}"
11931193
ENV CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 CARGO_PROFILE_RELEASE_DEBUG=false
11941194
RUN cargo build --release --locked && \
11951195
(strip target/release/telemt 2>/dev/null || true) && \

‎tests/test_engine_image.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ build_telemt_image
5353
assert_no_latest_pull
5454
grep -q "^build --build-arg TELEMT_COMMIT=${TELEMT_COMMIT} " "$tmp/calls"
5555
assert_marker "$version"
56-
grep -Fq 'RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD)" = "${TELEMT_COMMIT}"' "$tmp/Dockerfile"
56+
grep -Fq 'RUN git checkout --detach "${TELEMT_COMMIT}" && test "$(git rev-parse HEAD | cut -c1-7)" = "${TELEMT_COMMIT:0:7}"' "$tmp/Dockerfile"
5757
grep -Fq 'cargo build --release --locked' "$tmp/Dockerfile"
5858

5959
reset_case

0 commit comments

Comments
 (0)