Skip to content

Bump Koa v2 to v3 #4504

@quiet-node

Description

@quiet-node

Overview

Dependabot PR #4235 attempted to bump the Koa framework from version ^2.13.4 to ^3.0.1 across:

  • @hashgraph/json-rpc-server (package: packages/server)
  • @hashgraph/json-rpc-ws-server (package: packages/ws-server)

Version upgrade spans from March 2021 (v2.13.4) to April 2024 (v3.0.1), approximately 3 years of development.

Test Failures from Dependabot PR

All test suites are reporting failures with HTTP 404 responses:

  1. Acceptance Tests
    • Error: Server response 404 Not Found when connecting to http://localhost:7546
    • RPC endpoints returning 404 responses
  2. Build Image Test Workflow
    • Server starts successfully
    • HTTP requests return 404 responses
    • Test assertion: Server responded with 'Not Found'. Test failed!
  3. Chart Install Workflow
    • Kubernetes/Docker container deployment functions
    • HTTP service endpoints return 404
  4. DApp Integration Tests (dapp-example/)
    • WebSocket connections failing with 404
    • HTTP connections failing with 404
  5. Unit Tests
    • Endpoint calls encountering 404 responses
  6. WebSocket Server Tests
    • HTTP endpoints for ws-server returning 404

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions