Skip to content

Verbose license-binary check failures in CI #5056

Description

@Ma77Ball

Feature Summary

When the license-binary check fails in CI, the log lists only package names and versions. Maintainers have to look up two things by hand for each offender: the package's declared license, and which of the 9 per-module LICENSE-binary files to edit. Both are already available in the script's input data; they just aren't printed.

Proposed Solution or Design

Enrich the failure report in bin/licensing/check_binary_deps.py so each bullet shows the license and the file to edit:

   + [email protected]  (license: MIT) → add to frontend/LICENSE-binary
   - [email protected] → remove from frontend/LICENSE-binary
   ~ foo: LICENSE-binary=1.0  bundled=1.1 → update in frontend/LICENSE-binary

License strings come from 3rdpartylicenses.json (npm) and pip-licenses.csv (python). The target file is determined by --license-binary when set; otherwise, a per-ecosystem default. Covers transitive deps too, since the input files list everything bundled. No CI workflow changes.

Affected Area

Other

Activity

  1. added theissue type on May 13, 2026
  2. added a commit that references this issue on May 15, 2026
    6060877
  3. added a commit that references this issue on Jun 22, 2026
    54f1e5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions