Skip to content

Commit bcca885

Browse files
authored
docs: replace VPN-vendor references with generic wording (#2805)
## Summary - Replace all references to a specific corporate VPN product name with generic "VPN" / "corporate VPN" / "VPN tunnel" / "VPN CLI" language across 15 files (21 lines) - Comment-only and doc-only changes — zero functional impact - Keeps the OSS repo free of vendor-specific assumptions `rg -i warp` returns zero hits after this change (excluding `node_modules`, lockfiles).
1 parent 121033f commit bcca885

15 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎desktop/src-tauri/src/commands/media_download.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ async fn fetch_blob_bytes_with_cap(
281281
state: &State<'_, AppState>,
282282
cap: u64,
283283
) -> Result<Vec<u8>, String> {
284-
// Fetch bytes via the no-redirect media client (goes through WARP tunnel).
284+
// Fetch bytes via the no-redirect media client (goes through the VPN tunnel).
285285
// A no-redirect client keeps the minted media auth token from being
286286
// forwarded across origins by a relay-issued 3xx (redirect-hop SSRF); a
287287
// 3xx is returned verbatim and rejected by the `is_success` check below.

‎desktop/src-tauri/src/commands/reconnect_hook_config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct ReconnectHookConfig {
1818
pub ready_probe: Vec<String>,
1919
/// RAW SUBSTRING matched in the probe's stdout to consider the transport
2020
/// ready — NOT a parsed field. Pick a token unlikely to collide with other
21-
/// substrings in the probe output (e.g. `warp-cli -j status` JSON, where
21+
/// substrings in the probe output (e.g. a VPN CLI's JSON status output, where
2222
/// "Connected" can collide with "Connecting"/"Disconnected").
2323
pub ready_match: String,
2424
/// Per-process wall-clock cap (ms) for each step and the readiness probe

‎desktop/src-tauri/src/commands/relay_reconnect.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! builds), this command runs an ordered sequence of subprocess steps followed by
55
//! a readiness poll before the frontend fires the relay WebSocket reconnect.
66
//!
7-
//! OSS builds (env var unset) get a pure no-op — zero WARP knowledge compiled in.
7+
//! OSS builds (env var unset) get a pure no-op — zero VPN-specific knowledge compiled in.
88
99
// Single source of truth for the config schema, shared with build.rs via
1010
// `include!`. See reconnect_hook_config.rs for why this is shared, not a module.
@@ -43,14 +43,14 @@ pub async fn relay_reconnect_hook() -> Result<(), String> {
4343
/// Run a fixed-argv command (`argv[0]` + `argv[1..]`) with a wall-clock cap.
4444
///
4545
/// `std::process::Command::output()` blocks until the child exits — a wedged
46-
/// `warp-cli` (the exact degraded-transport case this hook targets) would hang
46+
/// VPN CLI (the exact degraded-transport case this hook targets) would hang
4747
/// forever, pinning the blocking-pool thread and leaving the frontend `invoke`
4848
/// unresolved. So we spawn, poll `try_wait()` every 500ms, and kill+reap on the
4949
/// deadline. Modeled on `media_transcode.rs` `run_ffmpeg_with_timeout`.
5050
///
5151
/// stdout/stderr are piped and read only after the child exits. The pipe-buffer
5252
/// deadlock noted there (a child blocking on write() when the ~64 KiB OS pipe
53-
/// fills) does not apply: `warp-cli` emits a few lines, far below the buffer.
53+
/// fills) does not apply: these CLIs emit a few lines, far below the buffer.
5454
fn run_with_timeout(
5555
argv: &[String],
5656
timeout: std::time::Duration,

‎desktop/src-tauri/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ pub fn run() {
461461
}
462462

463463
// Start the localhost media streaming proxy. Uses the shared HTTP
464-
// client so WARP tunnelling applies. The port is stored in AppState
464+
// client so VPN tunnelling applies. The port is stored in AppState
465465
// and exposed to the frontend via the `get_media_proxy_port` command.
466466
let proxy_client = state.http_client.clone();
467467
let proxy_handle = app_handle.clone();

‎desktop/src-tauri/src/media_proxy.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ pub async fn spawn_media_proxy(http_client: reqwest::Client, app_handle: tauri::
150150
port
151151
}
152152

153-
/// Proxy media requests through the Rust backend so they traverse the WARP tunnel.
153+
/// Proxy media requests through the Rust backend so they traverse the VPN tunnel.
154154
///
155-
/// WKWebView's networking stack bypasses WARP, causing 403s from Cloudflare Access.
155+
/// WKWebView's networking stack bypasses the VPN tunnel, causing 403s from Cloudflare Access.
156156
/// This handler routes `buzz-media://localhost/{path}` through reqwest, which
157-
/// runs in the Tauri process and goes through WARP.
157+
/// runs in the Tauri process and goes through the VPN.
158158
pub async fn handle_buzz_media(
159159
app: &tauri::AppHandle,
160160
request: &http::Request<Vec<u8>>,

‎desktop/src/features/messages/ui/MessageReactions.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function isSameBadgeBurstRect(
6161
* Render a reaction's emoji: a custom (image) emoji when `emojiUrl` is set,
6262
* otherwise the unicode/text glyph. `className` sizes the image to match the
6363
* surrounding text. The relay URL is rewritten through the localhost media
64-
* proxy (like every other relay-hosted <img>) — WKWebView bypasses WARP, so a
64+
* proxy (like every other relay-hosted <img>) — WKWebView bypasses the VPN tunnel, so a
6565
* direct relay URL gets a Cloudflare Access 403 and renders as a broken image.
6666
*/
6767
function EmojiGlyph({

‎desktop/src/features/profile/lib/selfProfileStorage.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Cached self-profile store for relay-unreachable scenarios.
33
*
4-
* When the relay is unreachable (e.g. WARP VPN needs reauth), the app cannot
4+
* When the relay is unreachable (e.g. corporate VPN needs reauth), the app cannot
55
* fetch the user's kind-0 profile. This module persists the last successfully
66
* fetched profile — including a base64 avatar snapshot — so the UI can render
77
* the user's identity even when offline.

‎desktop/src/features/user-status/ui/StatusEmoji.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { rewriteRelayUrl } from "@/shared/lib/mediaUrl";
1313
* Every place that shows a status emoji renders this, so the shortcode→image
1414
* resolution can't drift across the (five) display sites — the same reason the
1515
* picker is unified. The relay URL is rewritten through the localhost media
16-
* proxy, matching reactions' `EmojiGlyph` (WKWebView bypasses WARP, so a direct
16+
* proxy, matching reactions' `EmojiGlyph` (WKWebView bypasses the VPN tunnel, so a direct
1717
* relay URL 403s and renders broken).
1818
*/
1919
type StatusEmojiProps = {

‎desktop/src/shared/api/relayClientShared.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { RelayEvent } from "@/shared/api/types";
88
* - `connected` — socket open and AUTH'd.
99
* - `reconnecting` — socket dropped, waiting for the backoff timer.
1010
* - `stalled` — socket is *open* per the WS layer but no inbound frames
11-
* for a long time (half-open / Warp split-brain). We
11+
* for a long time (half-open socket / VPN split-brain). We
1212
* surface this so the UI can warn even though tungstenite
1313
* hasn't reported anything wrong yet.
1414
* - `disconnected` — final/terminal disconnect (auth rejected, community

‎desktop/src/shared/api/relayStallWatchdog.test.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test("does not send probes while watching for stalls", async () => {
4444
await sleep(45);
4545
wd.stop();
4646
// The passive watchdog has no send callback by construction. This test is a
47-
// regression guard for the WARP bug: liveness checks must not write to a
47+
// regression guard for the half-open-socket bug: liveness checks must not write to a
4848
// socket already suspected of being half-open.
4949
assert.equal(typeof wd.recordInbound, "function");
5050
});

0 commit comments

Comments
 (0)