On September 30th, following a production deployment of a core component, a critical authorization failure affected the balena device tunnel
command, preventing users from establishing port tunnel connections.
A subtle bug was introduced several weeks ago in a small database query change within a component. This change passed our standard review process and all pre-deployment testing, including unit tests utilizing mocked API endpoints.
Because of other pending changes, this component update was not immediately deployed. When it was finally released to production on September 30th, the query exhibited an unexpected incompatibility with the live production API environment.
The failure was not immediately apparent through our primary monitoring, but once the authorization issue was identified, our team quickly found the flawed query, deployed a patched component, and restored full functionality.
balena device tunnel
was subsequently observed.We are taking immediate steps to prevent this type of failure from recurring:
device tunnel
command in a production-like environment. This will catch integration errors sooner.We apologize for the interruption this caused to your workflow. We are committed to using this incident to improve the robustness and reliability of our continuous deployment process.