backplane-tracecheck 0.3.0__tar.gz → 0.4.1__tar.gz
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.
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/.gitignore +11 -0
- backplane_tracecheck-0.4.1/CHANGELOG.md +161 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/PKG-INFO +3 -3
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/README.md +1 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/CONTRACT_REFERENCE.md +3 -2
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/FEEDBACK.md +13 -11
- backplane_tracecheck-0.4.1/examples/bad-index.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/compression-cases.json +159 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/expected.json +388 -0
- backplane_tracecheck-0.4.1/examples/indexless-attachment.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/indexless-badcrc.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/indexless-rosbag2.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/lz4-128k-two-frames.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/lz4-unfinished.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/shared-boundary.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/zstd-128k.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/zstd-empty-frame.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/zstd-truncated.mcap +0 -0
- backplane_tracecheck-0.4.1/examples/zstd-unfinished.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/pyproject.toml +6 -1
- backplane_tracecheck-0.4.1/src/tracecheck/__init__.py +1 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/__main__.py +3 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/engine.py +53 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/manifest.py +2 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/reader.py +252 -7
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/samples.py +210 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/server.py +1 -1
- backplane_tracecheck-0.4.1/tests/make_compression_cases.py +60 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_checker.py +14 -3
- backplane_tracecheck-0.4.1/tests/test_index.py +146 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_manifest.py +1 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_streaming.py +40 -2
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/app.css +2 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/app.js +2 -2
- backplane_tracecheck-0.4.1/web/src/article.css +28 -0
- backplane_tracecheck-0.4.1/web/src/article.js +6 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/engine.js +41 -3
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/reader.js +134 -8
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/vendor/fzstd.js +6 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/style.css +1 -1
- backplane_tracecheck-0.4.1/web/src/tracker-static.js +79 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/tracker.css +1 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/tracker.js +6 -1
- backplane_tracecheck-0.3.0/CHANGELOG.md +0 -65
- backplane_tracecheck-0.3.0/src/tracecheck/__init__.py +0 -1
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/LICENSE +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/NOTICE +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/COVERED_LIST_TRACKER.md +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/THIRD_PARTY_NOTICES.md +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/licenses/lz4-LICENSE.txt +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/docs/licenses/zstandard-LICENSE.txt +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/clean-lz4.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/clean-zstd.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/clean.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/demo-contract.json +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/faults.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag/fleet-bag_0.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag/fleet-bag_1.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag/fleet-bag_2.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag/metadata.yaml +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag-interrupted/fleet-bag-interrupted_0.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag-interrupted/fleet-bag-interrupted_1.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-bag-interrupted/fleet-bag-interrupted_2.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-contract.json +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-dropout-lz4.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-paused-zstd.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/fleet-zstd.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/interrupted-zstd.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/malformed.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/no-crc.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/truncated.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/unchunked.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/examples/unsupported-codec.mcap +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/bag.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/contract.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/events.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/report.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/src/tracecheck/ui.html +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_bag.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_events.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/tests/test_truncated.py +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/chrome.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/bag.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/contract.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/crc32.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/events.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/json.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/lz4.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/report.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/engine/worker.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/feedback-schema.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/feedback.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/landing.css +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/main.js +0 -0
- {backplane_tracecheck-0.3.0 → backplane_tracecheck-0.4.1}/web/src/tracker-data.js +0 -0
|
@@ -36,3 +36,14 @@ Thumbs.db
|
|
|
36
36
|
desktop.ini
|
|
37
37
|
.vscode/
|
|
38
38
|
.idea/
|
|
39
|
+
*.code-workspace
|
|
40
|
+
|
|
41
|
+
# Secrets: never commit (this repo is public). Wrangler reads local Worker secrets from .dev.vars.
|
|
42
|
+
.env
|
|
43
|
+
.env.*
|
|
44
|
+
!.env.example
|
|
45
|
+
.dev.vars*
|
|
46
|
+
*.pem
|
|
47
|
+
*.key
|
|
48
|
+
*.p12
|
|
49
|
+
secrets/
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
|
|
5
|
+
[Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## [0.4.1] - 2026-11-30
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- Compressed chunks: the Python and browser engines now give the same result for every framing edge case. A zstd
|
|
11
|
+
frame that holds all of its data but was never finished (no block marked last) used to pass in Python and fail in
|
|
12
|
+
the browser; an LZ4 frame without its EndMark did the same. Both are now reported in both engines as an incomplete
|
|
13
|
+
scan (C01 fail), as the standard zstd and LZ4 tools treat them. Prompted by rosbag2 PRs #2578 / #2579 (a zstd
|
|
14
|
+
compressor that did not finish its frame for inputs of exactly 128 KiB, or empty ones).
|
|
15
|
+
- LZ4 chunks made of several frames, or starting with a skippable frame, are valid and now pass in Python too (they
|
|
16
|
+
already passed in the browser).
|
|
17
|
+
- A cut-short zstd or LZ4 chunk now gives the same error text in both engines; a zstd frame whose checksum or a
|
|
18
|
+
skippable frame that is cut short is reported as truncated in the browser too.
|
|
19
|
+
- New examples `zstd-128k.mcap`, `zstd-unfinished.mcap`, `zstd-truncated.mcap`, `zstd-empty-frame.mcap`,
|
|
20
|
+
`lz4-128k-two-frames.mcap` and `lz4-unfinished.mcap` (one 128 KiB chunk each), checked in full and fast mode in
|
|
21
|
+
both engines, and `examples/compression-cases.json`: 22 small compressed-chunk edge cases that both engines must
|
|
22
|
+
answer identically.
|
|
23
|
+
- `tracecheck serve`: a recording whose file name starts with `-` (for example `-x.mcap`) could not be checked; the
|
|
24
|
+
name is now passed as a single `--name=` argument.
|
|
25
|
+
- `tracecheck verify`: a deeply nested (malformed) manifest now gives a clear error and exit code 2 instead of a
|
|
26
|
+
traceback and exit code 1.
|
|
27
|
+
- `tracecheck --help` no longer lists the internal `_worker` command.
|
|
28
|
+
|
|
29
|
+
### Security and maintenance
|
|
30
|
+
- Regression tests and examples for two reader problems reported upstream, which Tracecheck is not affected by:
|
|
31
|
+
`indexless-attachment.mcap` / `indexless-badcrc.mcap` (no indexes, an attachment and metadata, and one wrong chunk
|
|
32
|
+
CRC; compare MCAP PR #1932) and `shared-boundary.mcap` (neighbouring chunks sharing a boundary timestamp must pass;
|
|
33
|
+
compare MCAP PR #1931). Checked in full and fast mode, in Python and in the browser engine.
|
|
34
|
+
- Feedback Worker: answers `503` JSON if the rate limiter fails instead of throwing; Workers observability is turned
|
|
35
|
+
off entirely so no request or exception logs are collected. `docs/FEEDBACK.md` updated (spam control is best-effort).
|
|
36
|
+
- `.gitignore` covers `.env`, `.dev.vars`, key files and editor workspace files.
|
|
37
|
+
- GitHub Actions pinned to exact commits; the PyPI release workflow now runs the full CI suite before building and
|
|
38
|
+
publishing; Dependabot opens weekly update pull requests (Actions, npm, pip).
|
|
39
|
+
- Ruff rules live in `pyproject.toml` (same locally and in CI, tests included); ruff pinned in the `dev` extra.
|
|
40
|
+
- Site guard-rail tests: no HTML-injection sinks, `eval` or service workers in site code; no inline or third-party
|
|
41
|
+
scripts; strict CSP. These cover every page on the domain, including the planned `/pro/` sales page.
|
|
42
|
+
|
|
43
|
+
### Website
|
|
44
|
+
- Tracker: added SYNCROBOTIC (“Jeff” and “Adventure” quadruped platforms) and BLUEPATH ROBOTICS (O1000 PLATFORM AMR,
|
|
45
|
+
OM1500 TUNNEL AMR), both from FCC DA 26-1243 (Nov 18, 2026). All 17 entries rechecked against that notice's
|
|
46
|
+
appendix (Nov 23). Conditions quoted as that notice words them ("as applicable" vetting; no "superseded" clause).
|
|
47
|
+
- Tracker: added ABB Robotics (AMMR G0540, AMMR G1240, P204V) and Pantograph Industries (Pandroid Robot Hardware),
|
|
48
|
+
both from FCC DA 26-1203 (Nov 6, 2026). All 15 entries rechecked against that notice's appendix (Nov 9).
|
|
49
|
+
- New article: plain-language summary of the FCC test-lab location rules (FCC 26-73) for robotics makers, at
|
|
50
|
+
`/insights/fcc-test-lab-rules/`, linked from the Covered List tracker.
|
|
51
|
+
- `sitemap.xml` lists the article and has last-modified dates; a site test checks every page's title, description,
|
|
52
|
+
canonical URL and sitemap entry.
|
|
53
|
+
- The Covered List tracker's entries, count and "last updated" date are written into the page HTML at build time
|
|
54
|
+
(`web/src/tracker-static.js`), so crawlers that do not run JavaScript see the full list instead of "Loading…". The
|
|
55
|
+
browser still loads the live data and replaces it with identical, filterable markup. Invalid data fails the build.
|
|
56
|
+
- `robots.txt` keeps search engines and AI search/answer crawlers allowed and now disallows AI training crawlers
|
|
57
|
+
(GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot and others). A site test checks both.
|
|
58
|
+
- Link-preview image (`/og-image.png`, 1200×630, source in `web/scripts/og-image.html`) on every page, with
|
|
59
|
+
`summary_large_image` cards.
|
|
60
|
+
- Google Search Console ownership proofs: a `google-site-verification` meta tag on the home page and
|
|
61
|
+
`/google3b619a281a7416fa.html`. A site test keeps both in place. The Worker serves the verification file at its exact
|
|
62
|
+
`.html` address, because the clean-URL setting would otherwise redirect it and Google rejects redirects.
|
|
63
|
+
- Updated the `wrangler` dev tool to 4.157.0, which brings in `undici` 7.30.1 and clears the npm audit and Dependabot
|
|
64
|
+
alerts (deploy/local-simulator tooling only; nothing from it ships in the website).
|
|
65
|
+
- Tracecheck page: a note by the download buttons that reports include the file name, topic names, metadata and the
|
|
66
|
+
contract. Two hidden file inputs no longer appear as unlabelled keyboard stops.
|
|
67
|
+
- FCC test-lab article: the Sources section links the order (PDF on fcc.gov).
|
|
68
|
+
- `/.well-known/security.txt` (security contact). Landing page footer headings use the correct level.
|
|
69
|
+
|
|
70
|
+
## [0.4.0] - 2026-11-03
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
- **Summary index agreement (C01, full scan).** Many tools jump through an MCAP file's summary indexes instead of
|
|
74
|
+
reading every record. C01 now checks that each Chunk, Attachment and Metadata index entry points to a record of that
|
|
75
|
+
type and length (for chunks, also compression, sizes and time range), that an index covers every record of its type,
|
|
76
|
+
and that the Statistics record matches the counts and times actually read. A disagreement **warns** and lists each
|
|
77
|
+
wrong entry or statistic; the records themselves are read directly, so the other checks are unaffected. Prompted by
|
|
78
|
+
MCAP TypeScript 2.4.0, which fixed attachment and metadata index offsets that could be wrong while messages were
|
|
79
|
+
buffered. Files with no indexes and no Statistics get a *skipped* (no conclusion) finding.
|
|
80
|
+
- `bad-index.mcap` synthetic example (intact records, wrong attachment and metadata index entries) and
|
|
81
|
+
`indexless-rosbag2.mcap` (no indexes, embedded `rosbag2` metadata; ROS 2's own reader has been reported to mis-read
|
|
82
|
+
such files, rosbag2 issue #2530).
|
|
83
|
+
- CI also runs the Python tests with `mcap` 1.6.
|
|
84
|
+
- **C08 largest backwards jump.** When record-order timestamps go backwards, the finding also reports
|
|
85
|
+
`largest_regression_ns` and the message pair where the largest jump happened, so small reordering jitter can be told
|
|
86
|
+
apart from a likely clock reset. Pass/fail is unchanged.
|
|
87
|
+
- Web app: "Wrong summary index" demo recording.
|
|
88
|
+
|
|
89
|
+
### Changed
|
|
90
|
+
- **Fast mode** falls back to a full scan, with a `fast_mode_fallback` reason, when the summary's metadata index does
|
|
91
|
+
not point to a Metadata record. Previously the scan stopped and the file was reported as unreadable.
|
|
92
|
+
- Web app: the result view shows the new C01 index facts and C08's largest backwards jump.
|
|
93
|
+
|
|
94
|
+
### Fixed
|
|
95
|
+
- Website: one small web font was embedded in the build as a `data:` URL, which the site's own security policy
|
|
96
|
+
(`font-src 'self'`) blocked. Fonts are now always served as files.
|
|
97
|
+
|
|
98
|
+
### Website
|
|
99
|
+
- FCC Covered List robot tracker: added Vulcan (DA 26-1130), Haystack and T-Robotics (DA 26-1154) on 2026-10-28, and
|
|
100
|
+
ARAPL, ATI Motors, Lightberry, SunScout, Swap Robotics and OMRON (DA 26-1181) on 2026-11-03. All 13 entries are checked
|
|
101
|
+
against Appendix B of DA 26-1181, the FCC's full list of robotic-device conditional approvals.
|
|
102
|
+
- Tracker page: a note explaining that waivers (for example DA 26-1146 for Intel) are not Covered List exemptions and are
|
|
103
|
+
not listed.
|
|
104
|
+
|
|
105
|
+
## [0.3.0] - 2026-10-20
|
|
106
|
+
|
|
107
|
+
### Added
|
|
108
|
+
- **Incomplete recordings.** A file that ends before its MCAP footer (for example, a recorder that stopped mid-write, or a file cut off while copying) now gets a specific C01 finding and a `recovered` report section: readable bytes, complete messages, log-time span, per-topic counts, and whether all message data was read. The other checks stay skipped; they are not evaluated on partial data. Shown in the CLI summary, the web app and the HTML report.
|
|
109
|
+
- `interrupted-zstd.mcap` synthetic example and web demo.
|
|
110
|
+
- **Gaps explained by recorder events.** When a recording contains rosbag2_dynamic_recorder (dynrec) `PauseEvent` or `SubscriptionChangeEvent` messages, C07 lists gaps covered by a recorded pause or topic unsubscribe as *explained* (with `explained_gap_count` and `explained_gaps`); they don't fail. Unexplained gaps still fail. The events are the recorder's own account and are not verified. Only their action and topic name are read; all other payloads stay opaque. Applies to the `log_time` basis only. A new top-level `recorder_events` section summarises the events found.
|
|
111
|
+
- `fleet-paused-zstd.mcap` synthetic example and "Paused recording (dynrec)" web demo.
|
|
112
|
+
- FCC Covered List robot tracker page on the website (`/tools/covered-list-robots/`).
|
|
113
|
+
- **ROS 2 bag folders.** `tracecheck check <folder>` and the web app (*Choose a bag folder*, or drop a folder) check a rosbag2 folder (`metadata.yaml` plus split `.mcap` files) as one recording. Channels are matched across files, so gaps, regressions and sequence breaks across file boundaries count. New check **C11 ROS 2 bag metadata agreement** compares the folder and the per-file, per-topic and total message counts with `metadata.yaml`; a listed file that is missing fails, and an unlisted `.mcap` warns and is not checked. A new `bag` report section lists each file with its size, SHA-256 and scan state; finding locations include a `file` key; `recovered` names the `incomplete_file`. Non-MCAP storage and rosbag2 file compression are refused (exit 2).
|
|
114
|
+
- `fleet-bag/` and `fleet-bag-interrupted/` synthetic examples and web demos.
|
|
115
|
+
- **`tracecheck manifest` and `tracecheck verify`.** Write a JSON manifest of an `.mcap` file or a ROS 2 bag folder (each file's size and SHA-256, plus the message count per topic), then check a copy against it after transfer. Each file is reported as match, changed, missing or extra; exit 0 when everything matches, 1 when something differs. A matching hash identifies the same bytes; it does not establish who made the recording or that its contents are true, and the manifest is not signed.
|
|
116
|
+
|
|
117
|
+
### Changed
|
|
118
|
+
- Fast mode falls back to a full scan when the file doesn't end with the MCAP magic bytes, so incomplete files get the recovered summary.
|
|
119
|
+
- Web demo list: the interrupted fleet recording replaces the small truncated demo; the dropout demo is correctly described as a lidar (`/scan`) outage.
|
|
120
|
+
- Tracecheck page and landing page Pro note: "folder-based processing" now reads "checking many recordings at once", since checking one bag folder is free.
|
|
121
|
+
- **C06 average rate leaves out recorded pauses.** When a recording contains dynrec pause or unsubscribe events, the rate bounds are applied to `active_hz`, which leaves out the time those events cover. The finding also reports `observed_hz` (whole span, as before), `excluded_ns` and `excluded_by`. Recordings without such events are unchanged.
|
|
122
|
+
|
|
123
|
+
## [0.2.0] - 2026-10-14
|
|
124
|
+
|
|
125
|
+
### Added
|
|
126
|
+
- **Compressed chunks.** zstd and lz4 chunks are decoded, with output strictly capped at the declared uncompressed size, so decompression bombs fail safely.
|
|
127
|
+
- **Streaming reader** (`tracecheck.reader`): a self-contained, bounded MCAP parser. SHA-256 and CRCs are computed in a single pass, and memory is bounded by explicit limits. The 64 MiB file-size cap is gone.
|
|
128
|
+
- **Fast mode** (`--fast`): reads only the summary section for an instant inventory, counts, schemas and metadata check. It falls back to a full scan when the summary is missing or incomplete.
|
|
129
|
+
- **`missing_crc` contract key** (`"warn"` or `"ignore"`) and the `--ignore-missing-crc` flag.
|
|
130
|
+
- Summary-section CRC verification.
|
|
131
|
+
- CLI flags: `--fail-on`, `--timeout`, `--max-chunk-mib`, `--max-record-mib`, `--max-tracked-messages`, `--quiet`, `--version`, and `samples --dest`.
|
|
132
|
+
- Report fields (`report_version` 2): `scan_mode`, `fast_mode_fallback`, `compression`, `scan_stats`, `checksum_coverage`.
|
|
133
|
+
- More synthetic examples: zstd, lz4, unchunked, no-CRC, unsupported-codec, malformed and truncated files, plus a 4-topic mobile-robot recording with and without a sensor dropout. `examples/expected.json` holds the golden results shared by the Python and browser test suites.
|
|
134
|
+
- **Web app** (`web/`): a browser-only static site for backplanerobotics.com with the Tracecheck app.
|
|
135
|
+
- A JavaScript port of the engine running in a Web Worker. Files never leave the browser.
|
|
136
|
+
- Handles multi-GB files and zstd/lz4 chunks.
|
|
137
|
+
- Demo recordings, a contract editor, and JSON/HTML report downloads.
|
|
138
|
+
- Reports are byte-identical to the Python CLI's, apart from timestamps and tool fields.
|
|
139
|
+
- A strict Content-Security-Policy.
|
|
140
|
+
|
|
141
|
+
### Changed
|
|
142
|
+
- Renamed the project from "Recording Health Checker" to **Backplane Tracecheck**.
|
|
143
|
+
- The Python package `rhc` is now `tracecheck`.
|
|
144
|
+
- The PyPI distribution is `backplane-tracecheck`.
|
|
145
|
+
- The CLI command is `tracecheck`.
|
|
146
|
+
- `tracecheck check` runs in-process, with no subprocess and no size cap. The local `serve` UI keeps its 64 MiB upload limit.
|
|
147
|
+
- **Missing-CRC rule.** C01 now warns only when some message data has no CRC coverage. Default ROS 2 files, which have chunk CRCs but no data-section CRC, now pass.
|
|
148
|
+
- Packaged with `pyproject.toml` (hatchling), replacing `requirements*.txt` and the Windows `.cmd` launchers.
|
|
149
|
+
- Relicensed as Apache-2.0 open source.
|
|
150
|
+
|
|
151
|
+
### Fixed
|
|
152
|
+
- The local server no longer returns stderr text or the user's home path in error responses.
|
|
153
|
+
- The local server now requires a matching `Origin` header on POST requests.
|
|
154
|
+
|
|
155
|
+
### Removed
|
|
156
|
+
- MVP governance, evidence, QA and marketing files were moved out of the repository into a local archive.
|
|
157
|
+
|
|
158
|
+
## [0.1.0] - 2026-10-13
|
|
159
|
+
|
|
160
|
+
### Added
|
|
161
|
+
- Initial MVP: CLI and local browser UI, 10 contract checks, JSON and HTML reports, and synthetic examples.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: backplane-tracecheck
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Check robot recordings (MCAP) against an explicit, versioned recording contract.
|
|
5
5
|
Project-URL: Homepage, https://backplanerobotics.com
|
|
6
6
|
Project-URL: Source, https://github.com/backplane-robotics/backplane-tracecheck
|
|
@@ -26,7 +26,7 @@ Requires-Dist: zstandard>=0.22
|
|
|
26
26
|
Provides-Extra: dev
|
|
27
27
|
Requires-Dist: build>=1.2; extra == 'dev'
|
|
28
28
|
Requires-Dist: pytest>=8; extra == 'dev'
|
|
29
|
-
Requires-Dist: ruff
|
|
29
|
+
Requires-Dist: ruff==0.17.3; extra == 'dev'
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
32
32
|
# Backplane Tracecheck
|
|
@@ -127,7 +127,7 @@ Start minimal, then read the report's channel inventory to see the actual schema
|
|
|
127
127
|
|
|
128
128
|
| ID | Check |
|
|
129
129
|
|---|---|
|
|
130
|
-
| C01 | Readable bounded MCAP scan (with CRC verification where present) |
|
|
130
|
+
| C01 | Readable bounded MCAP scan (with CRC verification where present, and summary index agreement) |
|
|
131
131
|
| C02 | Required topics contain messages |
|
|
132
132
|
| C03 | Profile, schema and encoding |
|
|
133
133
|
| C04 | Required file metadata |
|
|
@@ -96,7 +96,7 @@ Start minimal, then read the report's channel inventory to see the actual schema
|
|
|
96
96
|
|
|
97
97
|
| ID | Check |
|
|
98
98
|
|---|---|
|
|
99
|
-
| C01 | Readable bounded MCAP scan (with CRC verification where present) |
|
|
99
|
+
| C01 | Readable bounded MCAP scan (with CRC verification where present, and summary index agreement) |
|
|
100
100
|
| C02 | Required topics contain messages |
|
|
101
101
|
| C03 | Profile, schema and encoding |
|
|
102
102
|
| C04 | Required file metadata |
|
|
@@ -26,7 +26,7 @@ Contracts are UTF-8 JSON objects up to 64 KiB. Keys are case-sensitive; duplicat
|
|
|
26
26
|
| `clock_confirmed` | Boolean, default false. All four timing checks skip unless true. User asserts the clock is interpretable for this requirement. |
|
|
27
27
|
| `min_rate_hz`, `max_rate_hz` | Optional inclusive bounds for observed average `(N−1)/(last−first)` after sorting. Not windowed rate or proof of session completeness. Use interval/gap checks too. On the `log_time` basis, if the recording contains rosbag2_dynamic_recorder pause or unsubscribe events, time covered by them is left out: the bounds are applied to `active_hz`, and the finding also reports `observed_hz` (whole span), `excluded_ns` and `excluded_by`. The events are the recorder's own account and are not verified. |
|
|
28
28
|
| `max_gap_ns` | Optional inclusive upper limit between adjacent **sorted** timestamps. Does not include leading/trailing gaps. On the `log_time` basis, a gap covered by a rosbag2_dynamic_recorder pause or unsubscribe event in the recording is listed under `explained_gaps` and does not fail, provided no uncovered part of the gap exceeds the limit. |
|
|
29
|
-
| `check_regression` | Boolean, default false. Strict decreases in **physical record order** fail; equal timestamps pass. |
|
|
29
|
+
| `check_regression` | Boolean, default false. Strict decreases in **physical record order** fail; equal timestamps pass. When there are regressions, the C08 finding also reports `largest_regression_ns` and the message pair where the largest backwards jump happened (`largest_regression`), to help tell small reordering jitter from a clock reset. |
|
|
30
30
|
| `sequence` | `disabled` (default) or `increment_mod32`. The latter asserts one unit-incrementing sequence source per channel, allowing wrap from 2^32−1 to 0; resets, duplicates and jumps fail. |
|
|
31
31
|
| `interval_ns` | Optional inclusive `[start,end]`, with start < end, on the selected clock. All recorded timestamps must be inside; first and last must reach the respective boundaries within tolerance. |
|
|
32
32
|
| `boundary_tolerance_ns` | Nonnegative integer, default 0; at most half the interval length. |
|
|
@@ -44,7 +44,8 @@ The JSON report embeds the complete contract and hashes its normalized UTF-8 JSO
|
|
|
44
44
|
- **Full scan** (default) streams the whole file. It computes the file SHA-256 and verifies every CRC that is present: the data-section CRC in the Data End record, each chunk's CRC of its uncompressed records, and the summary CRC in the footer. Attachment CRCs are not checked. Attachments and unknown record types are hashed but skipped.
|
|
45
45
|
- **CRC coverage rule.** C01 warns about missing CRCs only when the data-section CRC is absent **and** some message data is not covered by another CRC: a chunk without a CRC, or a message outside any chunk. Default ROS 2 recordings, with chunk CRCs but no data-section CRC, therefore pass. Set `missing_crc` to `"ignore"` to suppress the warning entirely.
|
|
46
46
|
- **Compression.** Chunks may be uncompressed, `zstd` or `lz4`. Decompressed output is capped at the chunk's declared uncompressed size. A mismatch, any other codec, or a chunk above the size limit fails C01.
|
|
47
|
-
- **
|
|
47
|
+
- **Summary index agreement** (full scan). Other tools often jump through the summary section's indexes instead of reading the whole file. C01 therefore checks that every Chunk, Attachment and Metadata index entry points to a record of that type and length (for chunks, also the compression, sizes and time range), that an index covers every record of its type, and that the Statistics record agrees with the counts and times actually read. A disagreement **warns**, listing each entry (`index`, `entry`, `offset`, `length`, `problem`) or statistic (`field`, `claimed`, `observed`); the records themselves were read directly, so the other checks are unaffected. A writer bug of this kind was fixed in MCAP TypeScript 2.4.0. A file with no indexes and no Statistics gets a *skipped* finding (no conclusion), not a failure. The finding reports `summary_index`, `index_entries_checked` and `summary_statistics`.
|
|
48
|
+
- **Fast mode** (`--fast` in the CLI, the toggle in the web app) reads only the header, footer and summary section (Statistics, Channel, Schema and indexed Metadata records) and checks the summary CRC. C01–C05 run on that information; C06–C10 skip because they need every timestamp. If the summary is missing or lacks Statistics, or its metadata index does not point to a Metadata record, the scan falls back to a full scan and records `fast_mode_fallback` in the report. In fast mode `source.sha256` is `null`.
|
|
48
49
|
- **Limits.** Defaults: 256 MiB per record, uncompressed chunk and summary section; 20 million tracked timestamps for sorted-gap checks; 10,000 schemas/channels/metadata records. Exceeding a limit fails C01 with an explanation, rather than exhausting memory. The CLI exposes `--max-chunk-mib`, `--max-record-mib`, `--max-tracked-messages` and `--timeout`. There is no overall file-size cap.
|
|
49
50
|
|
|
50
51
|
## ROS 2 bag folders (C11)
|
|
@@ -28,12 +28,16 @@ only after the KV write has completed.
|
|
|
28
28
|
|
|
29
29
|
## Privacy controls
|
|
30
30
|
|
|
31
|
-
- **No application logging.** The Worker has no `console` calls. Workers invocation logs
|
|
32
|
-
`wrangler.jsonc`
|
|
31
|
+
- **No application logging.** The Worker has no `console` calls. Workers observability (invocation logs and
|
|
32
|
+
Workers Logs, which would also record uncaught exceptions) is turned off in `wrangler.jsonc`
|
|
33
|
+
(`observability.enabled: false`). If the rate limiter fails, the Worker answers `503` JSON instead of throwing.
|
|
33
34
|
- **Rate limiting.** 5 submissions per minute per client, using the Cloudflare Workers rate-limiting binding.
|
|
34
|
-
The client IP is the in-memory counter key and is not written to storage.
|
|
35
|
+
The client IP is the in-memory counter key and is not written to storage. Cloudflare documents this binding as
|
|
36
|
+
per-location and approximate, so treat it as best-effort. An optional Cloudflare WAF rate-limiting rule on
|
|
37
|
+
`/api/feedback` (dashboard, no code) adds a stricter ceiling.
|
|
35
38
|
- **Spam control.** Only same-origin browser requests are accepted (`Sec-Fetch-Site: same-origin`, or a matching
|
|
36
|
-
`Origin`).
|
|
39
|
+
`Origin`). This blocks other websites, but a script outside a browser can fake these headers, so spam control is
|
|
40
|
+
best-effort. There is no CAPTCHA or third-party script.
|
|
37
41
|
- **No public listing.** The Worker exposes no read or list endpoint. Any other `/api/*` path returns 404.
|
|
38
42
|
- **Provider logs.** Cloudflare may still keep its own edge and security logs for requests to the site.
|
|
39
43
|
Check the current Cloudflare dashboard settings and policies before making stronger statements.
|
|
@@ -47,23 +51,21 @@ Each entry is written with a KV `expirationTtl` of 90 days, after which Cloudfla
|
|
|
47
51
|
> `npx wrangler kv key put --binding FEEDBACK --remote "feedback:ttl-test" "{}" --ttl 60`, then confirm it is gone
|
|
48
52
|
> a few minutes later.
|
|
49
53
|
|
|
50
|
-
## One-time setup (owner)
|
|
54
|
+
## One-time setup (owner, done 2026-10-18)
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
This was done once when the feature was added; it is kept here for reference (for example, to recreate the
|
|
57
|
+
namespace). Run from the repository root with your Cloudflare account. Workers KV and the rate-limiting binding are
|
|
58
|
+
both available on the free plan.
|
|
54
59
|
|
|
55
60
|
```bash
|
|
56
61
|
cd web && npm ci && cd ..
|
|
57
62
|
npx --prefix web wrangler login
|
|
58
63
|
npx --prefix web wrangler kv namespace create FEEDBACK
|
|
59
|
-
#
|
|
64
|
+
# Put the printed id in wrangler.jsonc (kv_namespaces → FEEDBACK → id).
|
|
60
65
|
cd web && npm run build && cd ..
|
|
61
66
|
npx --prefix web wrangler deploy
|
|
62
67
|
```
|
|
63
68
|
|
|
64
|
-
Until the placeholder id is replaced, `wrangler deploy` fails. That stops the site from being deployed with a
|
|
65
|
-
feedback button that cannot store anything.
|
|
66
|
-
|
|
67
69
|
## Reading feedback privately
|
|
68
70
|
|
|
69
71
|
Feedback is read only through the authenticated Cloudflare dashboard or the CLI:
|
|
Binary file
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Compressed-chunk edge cases; both engines must give exactly `result`. Written by tests/make_compression_cases.py.",
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"name": "zstd finished frame",
|
|
6
|
+
"compression": "zstd",
|
|
7
|
+
"size": 192,
|
|
8
|
+
"hex": "28b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63",
|
|
9
|
+
"result": "ok 192"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "zstd frame never finished",
|
|
13
|
+
"compression": "zstd",
|
|
14
|
+
"size": 192,
|
|
15
|
+
"hex": "28b52ffd0058fc0000c073796e746865746963206368756e6b207265636f72647320010094969a63",
|
|
16
|
+
"result": "error: zstd chunk decompression failed: unexpected EOF"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zstd frame cut short",
|
|
20
|
+
"compression": "zstd",
|
|
21
|
+
"size": 192,
|
|
22
|
+
"hex": "28b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f7264732001",
|
|
23
|
+
"result": "error: zstd chunk decompression failed: unexpected EOF"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "zstd no data",
|
|
27
|
+
"compression": "zstd",
|
|
28
|
+
"size": 192,
|
|
29
|
+
"hex": "",
|
|
30
|
+
"result": "error: decompressed chunk size differs from declared uncompressed size"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "zstd no data, 0 bytes declared",
|
|
34
|
+
"compression": "zstd",
|
|
35
|
+
"size": 0,
|
|
36
|
+
"hex": "",
|
|
37
|
+
"result": "ok 0"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "zstd frame header only, 0 bytes declared",
|
|
41
|
+
"compression": "zstd",
|
|
42
|
+
"size": 0,
|
|
43
|
+
"hex": "28b52ffd2000",
|
|
44
|
+
"result": "error: zstd chunk decompression failed: unexpected EOF"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "zstd two frames",
|
|
48
|
+
"compression": "zstd",
|
|
49
|
+
"size": 384,
|
|
50
|
+
"hex": "28b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a6328b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63",
|
|
51
|
+
"result": "ok 384"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "zstd trailing bytes",
|
|
55
|
+
"compression": "zstd",
|
|
56
|
+
"size": 192,
|
|
57
|
+
"hex": "28b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a637878",
|
|
58
|
+
"result": "error: zstd chunk decompression failed: invalid zstd data"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "zstd checksum present",
|
|
62
|
+
"compression": "zstd",
|
|
63
|
+
"size": 192,
|
|
64
|
+
"hex": "28b52ffd24c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63d4138ea6",
|
|
65
|
+
"result": "ok 192"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "zstd checksum cut short",
|
|
69
|
+
"compression": "zstd",
|
|
70
|
+
"size": 192,
|
|
71
|
+
"hex": "28b52ffd24c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63d413",
|
|
72
|
+
"result": "error: zstd chunk decompression failed: unexpected EOF"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "zstd skippable frame first",
|
|
76
|
+
"compression": "zstd",
|
|
77
|
+
"size": 192,
|
|
78
|
+
"hex": "502a4d180300000061626328b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63",
|
|
79
|
+
"result": "ok 192"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "zstd skippable frame cut short",
|
|
83
|
+
"compression": "zstd",
|
|
84
|
+
"size": 192,
|
|
85
|
+
"hex": "28b52ffd20c0fd0000c073796e746865746963206368756e6b207265636f72647320010094969a63502a4d18030000006162",
|
|
86
|
+
"result": "error: zstd chunk decompression failed: unexpected EOF"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "lz4 finished frame",
|
|
90
|
+
"compression": "lz4",
|
|
91
|
+
"size": 192,
|
|
92
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f7264732000000000",
|
|
93
|
+
"result": "ok 192"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "lz4 no EndMark",
|
|
97
|
+
"compression": "lz4",
|
|
98
|
+
"size": 192,
|
|
99
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f72647320",
|
|
100
|
+
"result": "error: lz4 chunk decompression failed: lz4: truncated frame"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "lz4 block cut short",
|
|
104
|
+
"compression": "lz4",
|
|
105
|
+
"size": 192,
|
|
106
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f7264732018009050",
|
|
107
|
+
"result": "error: lz4 chunk decompression failed: lz4: block overruns input"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "lz4 EndMark cut short",
|
|
111
|
+
"compression": "lz4",
|
|
112
|
+
"size": 192,
|
|
113
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f726473200000",
|
|
114
|
+
"result": "error: lz4 chunk decompression failed: lz4: truncated frame"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "lz4 no data",
|
|
118
|
+
"compression": "lz4",
|
|
119
|
+
"size": 192,
|
|
120
|
+
"hex": "",
|
|
121
|
+
"result": "error: decompressed chunk size differs from declared uncompressed size"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "lz4 two frames",
|
|
125
|
+
"compression": "lz4",
|
|
126
|
+
"size": 384,
|
|
127
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f726473200000000004224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f7264732000000000",
|
|
128
|
+
"result": "ok 384"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "lz4 trailing bytes",
|
|
132
|
+
"compression": "lz4",
|
|
133
|
+
"size": 192,
|
|
134
|
+
"hex": "04224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f72647320000000007878",
|
|
135
|
+
"result": "error: lz4 chunk decompression failed: lz4: truncated frame"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "lz4 skippable frame first",
|
|
139
|
+
"compression": "lz4",
|
|
140
|
+
"size": 192,
|
|
141
|
+
"hex": "502a4d180300000061626304224d186840c0000000000000005f23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f7264732000000000",
|
|
142
|
+
"result": "ok 192"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "lz4 content checksum present",
|
|
146
|
+
"compression": "lz4",
|
|
147
|
+
"size": 192,
|
|
148
|
+
"hex": "04224d186c40c000000000000000de23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f7264732000000000e7ef0ddb",
|
|
149
|
+
"result": "ok 192"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "lz4 content checksum cut short",
|
|
153
|
+
"compression": "lz4",
|
|
154
|
+
"size": 192,
|
|
155
|
+
"hex": "04224d186c40c000000000000000de23000000ff0973796e746865746963206368756e6b207265636f72647320180090506f7264732000000000e7ef",
|
|
156
|
+
"result": "error: lz4 chunk decompression failed: lz4: trailing bytes after frame"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|