Skip to content

Hook Deno standard writable streams and clean up hook module structure - #19

Merged
Mopsgamer merged 2 commits into
mainfrom
fix-deno-writable-stream-hooking-5419934317105617251
Oct 2, 2026
Merged

Mopsgamer merged 2 commits into
mainfrom
fix-deno-writable-stream-hooking-5419934317105617251

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Refactored hook.ts to position all import statements cleanly at the top of the file, modularized hook setup into focused helper functions (hookConsole, hookNodeStreams, hookDenoSyncStreams, hookDenoWritableStreams), and added Deno.stdout.writable / Deno.stderr.writable stream hooking to prevent tasks from being duplicated when process output is streamed in Deno.


PR created automatically by Jules for task 5419934317105617251 started by @Mopsgamer

- Hook Deno.stdout.writable and Deno.stderr.writable to intercept stream output from child processes during active tasks.
- Refactor hook.ts into clean modular functions with all import statements at the top of the file.
- Add unit test for Deno.stdout.writable stream hooking.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@Mopsgamer
Mopsgamer merged commit 9882d56 into main Oct 2, 2026
1 check passed
@Mopsgamer
Mopsgamer deleted the fix-deno-writable-stream-hooking-5419934317105617251 branch October 2, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant