Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Parse any readable stream response instead of only IncomingMessage #8359

Merged

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Jan 17, 2024

Summary

The code was expecting an IncomingMessage instance, but it seems it now gets a BrotliDecompress object from axios. Both extend Readable so, by checking for a Readable stream the issue is fixed.

Probably introduced after upgrading axios.

Related tickets and issues

#7745
https://linear.app/n8n/issue/NODE-1058/pagination-failing-in-http-request-in-some-cases

Review / Merge checklist

  • PR title and summary are descriptive

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 17, 2024
Copy link

cypress bot commented Jan 17, 2024

1 flaky test on run #3794 ↗︎

0 334 5 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: a9a5de57bb
Status: Passed Duration: 03:22 💡
Started: Jan 17, 2024 10:51 AM Ended: Jan 17, 2024 10:54 AM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #8359 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit eb1320f into master Jan 17, 2024
31 checks passed
@netroy netroy deleted the node-1058-pagination-failing-in-http-request-in-some-cases branch January 17, 2024 11:31
@github-actions github-actions bot mentioned this pull request Jan 17, 2024
@janober
Copy link
Member

janober commented Jan 17, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants