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: offline connection request actions crash when unreachable #2040

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

yamilmedina
Copy link
Contributor

@yamilmedina yamilmedina commented Sep 6, 2023


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Discovered in 06.09, playtest. Currently, the connection request endpoint does not respond with unreachable field, so there could be cases when unreachable could not be determined.

Causes (Optional)

Wrong behavior, as we need this exception to operate on connection request failure, ie: send, ignore, cancel.

Solutions

Mark the field as optional.


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@yamilmedina yamilmedina enabled auto-merge (squash) September 6, 2023 16:25
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

Unit Test Results

   410 files     410 suites   21s ⏱️
2 246 tests 2 126 ✔️ 120 💤 0

Results for commit 44a16b4.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

Datadog Report

Branch report: fix/offline-connecreq-actions
Commit report: d518be1

kalium-jvm: 0 Failed, 0 New Flaky, 2243 Passed, 98 Skipped, 10m 11.01s Wall Time

@yamilmedina yamilmedina merged commit dbd7682 into release/candidate Sep 6, 2023
15 checks passed
@yamilmedina yamilmedina deleted the fix/offline-connecreq-actions branch September 6, 2023 16:38
github-actions bot pushed a commit that referenced this pull request Sep 6, 2023
github-merge-queue bot pushed a commit that referenced this pull request Sep 7, 2023
* fix: field is optional for unreachable backends in some cases like connections requests (#2040)

* Empty-Commit

---------

Co-authored-by: Yamil Medina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants