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(API): Fix manual chat trigger execution #8300

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented Jan 11, 2024

Summary

Due to wrongly resolved merge conflict, the needsWebhook function incorrectly returns true for manual chat trigger execution. To fix this, we need to pass the runData and check if webhook runData is already set.

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

cypress bot commented Jan 11, 2024

3 flaky tests on run #3715 ↗︎

0 330 5 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: 6b8140aa2b
Status: Passed Duration: 03:38 💡
Started: Jan 11, 2024 12:36 PM Ended: Jan 11, 2024 12:40 PM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video
Flakiness  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
Flakiness  29-templates.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Templates > should save template id with the workflow Test Replay Screenshots Video

Review all test suite changes for PR #8300 ↗︎

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@OlegIvaniv OlegIvaniv changed the title bug(cli): Fix manual chat trigger execution fix(cli): Fix manual chat trigger execution Jan 11, 2024
@OlegIvaniv OlegIvaniv marked this pull request as ready for review January 11, 2024 12:14
@OlegIvaniv OlegIvaniv changed the title fix(cli): Fix manual chat trigger execution fix(API): Fix manual chat trigger execution Jan 11, 2024
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit 884396e into master Jan 11, 2024
28 checks passed
@OlegIvaniv OlegIvaniv deleted the fix_chat_debug_exec branch January 11, 2024 13:01
netroy pushed a commit that referenced this pull request Jan 16, 2024
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
@github-actions github-actions bot mentioned this pull request Jan 16, 2024
@janober
Copy link
Member

janober commented Jan 16, 2024

Got released with n8n@1.24.1

@github-actions github-actions bot mentioned this pull request Jan 17, 2024
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