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(Linear Node): Fix issue with error handling #12191

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented Dec 12, 2024

Summary

Linear recently changed which users can create webhooks because we were not capturing errors properly we missed the change. This PR also adds a handful of tests with more to come as part of the upcoming overhaul.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2128/typeerror-cannot-read-properties-of-null-reading-webhooks

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@Joffcom Joffcom marked this pull request as draft December 12, 2024 17:21
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels Dec 12, 2024
@Joffcom Joffcom marked this pull request as ready for review December 13, 2024 11:23
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ckages/nodes-base/nodes/Linear/GenericFunctions.ts 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Dec 16, 2024

n8n    Run #8365

Run Properties:  status check passed Passed #8365  •  git commit 01845ad306: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Project n8n
Branch Review node-2128-typeerror-cannot-read-properties-of-null-reading-webhooks
Run status status check passed Passed #8365
Run duration 04m 38s
Commit git commit 01845ad306: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Joffcom 🗃️ e2e/*
Committer Jonathan Bennetts
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 480
View all changes introduced in this branch ↗︎

@ShireenMissi ShireenMissi merged commit b8eae5f into master Dec 16, 2024
37 checks passed
@ShireenMissi ShireenMissi deleted the node-2128-typeerror-cannot-read-properties-of-null-reading-webhooks branch December 16, 2024 17:39
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
@janober
Copy link
Member

janober commented Dec 19, 2024

Got released with n8n@1.73.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants