From 7a09054cfe9293423eb63fd9dffe947c5caf1a0e Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 14:46:01 +0330 Subject: [PATCH 1/4] docs: fix "propagate" throughout the code --- .../Sources/Types/Internal/Live/LiveSessionService.swift | 4 ++-- scripts/repo/Sources/Util/Process.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 6acb92a779a..6e5558ce55a 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -54,7 +54,7 @@ actor LiveSessionService { private let jsonEncoder = JSONEncoder() private let jsonDecoder = JSONDecoder() - /// Long running task that that wraps around the websocket, propogating messages through the + /// Long running task that that wraps around the websocket, propagating messages through the /// public stream. private var responsesTask: Task? @@ -273,7 +273,7 @@ actor LiveSessionService { } } - /// Checks if an error should be propogated up, and maps it accordingly. + /// Checks if an error should be propagated up, and maps it accordingly. /// /// Some errors have public api alternatives. This function will ensure they're mapped /// accordingly. diff --git a/scripts/repo/Sources/Util/Process.swift b/scripts/repo/Sources/Util/Process.swift index 2959d5f0abb..0b5ca5bec9d 100755 --- a/scripts/repo/Sources/Util/Process.swift +++ b/scripts/repo/Sources/Util/Process.swift @@ -26,7 +26,7 @@ public extension Process { /// - env: A map of environment variables to set for the process. /// - inheritEnvironment: When enabled, the parent process' environvment will also be applied /// to this process. Effectively, this means that any environvment variables declared within the - /// parent process will propogate down to this new process. + /// parent process will propagate down to this new process. convenience init(_ exe: String, _ args: [String] = [], env: [String: String] = [:], @@ -59,7 +59,7 @@ public extension Process { /// Run the process with signals from the parent process. /// - /// The signals `SIGINT` and `SIGTERM` will both be propogated + /// The signals `SIGINT` and `SIGTERM` will both be propagated /// down to the process from the parent process. /// /// This function will not return until the process is done running. From 32b40fee38945c6f9c4578d954a8a26cab42ecf5 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 14:50:05 +0330 Subject: [PATCH 2/4] docs: fix "maintaining" in description comments --- FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 6e5558ce55a..5077016c43e 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -23,7 +23,7 @@ import Foundation /// Facilitates communication with the backend for a ``LiveSession``. /// /// Using an actor will make it easier to adopt session resumption, as we have an isolated place for -/// mainting mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various +/// maintaining mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various /// edge-case issues with dead-locks and data races. /// /// This mainly comes into play when we don't want to block developers from sending messages while a From ce44bb590e4eabf069aec5b6f1d12f199cc09312 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 14:57:48 +0330 Subject: [PATCH 3/4] docs: fix "implicitly" in comments --- FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 5077016c43e..65526d82a0d 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -23,7 +23,7 @@ import Foundation /// Facilitates communication with the backend for a ``LiveSession``. /// /// Using an actor will make it easier to adopt session resumption, as we have an isolated place for -/// maintaining mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various +/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid various /// edge-case issues with dead-locks and data races. /// /// This mainly comes into play when we don't want to block developers from sending messages while a From fe416d6edf854329962681c40b5c62a5e86acbff Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 10 Nov 2025 18:33:34 +0330 Subject: [PATCH 4/4] style: line wrap --- .../Sources/Types/Internal/Live/LiveSessionService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 65526d82a0d..1cc9f5e1be0 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -23,8 +23,8 @@ import Foundation /// Facilitates communication with the backend for a ``LiveSession``. /// /// Using an actor will make it easier to adopt session resumption, as we have an isolated place for -/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid various -/// edge-case issues with dead-locks and data races. +/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid +/// various edge-case issues with dead-locks and data races. /// /// This mainly comes into play when we don't want to block developers from sending messages while a /// session is being reloaded.