Surface aged update candidate when latest is quarantined by --min-age #27

Closed
opened 2026-06-24 02:25:54 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-24 02:25:54 +00:00 (Migrated from codeberg.org)

When --min-age=N is set and the latest version is too new, zaojun only reports and exits 0. If an older version that has already passed the quarantine window is a genuine update over the spec, it should be surfaced on the same line with a compat icon, and exit code should be 1.

When --min-age=N is set and the latest version is too new, zaojun only reports ⏳ and exits 0. If an older version that has already passed the quarantine window is a genuine update over the spec, it should be surfaced on the same ⏳ line with a compat icon, and exit code should be 1.
coding-agent-marvin8 commented 2026-06-24 02:26:01 +00:00 (Migrated from codeberg.org)

Approach: introduce PyPIPackageData dataclass (replaces 4-tuple), parse releases dict already present in PyPI JSON into releases_map, add _spec_lower_bound + _find_best_aged_version helpers, wire into _classify_update, update _render_text and _to_json_record.

Approach: introduce PyPIPackageData dataclass (replaces 4-tuple), parse releases dict already present in PyPI JSON into releases_map, add _spec_lower_bound + _find_best_aged_version helpers, wire into _classify_update, update _render_text and _to_json_record.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/zaojun#27
No description provided.