Skip to content

Conversation

@dgoerdes
Copy link
Contributor

  • switches from Oak to Hono
  • build in observability
  • clean up and focus on the important parts
  • better docs

As it conflicts the status code 204 we do not respond with any data anymore
Copilot AI review requested due to automatic review settings January 26, 2026 13:16
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 is a significant refactoring PR that prepares the Nimbus framework for a 1.0 release. The main changes include:

Changes:

  • Switches HTTP adapter from Oak to Hono for better performance and broader runtime support
  • Introduces built-in observability with OpenTelemetry tracing and metrics throughout the framework
  • Simplifies core architecture by removing complex router patterns and introducing cleaner message-based APIs
  • Updates dependency versions (MongoDB 7.0.0, Zod 4.3.5) and refactors exception naming

Reviewed changes

Copilot reviewed 154 out of 156 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/oak/* Complete removal of Oak HTTP framework integration
packages/hono/* New Hono adapter with correlation ID, logger middleware, and error handler
packages/mongodb/src/lib/tracing.ts New OpenTelemetry tracing wrapper for MongoDB operations
packages/mongodb/src/lib/crud/* All CRUD operations now wrapped with tracing spans
packages/core/src/lib/message/* New simplified Command, Query, Event types following CloudEvents spec
packages/core/src/lib/eventBus/eventBus.ts Rewritten EventBus with exponential backoff and observability
packages/core/src/lib/message/router.ts New MessageRouter replacing old router implementation
packages/core/src/lib/exception/* Exception name changes (e.g., NOT_FOUND_EXCEPTION → NOT_FOUND)
examples/the-expense/* Complete removal of old example application
examples/hono-demo/* New comprehensive example using Hono and new architecture
docs/* Extensive documentation updates covering all new features
Files not reviewed (1)
  • docs/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


state = addUser(state, command);

if (state) {
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

This use of variable 'state' always evaluates to true.

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link

@dgoerdes dgoerdes merged commit c3b8357 into main Jan 26, 2026
2 checks passed
@dgoerdes dgoerdes deleted the next branch January 26, 2026 14:58
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