[PR #893] Check if the cancel function was set before using it #2919

Open
opened 2025-11-20 08:04:24 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/893

State: closed
Merged: Yes


Describe your changes

in some cases an IDP device flow expiration time might be shorter than 90s we should check if the cancel context was set before using it

We will need a follow-up to identify and document the IDP with lower defaults.

fixes #890

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/893 **State:** closed **Merged:** Yes --- ## Describe your changes in some cases an IDP device flow expiration time might be shorter than 90s we should check if the cancel context was set before using it We will need a follow-up to identify and document the IDP with lower defaults. ## Issue ticket number and link fixes #890 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:04:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2919