Skip to content

Remove the Node.js implementation and its tooling - #36

Merged
aneshlya merged 2 commits into
mainfrom
remove-node-leftovers
Oct 9, 2026
Merged

aneshlya merged 2 commits into
mainfrom
remove-node-leftovers

Conversation

@aneshlya

@aneshlya aneshlya commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #35. The action now runs install.sh as a composite action, so this removes the Node implementation and the tooling around it.

Changes

  • Delete src/, build/, package.json, package-lock.json, node_modules from .gitignore, and test/parity.sh (old-vs-new differential test).
  • build.yml: replace npm lint/build/diff with shellcheck install.sh test/*.sh. Job name build is unchanged.
  • parity.yml → unit.yml: keep the unit and windows-zip self-tests; drop the parity job and the lint job (now in build.yml).
  • codeql.yml: language javascript → actions, bump init/analyze from v3.25.12 to v4.38.3 (pinned SHA), remove autobuild and codeql-config.yml (it only ignored build/ and node_modules/).
  • dependabot.yml: ecosystem npm → github-actions.
  • DEVELOPMENT.md: replace Node instructions with the Bash workflow.
  • install.sh: add --connect-timeout 10 --max-time 300 to the latest-version API request. Without it a stalled api.github.com connection hung the step until the job timeout; Node's fetch gave up after 300 s. Only affects version empty or latest.

README.md, action.yml and the interface/e2e tests in test.yml are unchanged. The @v1-node tag remains available as a fallback.

Testing

  • bash test/unit.sh: 81 passed locally; python3 test/download-timeout.py: OK.
  • CI: please check that the CodeQL actions analysis initializes and completes.

🤖 Generated with Claude Code

aneshlya and others added 2 commits October 8, 2026 14:39
The action runs install.sh as a composite action, so the Node sources,
the bundle, npm files and the old-vs-new parity test are no longer used.

- Delete src/, build/, package.json, package-lock.json and test/parity.sh.
- build.yml: run shellcheck instead of npm lint/build.
- Rename parity.yml to unit.yml, keeping the unit and windows-zip jobs.
- codeql.yml: analyze the actions language with codeql-action v4.38.3,
  drop autobuild and the now-unneeded codeql-config.yml.
- dependabot.yml: track github-actions instead of npm.
- DEVELOPMENT.md: describe the Bash workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
download() already bounds its curl call, but the GitHub API request did
not, so a stalled connection hung the step until the job timeout. Node's
fetch gave up after 300 s; match that with --max-time 300 and a 10 s
connect timeout. Only affects runs where version is empty or latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@aneshlya
aneshlya requested a review from azwolski October 8, 2026 21:49
Comment thread DEVELOPMENT.md
```bash
export RUNNER_TEMP=/tmp/runner_temp
npm run run
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_VERSION=1.23.0 bash install.sh

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_VERSION=1.23.0 bash install.sh
touch /tmp/p
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_VERSION=1.23.0 bash install.sh

Comment thread DEVELOPMENT.md

```bash
INPUT_PLATFORM=macOS INPUT_VERSION=1.23.0 INPUT_ARCHITECTURE=x86_64 npm run run
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_PLATFORM=macOS INPUT_VERSION=1.23.0 INPUT_ARCHITECTURE=x86_64 bash install.sh

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_PLATFORM=macOS INPUT_VERSION=1.23.0 INPUT_ARCHITECTURE=x86_64 bash install.sh
touch /tmp/p
RUNNER_TEMP=/tmp/rt GITHUB_PATH=/tmp/p INPUT_PLATFORM=macOS INPUT_VERSION=1.23.0 INPUT_ARCHITECTURE=x86_64 bash install.sh

@aneshlya
aneshlya merged commit 3a08ea6 into main Oct 9, 2026
50 checks passed
@aneshlya
aneshlya deleted the remove-node-leftovers branch October 9, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants