Skip to content

CI: auto-bump mouse and keyboard protocols hourly - #34

Merged
snekxs merged 3 commits into
mainfrom
ci/protocol-auto-bump
Nov 24, 2026
Merged

snekxs merged 3 commits into
mainfrom
ci/protocol-auto-bump

Conversation

@snekxs

@snekxs snekxs commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Adds update-mouse-protocol.yml and update-keyboard-protocol.yml, modelled on the openmouse web repo. Each hourly (and on demand) compares its package with the newest npm release, installs it exact, rebuilds the embedded bundle with node gpui/js/build.mjs, and only then commits package.json and package-lock.json to main. They share a concurrency group so pushes cannot race.

Also adds @openmouse/keyboard-protocol 1.6.1 (the current published release) as a dependency so the keyboard workflow has something to bump.

Main currently depends on the mouse protocol git snapshot, so the first mouse run switches it to the published version, as #29 did.

Main must allow the Actions bot to push.

Note

Add hourly CI workflows to auto-bump mouse and keyboard protocols

  • Adds scheduled workflows (update-mouse-protocol.yml at minute 17, update-keyboard-protocol.yml at minute 37) that run hourly and can also be triggered manually.
  • Each compares the declared @openmouse/protocol / @openmouse/keyboard-protocol version against the latest npm release. If newer, it installs the exact latest version, verifies no other tracked files changed, builds the embedded driver bundle, then commits and pushes package.json and package-lock.json.
  • Adds @openmouse/keyboard-protocol at version 1.6.1 to package.json.

Macroscope summarized c5f4508.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 243fd19f-0012-4f04-a06c-095e02ac35de
Commits

Reviewing files that changed from the base of the PR and between 62390e4 and c5f4508.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 3

  • .github/workflows/update-keyboard-protocol.yml
  • .github/workflows/update-mouse-protocol.yml
  • package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@snekxs snekxs changed the title CI: auto-bump @openmouse/protocol hourly CI: auto-bump mouse and keyboard protocols hourly Nov 24, 2026
@macroscopeapp

macroscopeapp Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at c5f4508

Macroscope's review found this PR approvable — The workflows automatically commit protocol dependency updates after rebuilding the embedded bundle. Their effects remain confined to repository dependencies; customer releases still require a separate tag or manual release action.

Notes:

  • Your repo's Minimum Blocking Severity is Off, so correctness findings do not automatically block approval.

You can add or adjust custom eligibility rules. Learn more.

@snekxs
snekxs merged commit 0169d0f into main Nov 24, 2026
5 checks passed
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.

1 participant