The GitHub Actions job "Check binary dependency licenses" on 
texera.git/chore/draft-binary-license has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
91fe927edfd247190fa95d21291606c758ed90c0 / Jiadong Bai 
<[email protected]>
chore(license): add agent-service npm dependency tracking

Mirror the existing JVM/frontend-npm/Python license checks for the new
agent-service Node/Bun sidecar (added in upstream commit dd39f93e1).

Pieces:

  agent-service/bin/collect-licenses.ts
    Walks node_modules/<pkg>/package.json (and node_modules/@<scope>/<pkg>)
    after `bun install --production --frozen-lockfile`, emits a
    {name, version, license}[] manifest in the same shape that the
    frontend's license-webpack-plugin produces. Bun has no built-in
    license enumerator; this is a 60-line replacement.

  bin/licensing/check_binary_deps.py
    + ECO_HEADERS["agent-npm"] = "Agent service npm packages"
    + new agent-npm branch in main(), reusing collect_npm() and
      NPM_BULLET (the agent-service manifest has the same JSON shape
      and bullet format as the frontend's).

  LICENSE-binary
    + 'Agent service npm packages:' subsection added under each license
      type the agent-service deps land in: Apache-2.0 (9 pkgs), MIT
      (43 pkgs), BSD-3-Clause (3 pkgs), ISC (1 pkg), 0BSD (1 pkg).
      Total 57 production deps (transitive closure of 9 dependencies
      in agent-service/package.json). All ASF Category A; no copyleft.
      [email protected] is dual-licensed AFL-2.1 OR BSD-3-Clause; we
      redistribute under BSD-3-Clause.

  .github/workflows/check-binary-licenses.yml
    + check-agent-service-deps job mirroring the frontend's
      check-npm-deps shape: setup Bun, install --production
      --frozen-lockfile, run the collector, diff against LICENSE-binary.

Verified locally: ./bin/licensing/check_binary_deps.py agent-npm
agent-service/dist/3rdpartylicenses.json reports
"OK: 57 agent-service npm packages match LICENSE-binary."

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/25032729324

With regards,
GitHub Actions via GitBox

Reply via email to