Skip to content

Refactored networking#500

Merged
mpretty-cyro merged 99 commits intosession-foundation:devfrom
mpretty-cyro:feature/refactored-networking
Mar 5, 2026
Merged

Refactored networking#500
mpretty-cyro merged 99 commits intosession-foundation:devfrom
mpretty-cyro:feature/refactored-networking

Conversation

@mpretty-cyro
Copy link
Copy Markdown
Collaborator

@mpretty-cyro mpretty-cyro commented Aug 8, 2025

  • Integrated refactored libSession networking
  • Fixed a couple of issues with the libSession build script
  • Fixed a crash which could occur when using the storage publisher functions

Note: This is based on #501

@mpretty-cyro mpretty-cyro self-assigned this Aug 8, 2025
@mpretty-cyro mpretty-cyro added bug Something isn't working enhancement New feature or request Jira This ticket is being tracked in Jira labels Aug 8, 2025
@mpretty-cyro mpretty-cyro force-pushed the feature/refactored-networking branch from 9f39a5c to f4f479b Compare August 8, 2025 03:22
• Started work on integrating refactored libSession networking
• Fixed a couple of issues with the libSession build script
• Fixed some duplicate content in Logging
• Fixed broken service node batch requests
• Fixed a crash which could occur when using the storage publisher functions
@mpretty-cyro mpretty-cyro force-pushed the feature/refactored-networking branch from 05ffd72 to cb6b5aa Compare August 20, 2025 00:24
• Added some convenience functions
• Removed the database requirement to get some AuthenticationMethods
• Cleaned up the AppDelegate setup process a bit
• Updated the LibSessionNetwork to be an actor (no more cache + singleton)
• Updated LibSessionNetwork to support async/await (also supports Combine, but that is now deprecated)
• Updated network observation to use async/await
• Refactored IP2Country to be an actor and use async/await
• Refactored the pollers to use async/await
• Refactored the getSessionId API call to use async/await
• Refactored the AppSetup and database migrations to be async/await
• Added the network resilience tests
• Cleaned up some code
• Fixed broken unit tests
• Fixed an issue where some migrations would try to get the network offset time before it could possibly be retrieved
• Fixed a crash when exporting the database
• Fixed a crash when uploading files (unbalanced pointer release)
• Updated the code to use libSession to parse and generate FileServer and SOGS download urls
• Fixed what should be a bug with pending reactions (but can't see an impact of the fix...?)
• Fixed a streaming download & upload memory crashes
@mpretty-cyro mpretty-cyro changed the title [WIP] Refactored networking Refactored networking Feb 26, 2026
@mpretty-cyro mpretty-cyro marked this pull request as ready for review February 26, 2026 02:12
@mpretty-cyro mpretty-cyro merged commit 089d8ed into session-foundation:dev Mar 5, 2026
1 check passed
@mpretty-cyro mpretty-cyro deleted the feature/refactored-networking branch March 5, 2026 23:56
@mpretty-cyro mpretty-cyro mentioned this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request Jira This ticket is being tracked in Jira

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants