Skip to content

Conversation

@caldrian
Copy link
Contributor

@caldrian caldrian commented Oct 30, 2025

StoryWPB-14876 [iOS] Create a new WireLogger interface

Issue

This is the first PR in a series, the next one is: #3849

As a first step to refactoring the logging this PR moves all existing code from WireLogging into a new target WireLegacyLogging.


Checklist

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

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

@caldrian caldrian force-pushed the chore/rename-wirelogging-to-wirelegacylogging-WPB-14876 branch 3 times, most recently from 0cdb65e to 98bd690 Compare October 30, 2025 14:01
@caldrian caldrian marked this pull request as ready for review October 30, 2025 14:52
@caldrian caldrian force-pushed the chore/rename-wirelogging-to-wirelegacylogging-WPB-14876 branch 2 times, most recently from c4b20f6 to bc48a93 Compare October 30, 2025 15:00
@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2025

Test Results

   18 files  1 200 suites   11m 7s ⏱️
8 968 tests 8 935 ✅ 31 💤 2 ❌
8 980 runs  8 949 ✅ 31 💤 0 ❌

For more details on these failures, see this check.

Results for commit 708549e.

♻️ This comment has been updated with latest results.

@caldrian caldrian force-pushed the chore/rename-wirelogging-to-wirelegacylogging-WPB-14876 branch from bc48a93 to e6e68d2 Compare October 30, 2025 15:33
@caldrian caldrian force-pushed the chore/rename-wirelogging-to-wirelegacylogging-WPB-14876 branch from e6e68d2 to 02bf0b5 Compare October 30, 2025 17:09
@caldrian caldrian changed the title chore: rename WireLogging to WireLegacyLogging - WPB-14876 [WIP] chore: rename WireLogging to WireLegacyLogging - WPB-14876 Oct 31, 2025
@caldrian caldrian changed the base branch from develop to chore/treat-warnings-as-errors-WPB-11987 October 31, 2025 14:36
…me-wirelogging-to-wirelegacylogging-WPB-14876

# Conflicts:
#	wire-ios-data-model/WireDataModel.xcodeproj/project.pbxproj
…me-wirelogging-to-wirelegacylogging-WPB-14876

# Conflicts:
#	WireLogging/Sources/WireLegacyLogging/WireLogger+Instances.swift
#	wire-ios-data-model/WireDataModel.xcodeproj/project.pbxproj
@caldrian caldrian force-pushed the chore/rename-wirelogging-to-wirelegacylogging-WPB-14876 branch from e0dcbea to 076a3fc Compare November 5, 2025 15:08
…me-wirelogging-to-wirelegacylogging-WPB-14876
…me-wirelogging-to-wirelegacylogging-WPB-14876

# Conflicts:
#	wire-ios-data-model/WireDataModel.xcodeproj/project.pbxproj
…me-wirelogging-to-wirelegacylogging-WPB-14876

# Conflicts:
#	WireAnalytics/Package.swift
#	WireNetwork/Package.swift
#	wire-ios-data-model/WireDataModel.xcodeproj/project.pbxproj
…me-wirelogging-to-wirelegacylogging-WPB-14876

# Conflicts:
#	wire-ios-data-model/WireDataModel.xcodeproj/project.pbxproj
@caldrian caldrian requested review from Copilot and netbe and removed request for netbe November 28, 2025 10:58
@caldrian caldrian changed the title chore: rename WireLogging to WireLegacyLogging - WPB-14876 chore: rename WireLogging to WireLegacyLogging - WPB-14876x Nov 28, 2025
@caldrian caldrian changed the title chore: rename WireLogging to WireLegacyLogging - WPB-14876x chore: rename WireLogging to WireLegacyLogging - WPB-14876 Nov 28, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a systematic renaming of WireLogging to WireLegacyLogging as the first step in a logging refactoring effort. The change creates a new WireLegacyLogging target/package while preserving the existing WireLogging infrastructure, allowing for a gradual migration to a new logging interface.

Key Changes:

  • Creates new WireLegacyLogging and WireLegacyLoggingSupport targets in the WireLogging package
  • Adds adapter files (WireLegacyLogging.swift) across modules to provide typealiases from WireLegacyLogging module
  • Updates project dependencies from WireLogging to WireLegacyLogging in pbxproj and Package.swift files
  • Migrates existing logging code into the new WireLegacyLogging target
  • Updates test plans and schemes to include new targets

Reviewed changes

Copilot reviewed 59 out of 68 changed files in this pull request and generated no comments.

Show a summary per file
File Description
WireLogging/Package.swift Adds new WireLegacyLogging and WireLegacyLoggingSupport products and targets
WireLogging/Sources/WireLegacyLogging/* New source files for the legacy logging implementation
Multiple WireLegacyLogging.swift files Adapter files providing typealiases to bridge to the new module
Multiple .pbxproj files Updates framework/package references from WireLogging to WireLegacyLogging
Multiple Package.swift files Updates dependencies to use WireLegacyLogging product
Test plans and schemes Updates to include new WireLegacyLogging test targets

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@caldrian caldrian changed the title chore: rename WireLogging to WireLegacyLogging - WPB-14876 chore: rename WireLogging to WireLegacyLogging - WPB-14876 🍒 Dec 2, 2025
@caldrian caldrian changed the title chore: rename WireLogging to WireLegacyLogging - WPB-14876 🍒 chore: rename WireLogging to WireLegacyLogging - WPB-14876 Dec 2, 2025
zenkins
zenkins previously approved these changes Dec 2, 2025
Copy link
Collaborator

@zenkins zenkins left a comment

Choose a reason for hiding this comment

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

✅ Auto-approved cherry-pick PR 🍒.

@caldrian caldrian requested review from zenkins and removed request for zenkins December 2, 2025 09:33
@caldrian caldrian requested review from zenkins and removed request for zenkins December 2, 2025 09:34
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.

3 participants