Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Karrio patch 2026.1.30

Choose a tag to compare

@github-actions github-actions released this 28 Apr 13:45
· 40 commits to main since this release
2760a8e

Hotfix release. SmartKargo tracking lookups returned a 404
SHIPPING_SDK_INTERNAL_ERROR — unconverted data remains: .6571145 whenever
the upstream Azure function included a .NET ticks-precision timestamp
(7 fractional digits, e.g. 2026-04-17T23:43:17.6571145) in any event of
the response. Python's strptime %f caps at 6 digits — and fromisoformat
only accepts 3 or 6 — so a single offending event aborted the whole parse.

Changes

Fix

  • fix(smartkargo): tolerate .NET ticks-precision dates when parsing tracking
    events. Event/ETA dates are truncated to microsecond precision (6 digits)
    and parsed via a try_formats list that accepts both the no-fractional and
    with-fractional ISO variants, so 7-digit ticks like
    2026-04-17T23:43:17.6571145 no longer abort the response. Adds a regression
    test covering the production payload that triggered the failure.