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

chore: remove unused files - WPB-8605 #2502

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

chore: remove unused files - WPB-8605 #2502

wants to merge 4 commits into from

Conversation

netbe
Copy link
Collaborator

@netbe netbe commented Feb 10, 2025

TaskWPB-8605 Remove unused objc code

Issue

In #2496, because some tests in WireTransport were failing, the cleanup was reverted.

This PR reintroduces the work done in #2221.

In addition it removes unneeded files (which were causing the tests to fail) about the WebSocket implementation. Current (legacy) code using Starscream library for websocket.

Testing

CI Tests should pass.


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

@@ -60,7 +60,6 @@ extern NSInteger const ZMTransportRequestSchedulerRequestCountUnlimited;
/// The task given access to the NSHTTPURLResponse and NSError.
- (void)processCompletedURLTask:(NSURLSessionTask *)task;
- (void)processCompletedURLResponse:(nullable NSHTTPURLResponse *)response URLError:(nullable NSError *)error;
- (void)processWebSocketError:(NSError *)error;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the new code removed. unused

Copy link
Contributor

github-actions bot commented Feb 10, 2025

Test Results

    4 files      4 suites   7m 24s ⏱️
4 223 tests 4 220 ✅ 2 💤 1 ❌
4 223 runs  4 221 ✅ 2 💤 0 ❌

For more details on these failures, see this check.

Results for commit a92dd06.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Feb 10, 2025

Datadog Report

Branch report: feat/cleanup
Commit report: e2c938f
Test service: wire-ios-mono

✅ 0 Failed, 4132 Passed, 2 Skipped, 5m 9.22s Total Time

@netbe netbe enabled auto-merge February 10, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants