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

Commit 5aa7eb3

Browse files
committed
fix: make Windows release test portable
1 parent 7bf95a5 commit 5aa7eb3

5 files changed

Lines changed: 18 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to TokenZero will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.1] -- 2026-07-15
9+
10+
### Fixed
11+
- Windows release verification now streams its large decode-failure fixture from a temporary file, avoiding the Windows process argument-length limit while preserving the corruption taxonomy regression.
12+
813
## [1.4.0] -- 2026-07-15
914

1015
### Added

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
]
1313

1414
[workspace.package]
15-
version = "1.4.0"
15+
version = "1.4.1"
1616
edition = "2024"
1717
license = "MIT"
1818
repository = "https://github.com/AdityaVG13/tokenzero"

crates/tokenzero/tests/cli_tools_io.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ fn cli_expand_not_found_names_all_lookup_tiers() {
138138
fn cli_expand_decode_failure_keeps_expand_failed_taxonomy() {
139139
let root = tempdir().unwrap();
140140
let cache = root.path().join("cache.json");
141-
let expected = "D".repeat(70 * 1024);
141+
let payload = root.path().join("payload.txt");
142+
fs::write(&payload, "D".repeat(70 * 1024)).unwrap();
142143
let output = assert_success(
143144
tokenzero_cmd().env("TOKENZERO_REF_INDEX", "0").current_dir(root.path())
144-
.args(argv!["run";"--cache-path";cache.to_str().unwrap();"--json";"--";"python3";"-c";&format!("import sys; sys.stdout.write({expected:?})")])
145+
.args(argv!["run";"--cache-path";cache.to_str().unwrap();"--json";"--";"python3";"-c";"from pathlib import Path; import sys; sys.stdout.buffer.write(Path(sys.argv[1]).read_bytes())";payload.to_str().unwrap()])
145146
.output().unwrap(),
146147
"large run for decode",
147148
);

package/npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"@tokenzero/cli","version":"1.4.0","description":"Recovery-aware context compression runtime for AI coding agents","license":"MIT","bin":{"tokenzero":"bin/tokenzero.js"},"files":["bin/tokenzero.js","README.md"],"scripts":{"smoke":"node bin/tokenzero.js --version","test":"node --test test/*.test.js"}}
1+
{"name":"@tokenzero/cli","version":"1.4.1","description":"Recovery-aware context compression runtime for AI coding agents","license":"MIT","bin":{"tokenzero":"bin/tokenzero.js"},"files":["bin/tokenzero.js","README.md"],"scripts":{"smoke":"node bin/tokenzero.js --version","test":"node --test test/*.test.js"}}

0 commit comments

Comments
 (0)