Conversation
|
This PR addresses a bug where 404 errors were not logged on the main gateway listening port if the control API was configured to run on a separate, dedicated port. The issue stemmed from the The fix centralizes the 404 handling logic. The responsibility for setting the Files Changed Analysis
Architecture & Impact Assessment
sequenceDiagram
participant APILoader
participant ProxyMuxer
rect rgb(240, 240, 255)
note over APILoader, ProxyMuxer: Old Behavior
APILoader->>APILoader: Create router for Control API
APILoader->>APILoader: Set NotFoundHandler on this router ONLY
note right of APILoader: Main listener's router has no 404 handler.
end
rect rgb(240, 240, 255)
note over APILoader, ProxyMuxer: New Behavior
ProxyMuxer->>ProxyMuxer: setRouter(router, ...)
ProxyMuxer->>ProxyMuxer: Set NotFoundHandler on ANY given router
note right of ProxyMuxer: All listeners (Control API, Main Port, etc.)<br/>get the same 404 handler consistently.
end
Scope Discovery & Context ExpansionThis change impacts the setup of all HTTP listeners managed by the Metadata
Powered by Visor from Probelabs Last updated: 2026-04-09T17:11:49.279Z | Triggered by: pr_updated | Commit: 300e2d6 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Security Check PassedNo security issues found – changes LGTM. \n\nArchitecture Issues (1)
✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-04-09T17:11:45.545Z | Triggered by: pr_updated | Commit: 300e2d6 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
…ening-port-when-changing-control-api-port
…ening-port-when-changing-control-api-port
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
|



Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist