Suppress Node.js ExperimentalWarning in Copilot SDK subprocess to fix Node 24 stage failures#84
Open
Copilot wants to merge 4 commits into
Open
Suppress Node.js ExperimentalWarning in Copilot SDK subprocess to fix Node 24 stage failures#84Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
… Node 24 stage failures Agent-Logs-Url: https://github.com/htekdev/vidpipe/sessions/9b8a0c4b-1b4e-4a79-9d1e-84ffd4698c75 Co-authored-by: htekdev <100806365+htekdev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CLI subprocess stages fail due to SQLite warning
Suppress Node.js ExperimentalWarning in Copilot SDK subprocess to fix Node 24 stage failures
Apr 23, 2026
✅ Test & Coverage Summary
📊 Unit Coverage Details (78.9% lines)
|
Coverage Report for Unit
File CoverageNo changed files found. |
htekdev
approved these changes
May 15, 2026
Owner
htekdev
left a comment
There was a problem hiding this comment.
LGTM - File permission fixes (chmod +x) for hook scripts. All CI green.
htekdev
approved these changes
May 15, 2026
Owner
htekdev
left a comment
There was a problem hiding this comment.
LGTM - File permission fixes (chmod +x) for hook scripts. All CI green.
htekdev
approved these changes
May 15, 2026
Owner
htekdev
left a comment
There was a problem hiding this comment.
LGTM - File permission fixes (chmod +x) on hook scripts. All CI green, trivial change.
htekdev
approved these changes
May 15, 2026
Owner
htekdev
left a comment
There was a problem hiding this comment.
LGTM — all 13 CI checks pass. Targeted Node 24 ExperimentalWarning fix in Copilot SDK subprocess hooks. Auto-merging.
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.
Node.js v24+ emits
ExperimentalWarning: SQLite is an experimental featureto stderr when the SQLite module is loaded. The@github/copilot-sdktreats any stderr output as fatal when its CLI subprocess exits, causing every agent-based pipeline stage to fail withCLI server exited with code 0despite the process succeeding.Changes
CopilotProvider.ts—buildChildEnv()injects--disable-warning=ExperimentalWarningintoNODE_OPTIONSfor the SDK child process, suppressing the warning at the Node.js runtime level without affecting the parent process'sprocess.envBaseAgent.ts— adds'cli server exited'to the retryable error patterns so transient subprocess failures are retried up to 3× with exponential backoffTests
NODE_OPTIONSflag is passed toCopilotClientand existingNODE_OPTIONSare preservedprocess.envis not mutated (child-only scope)'cli server exited'is classified as retryableWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/htekdev/gh-hookflow/releases/latest/usr/bin/gh gh extension install htekdev/gh-hookflow(http block)If you need me to access, download, or install something from one of these locations, you can either: