chat template (prompt bytes): ChatTemplate.render (#843) drops completed empty assistant turns (no text after strip, no picture, no tool calls; the final message is kept; STRATA_KEEP_EMPTY_TURNS=1 keeps them) before the template runs. prompt.rs now does the same in Renderer::render and in the typed render_with_images path. diff_chat_template: 136/3000 -> 0 (also 2 x 12000). chat_template_oracle.json regenerated from the Original; one responses.rs test asserted the old behaviour. gguf: block_geometry knows the APR trellis types 143-146 (PTQ1_0, TQ2_T, TQK6, TQK7); gguf_headers.json regenerated. diff_gguf_header: 188/400 -> 0. native pack: NATIVE_PLE_KEY gained IQ3_XXS/IQ4_XS (#381); NVFP4 expert tails and prism.hadamard experts are refused (not ported, the runtime reads neither). diff_native_pack f16_nan uses a quiet NaN (numpy's widening of a signaling NaN differs between builds). The live differential still needs one run on Linux. smoke-mtp-pack.py reads the Q8_0 names from required[]/wq(); Dockerfile.systemd-smoke drops its apt version pins. docs/ci-audit.md findings 14, 15, 16, 18 updated in place. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
16 lines
1.2 KiB
Docker
16 lines
1.2 KiB
Docker
FROM ubuntu@sha256:f610ab94648195aa356059f5b41d6085c9d4d903c072430cdd1af7bdb646106b
|
|
# The base image is pinned by digest. The apt packages are not pinned to versions: the Ubuntu archive keeps only the current
|
|
# security/updates builds, so exact version pins (systemd=255.4-1ubuntu8.17, ca-certificates=20260601~24.04.1 ...) stop resolving
|
|
# within months ("Version ... was not found") and the image can no longer be built. This image is a disposable fixture, not a
|
|
# shipped artifact; the smoke checks the behaviour of a user manager, not a package version.
|
|
RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
systemd dbus dbus-user-session python3 util-linux ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
RUN useradd --create-home --uid 10001 fixture && \
|
|
mkdir -p /run/systemd/system /run/user/10001 /home/fixture/.config && \
|
|
chown fixture:fixture /run/user/10001 /home/fixture/.config && \
|
|
chmod 0700 /run/user/10001 /home/fixture /home/fixture/.config
|
|
# Empty disposable boot-context directory; the fixture starts a real user manager.
|
|
# No system manager, host bus, host unit directory, or host cgroup is mounted.
|
|
ENV XDG_RUNTIME_DIR=/run/user/10001
|
|
WORKDIR /work
|