[Fix] Fast widgets fail during BullMQ-resumed turns - #2593
Merged
roomote-roomote[bot] merged 2 commits intoSep 12, 2026
Merged
Conversation
Contributor
Contributor
Author
|
Resolved the missing direct BullMQ dependency in |
daniel-lxs
approved these changes
Sep 12, 2026
roomote-roomote
Bot
requested review from
brunobergher and
mrubens
as code owners
September 12, 2026 07:04
roomote-roomote
Bot
deleted the
fix/bullmq-show-widget-packaging-0qbrgixsrfyio
branch
September 12, 2026 07:04
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.
What changed
show_widgetsanitization can resolve it during resumed turns.Why this change was made
JSDOM retains a runtime
require.resolve("./xhr-sync-worker.js")inside the bundled BullMQ entrypoint. BullMQ previously emitted onlydist/index.js, so Fast turns resumed by BullMQ failed whenshow_widgetinitialized the sanitizer even though API-owned Fast turns had the complete external JSDOM package available.Impact
Fast widgets can render during BullMQ-resumed turns without a missing-module failure. The fix does not change widget sanitization or UI behavior; it restores the required runtime asset and adds build-time coverage. The build also works from BullMQ's declared dependency boundary rather than relying on root installation layout. All BullMQ tests and repository pre-push checks pass. Full Docker image assembly was not available in the task sandbox because it has no Docker daemon, so the final-stage file assertion will run when CI builds the image.