Skip to content

fix: sync upstream and package the Node 24 proxy fix - #15

Closed
theorderingmachine wants to merge 104 commits into
zimeg:mainfrom
theorderingmachine:fix/proxy-undici-675
Closed

theorderingmachine wants to merge 104 commits into
zimeg:mainfrom
theorderingmachine:fix/proxy-undici-675

Conversation

@theorderingmachine

@theorderingmachine theorderingmachine commented Nov 20, 2026 •

Copy link
Copy Markdown

Summary

Verification (Node v24.21.0 / npm 11.19.0)

  • npm ci: 90 packages installed, zero vulnerabilities.
  • Exact PR regression test on unchanged upstream source: FAIL, 0/1 passing. Identical dependency install on both sides: npm undici 8.12.3, Node bundled undici 7.29.1.
  • Baseline proxy request cause: InvalidArgumentError UND_ERR_INVALID_ARG invalid onRequestStart method.
  • Fixed proxy request cause: Error ECONNREFUSED connect ECONNREFUSED 127.0.0.1:1 (expected closed loopback proxy; proves handler mismatch is gone, not successful Slack delivery).
  • Fixed targeted regression: PASS, 1/1.
  • Committed-tree npm test: PASS, 86/86; 99.86% line coverage.
  • Committed-tree npm run lint, npm run check, npm run build: PASS. Build repeated with byte-identical tracked outputs and clean worktree.
  • NixOS native Biome binary required a scratch wrapper invoking the Nix glibc ELF loader, passed as BIOME_BINARY; no repo, dependency or system configuration changes for that workaround.
  • Executed actual dist/index.js on Node24 with a closed loopback proxy and an invalid reserved webhook destination: diagnostics observed ECONNREFUSED, no UND_ERR_INVALID_ARG. Not a live Slack end-to-end verification.

Fork synchronization

The published head merges the existing personal main history. Its two fork-only commits are an older release announcement and the 3.0.2 release bookkeeping; current upstream already contains the announcement with safer retry separation, current docs/versioning, and the same 3.0.2 fix. Retain that newer upstream content rather than downgrading it. The reconciliation merge is byte-for-byte tree-identical to the tested packaged commit ff352296119acda7eef6383436d915b96c999fda; the full 86-test suite was rerun after merging.

Live validation

Both sandbox runs passed on TOM through the real loopback tinyproxy, exercising the packaged action's api.test, successful chat.postMessage, and explicit channel_not_found output assertion:

This remains a draft because the fork update includes the larger upstream synchronization; no main/release/tag changes are applied by this PR.

Metadata and permissions

Requested assignee: @zimeg; appropriate existing label: bug. TOM has no push/metadata rights on this repo, so neither could be applied (GitHub rejected the assignee mutation). A maintainer must set them. No applicable open milestone exists in this fork.

zimeg and others added 30 commits April 22, 2026 23:59
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
…kapi#595)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lackapi#596)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…i#611)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lackapi#612)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…slackapi#610)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#607)

Co-authored-by: Luke Russell <31357343+lukegalbraithrussell@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…i#625)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot Bot and others added 26 commits October 1, 2026 05:04
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…i#686)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ackapi#700)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…slackapi#698)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
…lackapi#706)

Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
…a checkbox (slackapi#709)

Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
The ProxyAgent dispatcher is built with the npm "undici" package (v8),
but was driven by globalThis.fetch, which Node bundles from a
different (older) undici version. A breaking change to undici's
request handler interface between v7 and v8 made every proxied
request fail before any network I/O, regardless of whether the proxy
or destination was reachable.

Use undici's own exported fetch instead so the dispatcher and the
fetch implementation always come from the same undici version.

(cherry picked from commit 83c2ce0)
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
(cherry picked from commit 682abe0)
@theorderingmachine

Copy link
Copy Markdown
Author

Closing as superseded: slackapi#675 now uses undici 7 instead of undiciFetch. The current packaged test build is theorderingmachine@b59283b and passed https://github.com/zimeg/slack-sandbox/actions/runs/44702651019. This PR head remains at theorderingmachine@28599fe.

@theorderingmachine
theorderingmachine deleted the fix/proxy-undici-675 branch November 20, 2026 09:04
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.

5 participants