Skip to content

Add JS protocol tests, shared module, and README update#2

Merged
widgetii merged 1 commit intomasterfrom
feature/js-tests-and-readme
Mar 30, 2026
Merged

Add JS protocol tests, shared module, and README update#2
widgetii merged 1 commit intomasterfrom
feature/js-tests-and-readme

Conversation

@widgetii
Copy link
Copy Markdown
Member

Summary

  • Extract protocol logic (CRC, frames, CV6xx parser) into web/protocol.js shared module
  • 53 JS tests cross-validated against Python implementation (exact CRC/frame byte matching)
  • Add JS Protocol Tests CI job (Node.js 22)
  • Update README with Web UI link and full feature/command list

Test plan

  • node --test web/protocol.test.js — 53 tests pass
  • uv run pytest tests/ — 160 Python tests still pass
  • CI: all 12 jobs green

🤖 Generated with Claude Code

- Extract CRC, frames, parseCv6xxBoot, chunkData into web/protocol.js
  shared between index.html and Node.js test runner
- 53 JS tests cross-validated against Python CRC/frame output
- Add JS Protocol Tests job to CI pipeline
- Update branch protection to require JS tests
- Update README with Web UI link and full feature list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit 660c842 into master Mar 30, 2026
12 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