Skip to content

Conversation

@deiga
Copy link
Contributor

@deiga deiga commented Jan 7, 2026

Supersedes #3037

Resolves #2693


Before the change?

  • Deleting github_membership when the invite had failed/expired would throw an error

After the change?

  • Deleting github_membership when the invite had failed/expired will ignore the 404 and complete
    • I wasn't able to write a test case which fails with the original behaviour :/

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@stevehipwell stevehipwell added this to the v6.10.0 Release milestone Jan 8, 2026
@stevehipwell stevehipwell added the Type: Bug Something isn't working as documented label Jan 8, 2026
@deiga deiga force-pushed the ensure-failed-membership-invite-can-be-deleted branch from 2873236 to 288fe9b Compare January 8, 2026 21:15
@deiga deiga requested a review from stevehipwell January 8, 2026 21:16
Copy link
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@nickfloyd nickfloyd merged commit 3109c39 into integrations:main Jan 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Destroy of github_membership fails if the invitation in failed state

3 participants