Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/nightly-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
workflow_dispatch:
inputs:
node-version:
description: 'Node version (27-nightly by default; use 26.X for comparison)'
description: 'Node version (latest Node 27 alpha by default; use 26.X for comparison)'
required: true
default: '27-nightly'
default: '>=27.0.0-alpha.0 <27.0.0-beta'
type: string

permissions:
Expand All @@ -21,7 +21,7 @@ defaults:

jobs:
compatibility:
name: Rolling nightly / Node ${{ inputs.node-version || '27-nightly' }} / Ubuntu x64
name: Rolling nightly / Node ${{ inputs.node-version || '>=27.0.0-alpha.0 <27.0.0-beta' }} / Ubuntu x64
runs-on: ubuntu-latest
timeout-minutes: 45
container: ubuntu:26.04
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: ${{ inputs.node-version || '27-nightly' }}
node-version: ${{ inputs.node-version || '>=27.0.0-alpha.0 <27.0.0-beta' }}
architecture: x64
check-latest: true
package-manager-cache: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[![Nightly Compatibility](https://github.com/RobotWebTools/rclnodejs/actions/workflows/nightly-compatibility.yml/badge.svg?branch=develop&event=schedule)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/nightly-compatibility.yml?query=branch%3Adevelop+event%3Aschedule)

*Early-warning checks for ROS Rolling and Node.js 27 nightlies. See the [build documentation](./docs/BUILDING.md#nightly-compatibility-checks).*
*Early-warning checks for ROS Rolling nightlies using Node.js 27 alpha. See the [build documentation](./docs/BUILDING.md#nightly-compatibility-checks).*

**rclnodejs** is a Node.js client library for [ROS 2](https://www.ros.org/) that provides comprehensive JavaScript and TypeScript APIs for developing ROS 2 solutions.

Expand Down
4 changes: 2 additions & 2 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ Windows CI covers Humble, Jazzy, Kilted, and Lyrical, with full tests on Lyrical

### Nightly compatibility checks

The [Nightly Compatibility workflow](../.github/workflows/nightly-compatibility.yml) builds from source and runs core ROS, TypeScript, and package tests on Ubuntu 26.04 x64 with ROS Rolling nightly, Node 27 nightly, and bundled npm.
The [Nightly Compatibility workflow](../.github/workflows/nightly-compatibility.yml) builds from source and runs core ROS, TypeScript, and package tests on Ubuntu 26.04 x64 with ROS Rolling nightly, the latest matching Node 27 alpha release, and bundled npm. It primarily tracks ROS nightly compatibility; Node follows published alpha releases rather than daily development builds. Alpha is still a prerelease, not a production-stability guarantee.

- **Scheduled:** daily at 00:00 Asia/Shanghai (16:00 UTC) on the default branch; execution may be delayed.
- **Manual:** use **Actions > Nightly Compatibility > Run workflow**. The `node-version` input defaults to `27-nightly`; use `26.X` for comparison.
- **Manual:** use **Actions > Nightly Compatibility > Run workflow**. The `node-version` input defaults to `>=27.0.0-alpha.0 <27.0.0-beta`; use `26.X` for comparison, `27-nightly` to investigate Node development changes, or an exact alpha version to reproduce a result. The default range accepts newer Node 27 alphas but excludes beta, RC, stable, and nightly versions. The resolved runtime version is recorded in the job summary.

For pre-merge testing, enable Actions in your fork and place the workflow on its default branch.

Expand Down
Loading