GeezerVison is showing github.com — [Bug]: Swift TestFlight app: "Unknown request tag: server.getSettings" on nightly 3814 · Issue #26446 · pingdotgg/t3code
[Bug]: Swift TestFlight app: "Unknown request tag: server.getSettings" on nightly 3814 #26446DescriptionBefore submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Run a server on
0.1.4-nightly.20261028.3814 (Windows 11).
- Connect the Swift TestFlight iPhone app (T3 Code SwiftUI 0.1.0 build 68,
com.t3tools.t3code.swiftui, iOS 27.2; user agent T3Code/68 CFNetwork/3896.200.61 Darwin/27.2.0).
- Open any thread, with the composer's model picker visible (mine showed Claude Opus 5.5, Build, Medium).
- An alert appears straight away.
Expected behavior
Model preferences load.
Actual behavior
In a thread, an alert appears:
Something went wrong
Unknown request tag: server.getSettings
I've also seen this message for the same problem:
Could not load model preferences. Unknown request tag: server.getSettings
Its other requests succeed in the server traces: session, shell, thread snapshots and the WebSocket upgrade. As far as I remember this worked before the 2026-10-28 nightly, but I haven't tested an older nightly to confirm.
Likely cause: #26238 ("delete 18k lines of code that nothing reaches", 67661cf) removed the RPC:
packages/contracts/src/rpc.ts: - serverGetSettings: "server.getSettings",
apps/server/src/ws.ts: removed the handler returning serverSettings.getSettings redacted for the client
Nightly 3814 (ce66aab) includes that commit; 3796 (b88da91) does not. The RPC is still absent from rpc.ts in nightly 3822 (48a2923) and on main. #26238 changed many apps/mobile files but removed no in-repo caller of this RPC, and the error text isn't in this repo. The installed TestFlight app appears to still call the removed RPC; I haven't established where its source lives.
Possible fixes:
- Restore
server.getSettings as an alias until TestFlight builds that call it age out, or
- Have the Swift client read settings from the
server.getConfig response. That returns ServerConfig, whose settings field is the same redacted ServerSettings the old RPC returned.
Impact
Minor bug or occasional failure
Version or commit
0.1.4-nightly.20261028.3814 (ce66aab)
Environment
Server: T3 Code (Nightly) on Windows 11. Client: T3 Code SwiftUI 0.1.0 (68) from TestFlight, com.t3tools.t3code.swiftui, iOS 27.2, iPhone 16 Pro Max. The regular T3 Code app (2.0.0, build 122) is also installed.
Logs or stack traces
Could not load model preferences. Unknown request tag: server.getSettings
Workaround
Use the desktop app, which still works on this server.
— Geoff. I'm not a developer; an AI agent (Claude) gathered the evidence from my machine and wrote this, so please flag anything that doesn't add up. Reacted by Jeffrey Lasut, Bruno and Linus Boehm Activityjosephstafki-hub commented on Oct 30, 2026 Still reproduces on 0.1.6-nightly.20261030.3940, Linux server. It blocks every send from the Swift app, not just model preferences.
- Server: T3 Code nightly
0.1.6-nightly.20261030.3940 (commit ae521d1d79), Linux x64, Node v26.12.1.
- Client: Swift TestFlight app, build 68 (
T3Code/68 … Darwin/27.0.0, iOS 27.0.1), connected through T3 Connect.
- Symptom: Every attempt to send a message in an existing thread shows "Something went wrong / Unknown request tag: server.getSettings". The message is never delivered: the server's database has no matching user message or command for the attempted send. The same messages send fine from the desktop/web client.
- Why it blocks sending: In the Swift client (feat(ios): add experimental SwiftUI client #5178 at
f021c92c), modelValidationConfig() in apps/swift-ios/App/NativeFeatureClient.swift calls client.serverSettings() (that is, server.getSettings) "before dispatch". It is called from sendMessageResolved, createThread, createThreadAndSendResolved and recoverBootstrap, so the removed RPC fails every send and every thread creation. I'd suggest raising the impact above "minor". With nightly ≥3814, the TestFlight app can't send at all.
- Source check:
server.getSettings is absent at the v0.1.6-nightly.20261030.3940 tag and on main. fix(server): SwiftUI iOS app loads model preferences again #26466 / fix(server): Swift TestFlight clients can read settings again #26455 would fix it.
Produced by Claude Opus 5.5 (Claude Code agent) via T3 Code triage. Fannolo commented on Oct 31, 2026 I’m also experiencing this with the latest Swift iOS TestFlight build available to me, 0.1.0 (68), connecting to T3 Code Nightly 0.1.6-nightly.20261030.3904 on an Apple Silicon Mac mini.
Opening a thread shows:
Something went wrong
Unknown request tag: server.getSettings
This confirms the same problem on a macOS host and a later nightly than the original report.
Is there a plan to merge #26455 or #26466, or a recommended workaround for existing TestFlight users? Fannolo commented on Oct 31, 2026 The proposed direction is to use server.getConfig and read its settings field as the common path for fresh settings reads across clients. This keeps settings retrieval consistent with the existing configuration API and the cleanup goal in #26238.
PR #28170 brings the Swift app onto that path by migrating all three remaining server.getSettings callers. It preserves fresh reads before settings updates and leaves the redundant server endpoint removed. The PR targets t3code/rebuild-mobile-app-swift, the branch behind #5178.
There are two separate delivery concerns:
- Future app builds: migrate the Swift client to
server.getConfig.settings, as fix(swift-ios): read settings from server configuration #28170 does.
- Already-installed TestFlight build 68: it still calls the removed method. If those users need support before an updated app is available, restoring
server.getSettings could be a temporary compatibility measure, with retirement once those clients are no longer supported. It would not need to remain a second permanent settings API.
The PR includes 17 passing core configuration tests and a successful native Swift WebSocket probe against an isolated nightly server. It also documents the Xcode compile limitation that prevented full iOS app testing.
@t3dotgg, since you authored the Swift app PR #5178, could you review #28170 or route it to the appropriate maintainer, and confirm whether this is the intended settings-read path going forward? thekalyptos commented on Nov 2, 2026 Reproduced with T3 Code stable 0.1.6 on an Apple Silicon Mac. The current iPhone app shows Unknown request tag: server.getSettings when opening an existing thread and prevents sending. I cleanly restarted the Mac desktop app and its bundled server; the error persisted. The existing thread still opens on desktop. This affects the stable server as well as the nightlies reported above.
Update: I tried several older TestFlight builds against the 0.1.6 server and the problem persisted. After switching the Mac desktop app and its bundled server to official stable 0.1.3, I could send a message from the iPhone again. The app was originally reported as TestFlight build 68; I did not record which mobile build was installed for the successful test.
This supports the missing server.getSettings compatibility explanation. Before switching the live server, we also tested 0.1.3 against a copy of the existing database: the RPC succeeded and an existing thread could be read. The server warned that the database contained seven newer migrations. I backed up my data before downgrading; this one successful test does not establish that rolling back a newer database is safe or that all newer features remain compatible. gmelvill commented on Nov 4, 2026 Update: I tested #26455 at d61d08fde1 on my own setup (a Windows 11 host and a physical iPhone running TestFlight build 68). With it, server.getSettings succeeds, threads open without the alert, and messages send and receive replies. Details are on the PR: #26455 AurelienPautet commented on Nov 4, 2026 Same problem here, also on the latest nightly and on a macOS host.
- Server:
0.1.8-nightly.20261104.4165, macOS 27.2 (26B123), Apple M4. A second linked machine is on the same version.
- Client: Swift TestFlight app
0.1.0 build 68 (com.t3tools.t3code.swiftui), iPhone13,2, iOS 27.2, user agent T3Code/68 CFNetwork/3896.200.61 Darwin/27.2.0.
- Symptom: the alert appears when opening a thread with the composer (model picker visible), and every send from the composer is blocked with
Unknown request tag: server.getSettings. The same thread works from desktop/web against the same server.
- App updates: build 68 is the latest available to external testers, so there is no newer TestFlight build to move to. Automatic updates are on.
+1 for restoring server.getSettings for already-installed builds (#26455): the fix is server-side and would unblock existing TestFlight users without waiting for another app build. I'm happy to test a nightly that includes it and report back. levaldivia commented on Nov 6, 2026 Still reproduces on 0.1.8-nightly.20261105.4234, against two separate macOS servers.
- Client: Swift TestFlight app
0.1.0 (68).
- Server 1: Mac mini (Apple Silicon), T3 Code
0.1.8-nightly.20261105.4234 (commit 8b570d282b), macOS 26.5 (Darwin 25.5.0), Node v26.12.1.
- Server 2: MacBook Pro (Apple Silicon), T3 Code
0.1.8-nightly.20261105.4234.
- Symptom: On both servers, the iPhone app fails with
Unknown request tag: server.getSettings when sending a message to an existing thread and when creating a new thread. Neither action works from mobile.
- Source check:
server.getSettings is missing from packages/contracts/src/rpc.ts at v0.1.8-nightly.20261105.4234 and on main as of 2026-11-06 (the newest nightly is 20261106.4275). Updating the server won't help yet. fix(server): Swift TestFlight clients can read settings again #26455 / fix(server): SwiftUI iOS app loads model preferences again #26466 are still open.
+1 for the server-side compatibility fix (#26455), so build 68 users can send again before a new TestFlight build ships.
Produced by Claude Opus 5.5 (Claude Code agent) via T3 Code triage. troabrea commented on Nov 9, 2026 Still reproduces on Version 0.1.8-nightly.20261109.4399.
Client: Swift TestFlight app 0.1.0 (68). Event after fresh install.
Symptom: The iPhone app fails with Unknown request tag: server.getSettings when sending a message to an existing thread and when creating a new thread. Neither action works from mobile.
Source check: server.getSettings is missing from packages/contracts/src/rpc.ts at v0.1.8-nightly.20261105.4234 and on main as of 2026-11-09 (Version 0.1.8-nightly.20261109.4399). Updating the server won't help yet.
#26455 / #26466 are still open.
+1 for the server-side compatibility fix (#26455), so build 68 users can send again before a new TestFlight build ships. BlaineCowen commented on Nov 11, 2026 Still reproduces on today's latest nightly, 0.1.9-nightly.20261111.4515, on a Linux x64 server (Ubuntu 24.04).
- Client: Swift TestFlight app, build 68 (
T3Code/68 CFNetwork/3896.200.61 Darwin/27.2.0), connected directly over Tailscale Serve (not T3 Connect).
- Server trace: pairing (
/oauth/token), /api/auth/session, /api/orchestration/shell and the /ws upgrade all succeed. The app then shows "Unknown request tag: server.getSettings".
- Binary check: the nightly binary contains
server.updateSettings but no server.getSettings.
+1 for merging #26455 as a compatibility shim until a new TestFlight build ships.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|