Repository navigation
fix(provider-baileys): handle QR image write failures - #1277
Merged
leifermendez merged 1 commit intoOct 26, 2026
Merged
leifermendez merged 1 commit into
leifermendez merged 1 commit into
Conversation
leifermendez
approved these changes
Oct 26, 2026
leifermendez
left a comment
Member
There was a problem hiding this comment.
Aprobado para el alcance acotado de capturar el rechazo de baileyGenerateImage y emitir un diagn贸stico controlado. Verificaci贸n del commit revisado: regresi贸n nueva fallando en la producci贸n base, lifecycle 19/19 y provider 255/255 en 8 suites aprobados en el head. Se preserva el require_action con el QR crudo y el comportamiento HTTP existente. Esto no garantiza una imagen v谩lida ni resuelve todas las variantes de imagen ausente de #1253.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Que tipo de Pull Request es?
Descripci贸n
Fixes #1253.
When
baileyGenerateImagerejects, such as when the QR image cannot be written, the asyncconnection.updatelistener also rejects. This leaves an unhandled rejection instead of a controlled provider error. Existing missing-image HTTP behavior is unchanged and continues to return 404.Changes
noticecontaining the failure reason.require_actionevent and raw QR payload so other QR consumers keep working.Verification
pnpm test: all 29 monorepo test projects passed.pnpm --filter @builderbot/provider-baileys build: passed.pnpm run generate:check, ESLint, and Prettier checks: passed.