Repository navigation
update(deps): replace the unmaintained chrono crate with jiff - #3462
Merged
inureyes merged 3 commits intoNov 27, 2026
Merged
Conversation
RUSTSEC-2026-0543 declares `chrono` unmaintained with no safe upgrade, and lablup#3264 only recorded it as an ignore in `deny.toml`. Every direct use was a `chrono::Utc::now()` call under `src/server`: 45 sites in 23 files, in seven shapes. They now call `src/server/clock.rs`, which takes Unix values from `std::time` and calendar fields from `time::OffsetDateTime`, and spells out each string so it matches what chrono produced: - `timestamp()`, `timestamp_millis()`, `timestamp_micros()`: Unix seconds, milliseconds and microseconds, rounded toward the past. These feed `created`, `created_at`, `completed_at` and `started_at_unix`, the `srv_{pid}_{millis}` instance id, per-model `last_used`, and `req_{micros}` request ids. - `timestamp_nanos_opt().unwrap_or_default()`: Unix nanoseconds, or 0 outside the i64 range. Used in router-cache staging and quarantine directory names. - `to_rfc3339_opts(SecondsFormat::Secs, true)`: `2026-11-26T16:07:00Z`, for WebUI event `emitted_at` and lifecycle operation `created_at` and `updated_at`. - `to_rfc3339()`: a `+00:00` offset and a fraction of 0, 3, 6 or 9 digits, for runtime snapshot `sampled_at` and `measured_at`. - `format("%d %b %Y")`: `05 Mar 2026`, from the `strftime_now` chat-template function. `clock_tests.rs` pins each shape at fixed instants. The instants include one before the epoch, two outside the i64 nanosecond range, a leap day, a three-digit year, and fractions that need 1 to 9 digits. The same file passed against a copy of `clock.rs` built on main's chrono expressions and against the new code. The two test-only `DateTime::parse_from_rfc3339` checks now go through `clock::is_rfc3339`, which uses `time`'s RFC 3339 parser; `parsing` is enabled only in dev-dependencies. Only the root crate depended on `chrono`, so Cargo.lock drops chrono, iana-time-zone, iana-time-zone-haiku and android_system_properties. `time` 0.3.55 was already locked through rcgen's dev-dependency path. Release builds now also compile it, with `std` only, together with deranged, num-conv, powerfmt and time-core. The RUSTSEC-2026-0543 ignore is removed from `deny.toml`. Log line timestamps do not change, because tracing-subscriber is built without its chrono feature. Closes lablup#3266
The maintainer chose `jiff` over `time` as the `chrono` replacement, because time-zone calculations are expected later and `jiff` brings them behind its `tz` features. `jiff` 0.2 is added with `default-features = false, features = ["std"]`, so a release build compiles only `jiff` and `jiff-core` and no time zone database. `time` leaves `[dependencies]` and `[dev-dependencies]`; it stays in the lock through rcgen and yasna on the dev path. `clock.rs` reads the UTC civil date and time from a `jiff::Timestamp` and still assembles every string with `format!`, so the pinned shapes are unchanged. `is_rfc3339` (test code only) checks the RFC 3339 shape before parsing with `jiff`, since `jiff` also accepts ISO 8601 and Temporal forms such as minutes without seconds, the basic format and bracketed annotations; the pinning test now rejects those. Validated with fmt, clippy on `mlxcel`, `cargo deny check`, and the `server::clock` tests and the server filters the clock feeds. Refs lablup#3266, Refs lablup#3462
Member
Hardening reviewTarget PR: #3462. Linked issue: #3266. Findings
Release build dependencies
Validation (Mac Studio M3 Ultra, Metal)
Remote CI was cancelled by maintainer decision. The local commands above are the gate. |
7 tasks
4 of 5 tasks
inureyes
added a commit
that referenced
this pull request
Nov 28, 2026
#3462 added `unix_micros`, `rfc3339`, `unix_micros_now` and `rfc3339_now` to `src/server/clock.rs`, but every caller outside the clock tests sits behind the `webui` feature. Builds without it, such as the OpenXLA feature compile job under `RUSTFLAGS=-D warnings`, failed on dead code, and that job has been red on main since #3462. The two `_now` wrappers now compile with `webui` only and the two formatters with `webui` or tests. Validated with `cargo clippy --no-default-features --features metal,accelerate --lib --tests -- -D warnings`, the workspace clippy at default features, and the `server::clock` tests.
4 of 5 tasks
inureyes
added a commit
that referenced
this pull request
Nov 28, 2026
* fix(models): keep Inkling 2 verify blocks exact on M1-class GPUs Both block-vs-chain tests failed on M1 Ultra because of the matmul overlay's few-row GEMV route (#2587): on GPU generations 13 and 14 a dense product of at most `MLXCEL_DENSE_GEMV_ROWS` (default 6) rows in one batch runs each row through the one-row GEMV, and anything larger takes the steel GEMM tile. Setting the variable to 0 makes both tests pass on M1; setting it to 16 moves the Inkling failure to width 8. Inkling 2: the attention-residual mix (`AttentionResidual::forward`) multiplies `[B, L, S, H]` by a shared `[H, Q]` query, which MLX folds into M = L * S, and then mixes over L batches. A decode step and a verify block therefore took different kernels on M1. Inside a verify block the mix now runs per position through `row_invariant::per_position`, at the decode step's shapes; decode steps and prefill are unchanged. On a real Inkling 2 Mini 4-bit checkpoint on M1 Ultra the probe goes from Diverges to Equal at widths 2, 4 and 8. DeepSeek V2: the negative control's widths 2 and 4 fall inside the GEMV route, so the decompressed layout already matched the chain on M1. The control now also runs widths 8 and 12, where the decompressed layout differs at every row, and it still fails with the row-invariant scope forced on. The ignored real-checkpoint diagnostic also prints the probe verdict the DSpark gate reads. Refs #3468 * perf(models): split the Inkling 2 residual mix only on M1 and M2 The per-position attention-residual mix that keeps an Inkling 2 verify block exact is needed only where the matmul overlay's few-row GEMV route runs (GPU generations 13 and 14). On M3 and later the block already matched the chain with a single mix, so the split only added cost there. `AppleSiliconGen::few_row_dense_gemv` names the generation half of the overlay predicate (true for M1, M2 and `Unknown`), and `AttentionResidual::forward` splits only where it holds. `MLXCEL_DENSE_GEMV_ROWS` is not read: with the route disabled the split is still exact, just slower. A misread generation can only switch the drafter off through the exactness probe, never change output. Measured on M1 Ultra, Inkling 2 Mini 4-bit, `verify_round_timing`, three interleaved runs per arm: verify width 4 median 75.1 to 75.4 ms with the split against 69.5 to 69.9 ms without (+7.7%), width 8 111.5 to 112.1 ms against 101.7 to 101.8 ms (+9.8%), argmax digests identical. That is the cost M3 and later no longer pay. On M1 Ultra the split stays on and `probe_block_chain_exactness` on the real checkpoint is Equal at widths 2, 4 and 8. The M3-class run of the no-split branch is still pending. Refs #3468 * docs: note the M1 and M2 per-position residual mix in the DSpark row The Inkling 2 DSpark row listed the verify-block exactness mechanisms but not the per-position attention residual mix that runs on Apple GPU generations 13 and 14 (M1, M2), and it stated the block-versus-chain probe result on an M3 Ultra only. Add the mechanism and the measured M1 Ultra result, scoped to Mini 4-bit at widths 2, 4 and 8. Refs #3468 * fix(models): keep the Inkling 2 residual split off CUDA and ROCm The generation predicate reads `AppleSiliconGen::Unknown` as true so an unidentified Apple chip keeps the exact split, but CUDA and ROCm also report `Unknown`, so every Inkling 2 verify block there paid the per-position residual mix for a few-row GEMV route that exists only in the Metal matmul overlay. `HardwareCapabilities::few_row_dense_gemv` now also requires the Apple vendor tag, and the residual mix asks it instead of the bare generation. Non-Apple backends keep the single mix they ran before #3475. Validated on M1 Ultra: the new vendor test, `deepseek_v2::`, `inkling2` and `dense_verify_block` filters (97 passed), and the real-checkpoint probe on `Inkling-2-Mini-4bit` at width 8 (Equal). The CUDA arm is covered by the unit test only; no CUDA host was used. Refs #3468 * fix(server): gate the WebUI-only clock helpers on the webui feature #3462 added `unix_micros`, `rfc3339`, `unix_micros_now` and `rfc3339_now` to `src/server/clock.rs`, but every caller outside the clock tests sits behind the `webui` feature. Builds without it, such as the OpenXLA feature compile job under `RUSTFLAGS=-D warnings`, failed on dead code, and that job has been red on main since #3462. The two `_now` wrappers now compile with `webui` only and the two formatters with `webui` or tests. Validated with `cargo clippy --no-default-features --features metal,accelerate --lib --tests -- -D warnings`, the workspace clippy at default features, and the `server::clock` tests.
inureyes
added a commit
that referenced
this pull request
Nov 28, 2026
Bumps every version-tracking workspace crate (mlxcel, mlxcel-core, mlxcel-mlx-pin, mlxcel-surgery, mlxcel-xla) to 0.9.0-beta.3 through `make bump-version` and syncs Cargo.lock. `make verify-versions` passes. Renames the Unreleased changelog section to v0.9.0-beta.3 and covers the 58 commits since v0.9.0-beta.2. The existing entries are kept, and the commits that had none gain entries: the OpenXLA hybrids (Falcon-H1, Jamba, PLaMo 2, Mamba1, Falcon-Mamba) and sigmoid MoE routing, the speculative exactness work, the vision resize and parser parity fixes, ERNIE-4.5 and Nemotron 3 Nano loading, and the CLI and Responses validation fixes. Dependencies, CI/CD, Docs and Known Issues sections and the compare link are added. The chrono to jiff entry that #3462 wrote into the beta.2 section moves here. Known Issues drop #2975 and #3407, which are closed, and add the open Raon-1 mini follow-ups. Regenerates `recipes/registry/` from a release build and repoints CURRENT. It adds `raon1_mini` and the `llava_onevision2` model type on Mage-VL, and removes nothing. Updates the release pointers: the README main-branch line and a Raon-1 mini highlight, CITATION.cff, the bug report placeholder, the cluster note in `docs/distributed.md` and `cluster_handshake.rs`, and the version example in `TECHNICAL_REPORTS/README.md`. The reports index is unchanged because 0.9 is still the line under development; `make verify-reports-index` passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #3266.
chronois declared unmaintained (RUSTSEC-2026-0543, no safe upgrade), and #3264 recorded the advisory as an ignore indeny.toml. This PR removes the crate. Every direct use was achrono::Utc::now()call undersrc/server: 45 call sites in 23 files, in seven shapes. They now call a newsrc/server/clock.rs, which takes Unix values fromstd::timeand calendar fields fromtime::OffsetDateTime, and writes each string out explicitly so it matches what chrono produced.chronoleaves everyCargo.tomlandCargo.lock, the RUSTSEC-2026-0543 ignore leavesdeny.toml, andcargo deny checkpasses.New pinning tests fix each timestamp shape at fixed instants. They passed against main's chrono expressions before the switch and pass unchanged against the new code. A real server on main and on this branch returns the same JSON types and the same string shapes for every clock-stamped field it emits (
created,created_at,completed_at,req_andsrv_ids,emitted_at,measured_at, and the log line prefix).What changed
Utc::now().timestamp()createdintypes/response.rs,types/stream.rs,router_server.rs,routes/models.rs;created_atinmodel_provider.rs,routes/responses_compact.rs;created_at/completed_at(asf64) inroutes/responses.rs,routes/responses_mcp_loop.rs,routes/responses_run.rs;started_at_unixinstate.rsclock::unix_seconds_now()Utc::now().timestamp_millis()srv_{pid}_{millis}instance id inrouter_lifecycle_ops.rs; per-modellast_usedinrouter_models.rsclock::unix_millis_now()Utc::now().timestamp_micros()req_{micros}request ids inapp.rs,router_server.rs,webui/events.rs,webui/library.rs,webui/security.rsclock::unix_micros_now()Utc::now().timestamp_nanos_opt().unwrap_or_default()router_cache/anchored_publish.rs,router_cache/anchored_remove.rsclock::unix_nanos_now_or_zero()Utc::now().to_rfc3339_opts(SecondsFormat::Secs, true)UiEvent::emitted_atinrouter_lifecycle_dto.rs; operationcreated_at/updated_atinrouter_lifecycle_ops.rsclock::rfc3339_seconds_z_now()Utc::now().to_rfc3339()measured_at(the localsampled_at) inwebui/runtime.rsclock::rfc3339_now()Utc::now().format("%d %b %Y").to_string()strftime_nowchat-template function inchat_template.rsclock::day_month_year_now()DateTime::parse_from_rfc3339(s).is_ok()(test code only)app.rstests,router_contract_test_support.rsclock::is_rfc3339(#[cfg(test)])src/server/clock.rs:unix_seconds,unix_millis,unix_microstake aSystemTime, compute signed nanoseconds since the epoch fromSystemTime::duration_since, and floor-divide. Chrono'stimestamp*accessors also round toward the past, so an instant 1.5 s before the epoch is-2s,-1500ms.unix_nanos_or_zeroreturns 0 when the value does not fit ani64(before 1677-09-21 or after 2262-04-11), liketimestamp_nanos_opt().unwrap_or_default().rfc3339_seconds_zisYYYY-MM-DDTHH:MM:SSZwith the sub-second part dropped.rfc3339is the same date-time with a fraction of 0, 3, 6 or 9 digits (the shortest that holds the nanoseconds exactly, chrono'sSecondsFormat::AutoSi) and a+00:00offset.day_month_yearis the zero-padded day, the English three-letter month and the four-digit year. All three read the calendar fields fromtime::OffsetDateTime::from(SystemTime)and assemble the string withformat!. I did not usetime's RFC 3339 formatter. It writesZrather than+00:00and trims trailing fraction zeros, so it does not matchto_rfc3339().*_now()wrapper has a/// Used by:line naming its callers.scripts/ci/check_used_by.pyonly scansutils.rsandlayers.rs, so nothing enforces these lines.strftime_nowstill ignores its format argument and returns%d %b %Y, as before. I left that as it is.Dependencies:
Cargo.toml:chrono = "0.4"is gone.time = "0.3"is added (default features, which isstd), andtime = { version = "0.3", features = ["parsing"] }is added under[dev-dependencies]foris_rfc3339. No other workspace crate depended onchrono.Cargo.lock: chrono 0.4.45, iana-time-zone 0.1.65, iana-time-zone-haiku 0.1.2 and android_system_properties 0.1.6 are removed.timeis added tomlxcel's dependencies.time0.3.55 was already locked, through rcgen and yasna on the dev-dependency path. In a normal (release) build,cargo tree -p mlxcel -e normal -i timenow showstime v0.3.55 alloc,default,stdwithmlxcelas its only parent. That means release builds now also compile deranged, num-conv, powerfmt and time-core.deny.toml: the RUSTSEC-2026-0543 entry and its comment are removed.CHANGELOG.md: one line under Unreleased / Dependencies.Log line timestamps are not affected.
tracing-subscriberis built without itschronofeature on main too, and the smoke run below shows the same log prefix shape on both arms.Where this differs from the issue text
chrono. The RFC 3339 strings that did are the WebUI contract fields listed above.time, orstd::timewhere only Unix timestamps are needed. Both are used:std::timefor the four Unix values, andtimeonly for calendar fields.is_rfc3339(test code only) usestime's RFC 3339 parser instead of chrono's. It is stricter in one case, described under "Verification limits". The server's own output parses under both.Verification
Spark2: NVIDIA GB10, driver 580.178.04, CUDA 13.0.88, Linux 7.0.0-1019-nvidia aarch64, rustc 1.97.1 (the pinned toolchain),
--features cuda,--profile test-fast,MLX_ENABLE_TF32=0 MLXCEL_SDPA_DETERMINISTIC=1, private 0700TMPDIR. Based43915faf6a37c6ed2072679d6e3e31cc4122628. Tested tree77d8e72486c06c3e8743b6580b2a468ac12cd0ec, the tree of the commit.cargo fmt --all -- --checkcargo clippy --locked --workspace --all-targets --features cuda -- -D warnings. The first run failed with twoclippy::redundant_closureerrors:.is_some_and(|s| clock::is_rfc3339(s))inapp.rsandrouter_contract_test_support.rs. Both now pass the function itself, and the rerun on the tested tree passed.python3 scripts/ci/check_used_by.py,bash scripts/ci/check_used_by_test.sh,python3 scripts/insert_apache_header.py --check,python3 scripts/ci/check_env_var_docs.py,python3 scripts/ci/check_kernel_dtype_keys.py,python3 scripts/ci/check_cross_repo_refs.pycargo test --locked --profile test-fast --features cuda -p mlxcel --lib -- server::clock --test-threads=1: 6 passed.src/server, where every changed call site lives: response builders, streaming chunks, the Responses API, WebUI, router lifecycle and router cache.cargo test ... -p mlxcel --lib -- server:: --test-threads=1gave 4,389 passed, 0 failed, 20 ignored. Main gave 4,390 / 0 / 20 with the same test names plus the probe.make verify-test-cudawith a private 0700TMPDIR: 17,234 passed, 5 failed, 517 ignored, over 190 test targets (198test resultlines; the extra ones are single-test child runs that library tests spawn). The tree was the tested tree before and after the run. The library target has 13,218 tests here and 13,212 on main. All five failures also fail on unmodifiedd43915faf, run alone from a main build:models::deepseek_v32::rope_tests::prefill_and_decode_cache_yarn_rotated_keys_past_the_original_context:cached k_pe at positions 16..24 must be YaRN-rotated (max diff 1.6620973), the same on main (fix(cuda): MLX CUDA RoPE gives every row of a broadcast input the same rotation, failingmake verify-test-cudaon main #3442, fix in fix(cuda): rotate broadcast RoPE inputs in a dense output #3443).models::raon1_mini::speculative::tests::{a_steered_verify_block_applies_the_alpha_exactly_as_decode_does, a_verify_block_equals_the_decode_chain_byte_for_byte, rollback_after_a_partial_accept_equals_a_fresh_decode_of_the_accepted_tokens, the_exactness_probe_passes_on_the_tiny_model}. The module run alone gives 2 passed and 4 failed on both trees, with identical panic messages and identicalleft/rightbytes (for examplewidth 5: verify block position 0 differs from the single-token chain in 32 of 128 logit bytes). These tests were added in feat(models): add Raon-1 mini DFlash2 speculative drafting #3455, whose reported results are from an M3 Ultra (Metal). They are not touched here.Tests
New, in
src/server/clock_tests.rs. The instants are 2026-11-26T16:07:00Z, 2026-03-05T09:04:03Z (single-digit day and month), 2028-02-29T23:59:59Z and the next second, the epoch, 1.5 s before the epoch, 2300-01-01 and 0999-12-31T23:59:59Z (both outside thei64nanosecond range), and the 15th of every month of 2026:unix_values_round_toward_the_past: seconds, milliseconds, microseconds and nanoseconds at.999999999, at -1.5 s, at the epoch and at 1 ns before the epoch.unix_nanos_outside_the_i64_range_is_zero.rfc3339_seconds_z_drops_the_fraction: nine instants, for example2026-11-26T16:07:00Zfor.999999999,1969-12-31T23:59:58Z,0999-12-31T23:59:59Z.rfc3339_uses_plus_zero_offset_and_three_six_or_nine_fraction_digits: 17 cases. Eleven of them are fractions at one instant:+00:00,.000000001,.000001,.001,.120,.123,.123400,.123456,.123456700,.123456789,.999999999. The rest include1969-12-31T23:59:58.500+00:00.day_month_year_pads_the_day_and_abbreviates_the_month:05 Mar 2026,29 Feb 2028,01 Mar 2028,31 Dec 0999, and all twelve month abbreviations.emitted_stamps_parse_as_rfc3339: both emitted RFC 3339 shapes parse. Two offset forms are accepted, and eight malformed strings are rejected.The expected values were computed independently with Python's
datetimebefore the first run.Before and after:
d43915faf, I added an evidence-onlyclock.rswhose functions are main's own call expressions withchrono::Utc::now()replaced byDateTime::<Utc>::from(t). Chrono 0.4.45'sUtc::now()on this target isSystemTime::now().duration_since(UNIX_EPOCH)followed byDateTime::from_timestamp, which gives the same value as that conversion for any clock at or after the epoch. Next to it went the sameclock_tests.rs. All 6 tests passed, and the committed (rustfmt-ed)clock_tests.rs, sha256019c04d0…, passed again later: 6 passed against the same shim on a cleand43915faftree (2f2bad12). Also on main, the wholeserver::filter gave 4,390 passed, 0 failed, 20 ignored. That count includes these 6 tests and a print-only probe.server::filter gave 4,389 passed, 0 failed, 20 ignored: the same set of tests minus the probe.Mutations of
clock.rson the fix tree, each built and run againstserver::clock:rfc3339writesZinstead of+00:00rfc3339_uses_plus_zero_offset_and_three_six_or_nine_fraction_digitsrfc3339always writes 9 fraction digitsrfc3339never chooses 6 digitsunix_secondstruncates toward zero (/instead ofdiv_euclid)unix_values_round_toward_the_pastunix_millistruncates toward zerounix_microstruncates toward zerounix_nanos_or_zerosaturates toi64::MIN/MAXinstead of 0unix_nanos_outside_the_i64_range_is_zerorfc3339_seconds_zkeeps millisecondsrfc3339_seconds_z_drops_the_fractionday_month_yeardoes not pad the dayday_month_year_pads_the_day_and_abbreviates_the_monthday_month_yearwrites the full month namerfc3339_seconds_z_drops_the_fraction,rfc3339_uses_plus_zero_offset_and_three_six_or_nine_fraction_digitsEach mutation's build succeeded, and
clock.rswas restored to its tested sha256 afterwards.Putting chrono back (the main run above) leaves all six green, which is the point: the tests pin the shapes, not the library.
Acceptance criteria
cargo tree --locked --workspace -i chronoandcargo tree --locked --workspace --all-features -i chronoboth exit 101 withpackage ID specification 'chrono' did not match any packages. No transitive path remains, andCargo.lockhas nochronoentry.cargo deny check advisoriesandcargo deny checkwith cargo-deny 0.22.1, the officialaarch64-unknown-linux-muslrelease binary (sha256 checked against the release's.sha256). The only change todeny.tomlwasdb-path, pointed at a directory in the work dir. On this branch:advisories ok, andadvisories ok, bans ok, licenses ok, sources ok. On main as shipped: the same results. On main with only the RUSTSEC-2026-0543 line removed:advisories FAILED, reportingchrono v0.4.45 └── mlxcel v0.9.0-beta.2. Both arms also printadvisory-not-detectedfor the existingRUSTSEC-2024-0436(paste) ignore. That ignore no longer matches anything in the graph, on main as well. I left it alone.Real server, main against fix
Checkpoint
mlx-community/Qwen2-VL-2B-Instruct-4bitat revision01af461cdb9574acc09084a0ef94e216e142b085. Twomlxcel-serverbinaries were built in the same target dir with--profile test-fast --features cuda: maind43915faf(sha25654b0a984…) and this tree (sha2567526850c…).stringsfinds 10chrono-paths in the main binary and none in this one. Each server ran alone on loopback with--webui --api-key <throwaway>, under a watchdog: stop below 25 GiB available or above 10 GiB RSS. Across the three rounds, peak RSS was 4.48 GiB, at main's first start, which compiled the CUDA kernels. Minimum available memory was 109.6 GiB, and no build was running. The requests were/v1/models;/v1/chat/completionsand/v1/completions, plain and streamed (temperature 0, 8 tokens);/v1/responses, plain and streamed;/ui-api/v1/{bootstrap,catalog,operations,runtime?model_id=…,events};POST /ui-api/v1/model-actions(read-only in-mmode); and a request with a foreignHost.A script lists every clock-stamped field with its JSON type and its shape, with each digit replaced by
9. It also lists the server's log line prefixes. Its output is identical for main and fix (diffexit 0):createdin chat, completions (plain and every streamed chunk),/v1/modelsdata[].created99999999991795715645created_at,completed_atin/v1/responses(plain and streamedresponse)9999999999.91795715646.0request_idin WebUI error envelopes (400 contract error, 422 read-only, 403 bad Host)req_9999999999999999req_1795715646327451server_instance_idin bootstrap, catalog, operations, runtime, eventssrv_9999999_9999999999999srv_2605974_1795715645120emitted_atin the events SSE snapshot9999-99-99T99:99:99Z2026-11-26T17:54:06Zslots.measured_atin the runtime snapshot9999-99-99T99:99:99.999999999+99:992026-11-26T17:54:51.357090934+00:009999-99-99T99:99:99.999999Z INFO2026-11-26T17:54:04.107853Z INFOThe generated text was the same on both arms (
Hello! How can I help you today). Themeasurements.*.measured_atfields arenullon both arms for this idle server. The first smoke round without--webui(OpenAI routes only) also gave identical shapes. The first--webuiround exited at startup on both arms, because--webui without --api-key is only allowed on an interactive loopback terminal; that is why the key was added.Verification limits
clock.rshas no platform-specific code. Chrono read the clock throughSystemTime::now()on every target this crate ships.is_rfc3339, which only test code uses, now goes throughtime's parser. A print-only probe over 14 inputs, run on both arms, differed in one case:2026-11-26T16:07:60Z(second 60 outside 23:59) parses under chrono and is rejected bytime.2026-12-31T23:59:60Zparses under both. Lowercaset/z, a space separator,-00:00and a 10-digit fraction are treated the same by both. The server never emits second 60.Utc::now()panicked (system time before Unix epoch). The new code returns the negative values that the pre-epoch pins record, which are chrono'sDateTime::<Utc>::from(SystemTime)values. Nothing else changes for clocks at or after the epoch.timeholds withoutlarge-dates, andOffsetDateTime::from(SystemTime)panics outside -9999..=9999. Chrono would have printed a sign for years outside 0..=9999. A system clock does not report such years.strftime_nowpath was covered by the pinning test and the existing chat-template tests, not by a real Llama 3 template render on the server.mlxcel-serverwithout-m: lifecycle operationcreated_at/updated_at, per-modellast_used, router-cache staging names) were exercised only by the unit tests inserver::, not by a live router server.d43915faftodb3a23141(two commits, feat(core): add an opt-in cuda-oxide route behind fused_add_rms_norm #3451 and fix(xla): replace the reduce_window cumsum in the Mamba2 SSD scan #3434) while this ran. Neither touchesCargo.toml,Cargo.lock,deny.tomlorsrc/server.git merge-treereports no conflict, and the merged tree has nochrono::use. I did not rebuild or retest on the new main.