Skip to content

Conversation

@htilly
Copy link
Owner

@htilly htilly commented Jan 2, 2026

Summary

This PR merges all changes from develop into master, including dependency updates and test coverage improvements.

Changes

Dependency Updates

Test Coverage

  • ✅ Add test coverage support with c8
  • ✅ Add test:coverage script to package.json
  • ✅ Generate coverage reports (text, HTML, LCOV formats)

Previous Changes (from earlier PRs)

  • ✅ Performance optimizations (queue fetching)
  • ✅ Feature request command improvements
  • ✅ Bug fixes (Sonos playback, queue activation)
  • ✅ GitHub Actions workflows

Testing

All integration tests passing (21/21 tests)

  • Verified with npm run test:integration:verbose
  • All dependency updates tested and working
  • No breaking changes detected

Files Changed

  • package.json - Dependency versions updated
  • package-lock.json - Dependency tree updated
  • .c8rc.json - Coverage configuration (new file)

Commits: ~2 commits ahead of master
Status: Ready to merge

htilly added 2 commits January 2, 2026 13:37
- Add test:coverage script to package.json
- Install c8 for ES module coverage reporting
- Add .c8rc.json configuration file
- Coverage reports generated in coverage/ directory (text, HTML, LCOV)
- Bump chai from 6.2.1 to 6.2.2 (PR #213)
- Bump sinon from 21.0.0 to 21.0.1 (PR #209)
- Bump openai from 6.9.1 to 6.15.0
- Bump posthog-node from 5.15.0 to 5.18.0 (PR #212)
- Bump selfsigned from 5.2.0 to 5.4.0

All integration tests passing (21/21)
Copilot AI review requested due to automatic review settings January 2, 2026 12:46
@htilly htilly merged commit ce1d49b into master Jan 2, 2026
15 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR merges the develop branch into master, bringing dependency updates and test coverage infrastructure improvements to the main branch. The changes primarily focus on keeping dependencies up-to-date and introducing code coverage reporting capabilities using c8.

Key changes:

  • Updates 5 dependencies (chai, sinon, openai, posthog-node, selfsigned) to their latest versions
  • Introduces c8 coverage tool with configuration for generating text, HTML, and LCOV reports
  • Bumps project version from 2.0.1 to 2.2.0

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Adds c8 dev dependency, updates chai/sinon/openai/posthog-node/selfsigned versions, adds test:coverage script, and correctly alphabetizes @simplewebauthn/server
package-lock.json Reflects all dependency updates with their transitive dependencies, updates version to 2.2.0, and increases Node.js engine requirement from >=7.5 to >=17.0.0
.c8rc.json New coverage configuration file excluding test files and config, with text/html/lcov reporters and coverage checks disabled

"scripts": {
"pretest": "if [ ! -f 'config/config.json' ]; then cp 'config/config.json.example' 'config/config.json'; fi",
"test": "NODE_ENV=test mocha --reporter spec 'test/**/*.mjs' --ignore 'test/tools/**' --exit",
"test:coverage": "NODE_ENV=test c8 --reporter=text --reporter=html --reporter=lcov mocha --reporter spec 'test/**/*.mjs' --ignore 'test/tools/**' --exit",
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The test:coverage script explicitly specifies reporters (--reporter=text --reporter=html --reporter=lcov) that are already configured in .c8rc.json. This creates redundant configuration. Consider removing the reporter flags from the script and relying solely on the .c8rc.json configuration for consistency and easier maintenance.

Suggested change
"test:coverage": "NODE_ENV=test c8 --reporter=text --reporter=html --reporter=lcov mocha --reporter spec 'test/**/*.mjs' --ignore 'test/tools/**' --exit",
"test:coverage": "NODE_ENV=test c8 mocha --reporter spec 'test/**/*.mjs' --ignore 'test/tools/**' --exit",

Copilot uses AI. Check for mistakes.
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.

2 participants