Repository navigation
ci: cancel superseded CI runs on next and hotfixes - #119
Merged
Merged
Conversation
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0 template. Only pushes to the release base branch keep a unique group per run; next, hotfixes and the release PRs cancel superseded runs, so they can't fill the org's hosted runner pool (CLDMV/.github#583). Resolves #116
Shinrai
approved these changes
Nov 28, 2026
This was referenced Nov 28, 2026
Merged
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 30, 2026
# DroidSock v2.3.0 Changelog
**Release Date**: November 2026
**Release Type**: Minor
**Branch**: `release/2.3.0`
---
## Overview
v2.3.0 switches the CommonJS entry to the generic `index.cjs` shim used across the CLDMV libraries, and moves the development tools to their latest versions. `require("@cldmv/droidsock")` returns the same function with the same properties as v2.2.1, so this is a drop-in upgrade. The shim also sets `.default` on the result, which the old entry did not.
---
## 🐛 Bug Fixes
### CommonJS entry uses the generic shim ([#118](#118), [#122](#122), fixes [#117](#117))
The hand-written `src/index.cjs` was replaced with the same small file other CLDMV libraries ship (Node version guard, then `require("./index.mjs")`). The ESM entry exports one distinct value, the `createDroidSock` function, under five names (`default`, `createDroidSock`, `DroidSock`, `ADB` and `AndroidDebugBridge`). The first version of the shim returned the bare function with nothing attached; [#122](#122) fixed it so the function carries `.default` and every ESM name again. The build still copies the file unchanged to `dist/index.cjs`, and the CJS tests check the shape against both `src/` and `dist/`.
`require()` result, measured on the published v2.2.1 package and on this build:
| Check | v2.2.1 | v2.3.0 |
| ---------------------------------------------- | ------------------- | ---------- |
| `typeof require(x)` | `function` | `function` |
| `require(x).createDroidSock === require(x)` | true | true |
| `require(x).DroidSock === require(x)` | true | true |
| `require(x).ADB === require(x)` | true | true |
| `require(x).AndroidDebugBridge === require(x)` | true | true |
| `const { ADB } = require(x)` is the function | true | true |
| `require(x).default === require(x)` | false (`undefined`) | true |
Every alias the old entry had still works. `.default` is new, which is what the CJS convention expects.
## 🔧 CI & tooling
- `ci.yml` adopts the CLDMV/.github v4.46.0 concurrency block, so superseded runs on `next`, `hotfixes` and the release PRs are cancelled instead of filling the org's hosted runner pool ([#119](#119), fixes [#116](#116)).
- `ci.yml` is synced with the v4.43.0 template, so the release PR stops rerunning the matrix on a commit its push run already tested ([#114](#114)).
## 🔧 Dependencies
- The CLDMV dev tools move together: `@cldmv/vitest-runner` 1.5.6 → 1.11.5, `@cldmv/configs` 1.4.0 → 1.5.1, `@cldmv/fix-headers` 2.2.4 → 2.6.2, and `@cldmv/jsonv` and `@cldmv/prettier-plugin-jsonv` 1.1.x → 1.2.4. File headers are restamped (`@Filename` no longer has a leading slash) and `.github/dependabot.yml` is synced to the CLDMV/.github v4.47.0 groups ([#121](#121), [#123](#123)). Development only.
- `@cldmv/slothlet` stays capped at `>=3.22.1 <3.24.0`, because 3.24.0 breaks droidsock ([CLDMV/slothlet#726](CLDMV/slothlet#726)). The range is unchanged from v2.2.1.
## 📚 Documentation
- **NEW:** [docs/changelog/v2/v2.3.0.md](https://github.com/CLDMV/droidsock/blob/v2.3.0/docs/changelog/v2/v2.3.0.md): this changelog.
- README What's New promoted to v2.3.0.
---
## Upgrade notes
- Drop-in for v2.2.1. No code changes needed: `require(x)(...)`, `require(x).ADB`, `const { ADB } = require(x)` and the ESM named exports all work as before.
<details>
<summary>👥 Contributors</summary>
- @Shinrai
</details>
---
<!-- coverage-start -->

| Metric | Coverage |
|--------|----------|
| Statements | 93.3% |
| Branches | 85.7% |
| Functions | 94.7% |
| Lines | 95.0% |
*Avg: **92.1%** · `49bed5f` · Node lts/**
<!-- coverage-end -->
<!-- co-authors -->
Co-authored-by: Shinrai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0 template. Only pushes to the release base branch keep a unique group per run.
next,hotfixesand the release PRs now cancel superseded runs, so they can't fill the org's hosted runner pool (CLDMV/.github#583).Resolves #116