Skip to content

THRIFT-6463: Remove the empty build leftovers in lib/ts/dist - #4062

Merged
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6463
Oct 28, 2026
Merged

Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6463

Conversation

@Jens-G

@Jens-G Jens-G commented Oct 28, 2026

Copy link
Copy Markdown
Member

THRIFT-6463

clean-local in lib/ts/Makefile.am removes the dist directory, and that directory held two tracked files: lib/ts/dist/thrift.js, which is empty, and lib/ts/dist/thrift.min.js, which holds a single banner line (/*! thrift 07-01-2019 */). Both came in with THRIFT-4675. After any make clean in lib/ts, or a top-level one with Java enabled, git status showed both files as deleted.

Nothing builds or reads lib/ts/dist: the TypeScript tests copy lib/js/src/thrift.js into test/build, and dist-hook already leaves dist/ out of the source tarball. This change removes the two files. Makefile.am is unchanged.

Checked in thrift:jammy, configured with the CI's library arguments (Java on), by running make -C lib/ts clean and then git status --short:

master this branch
git status --short D lib/ts/dist/thrift.js
D lib/ts/dist/thrift.min.js
(nothing)

Not touched here: lib/ts/Gruntfile.js still has a concat config for dist/thrift.js and a header comment about building dist/. grunt-contrib-concat is not loaded in that Gruntfile, so neither has an effect.

  • Apache Jira ticket: THRIFT-6463
  • Single commit
  • Removes files, so the commit carries no CI-skip marker.

🤖 Generated with Claude Code

Client: ts

lib/ts/dist/thrift.js is empty, and lib/ts/dist/thrift.min.js holds
only a banner line. Nothing builds or reads lib/ts/dist, and the
clean-local rule in lib/ts/Makefile.am deletes that directory, so every
make clean left the two files deleted in the working tree. Remove them
from the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jens-G
Jens-G requested a review from emmenlau as a code owner October 28, 2026 15:10
@mergeable mergeable Bot added the typescript label Oct 28, 2026
@Jens-G
Jens-G merged commit aedbc47 into apache:master Oct 28, 2026
109 checks passed
@Jens-G
Jens-G deleted the THRIFT-6463 branch October 28, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant