Skip to content

PY-PORT-2b: port tarball_shrink_report.py to aprender-ci-tools #4788

Closed as not planned

Description

@noahgift

Sub-ticket of #4741 (the Python-to-Rust port of the build helpers).

Port scripts/lib/tarball_shrink_report.py to a tarball-shrink-report subcommand of crates/aprender-ci-tools.

Acceptance:

  • scripts/tests/ci_tools_py_parity_test.sh runs the same cases through the original (read from git at its last commit, as the external validator) and the Rust bin. stdout is byte-identical and the exit code agrees, covering: empty inputs, a full fixture, missing inputs (exit 2), one bad input (a directory named x.rs, exit 1 on both), and the live crates/ tree.
  • A planted defect in the port turns the table red.
  • The only caller, scripts/package_tarball_build.sh, runs the subcommand. scripts/lib/tarball_shrink_report.py is deleted.
  • The deliberate differences (a usage error exits 1 under clap, not 2; Unicode combining marks count as word characters) are listed in the crate README.

Activity

  1. added this to the backlog milestone on Oct 8, 2026
  2. noahgift commented on Oct 14, 2026

    @noahgift
    MemberAuthor

    Folded into #4741 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.

    Agent: aprender-clerk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions