[GH-ISSUE #5157] [Issue]: Diagnostics report browser OS instead of server host OS #2851

Closed
opened 2026-10-21 05:56:54 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5157

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Copied support diagnostics derive the OS from the browser user-agent rather than reporting the server host OS. Apple Safari user-agent parsing also reports macOS 10.15.7 for an iPad client running version 27 beta.

Expected behavior

Diagnostics should report the server host as macOS 26.6.1 and identify the client operating system accurately from the Safari user-agent, ideally distinguishing server and client OS details.

Actual behavior

Diagnostics report OS: macOS 10.15.7 because the value is derived from the iPad Safari user-agent. The server is actually a headless MacBook running macOS 26.6.1, while the client is an iPad running version 27 beta.

Steps to reproduce

  1. Run Marinara Engine 2.4.3 on a headless MacBook with macOS 26.6.1.
  2. Access Marinara Engine from an iPad running version 27 beta using Safari.
  3. Open Settings -> Advanced -> Support Diagnostics.
  4. Copy the support diagnostics and inspect the OS field.
  5. Observe that the OS is reported as macOS 10.15.7 from the browser user-agent instead of the server host OS.

Environment

  • Marinara Engine version: 2.4.3 (build 2.4.3+bb551bf921c0, commit bb551bf921)
  • Install type: Not provided
  • OS + version: Server: macOS 26.6.1 on a headless MacBook; client: iPad on version 27 beta
  • Browser or app shell: Safari on iPad; Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15

Logs, screenshots, or video

Copied diagnostics:
Marinara Engine diagnostics
Version: 2.4.3
Build: 2.4.3+bb551bf921c0
Commit: bb551bf921
OS: macOS 10.15.7
Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15
GPU: Apple GPU
Active connection: Opus 4.6 (Max; Cheap)
Connection provider: anthropic
LLM model: claude-opus-4-6

Additional context

Suggested approach: detect and store the server host OS at startup, report server and client OS separately, and improve Apple Safari user-agent parsing so the Version/27.0 value is not misrepresented as macOS 10.15.7.

Discord thread: [nitpick] diagnostic copy reports browser’s host os, not server’s
Discord thread link: https://discord.com/channels/1417099416812392641/1538624657333420303
Requested by: kolache (k0lache, Discord ID 220320261780668416)

Discord thread transcript (2 messages)
[2026-08-16T19:05:04.572Z] pod042: Marinara Engine diagnostics
Version: 2.4.3
Build: 2.4.3+bb551bf921c0
Commit: bb551bf921c0
OS: macOS 10.15.7
Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15
GPU: Apple GPU
Active connection: Opus 4.6 (Max; Cheap)
Connection provider: anthropic
LLM model: claude-opus-4-6


one thing I have spotted about the diagnostics is that it’s pulling all its info about the host from the browser

so I’m running my server on a headless macbook with macos 26.6.1 and my primary client ipad is on 27 beta
but as you can see, the diagnostics report the OS as macOS 10.15.7 since that’s what ipad safari sends as the useragent—the actual os string (Version/27.0) is buried in the middle there

the server should probably run a host os check at start time and stash it somewhere, and the user-agent string might need extra parsing to retrieve the correct client os on apple safari
[Discord message: https://discord.com/channels/1417099416812392641/1538624657333420303/1538624657333420303]

[2026-08-16T19:05:05.083Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1538624657333420303/1538624659476451469]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5157 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Copied support diagnostics derive the OS from the browser user-agent rather than reporting the server host OS. Apple Safari user-agent parsing also reports macOS 10.15.7 for an iPad client running version 27 beta. ## Expected behavior Diagnostics should report the server host as macOS 26.6.1 and identify the client operating system accurately from the Safari user-agent, ideally distinguishing server and client OS details. ## Actual behavior Diagnostics report OS: macOS 10.15.7 because the value is derived from the iPad Safari user-agent. The server is actually a headless MacBook running macOS 26.6.1, while the client is an iPad running version 27 beta. ## Steps to reproduce 1. Run Marinara Engine 2.4.3 on a headless MacBook with macOS 26.6.1. 2. Access Marinara Engine from an iPad running version 27 beta using Safari. 3. Open Settings -> Advanced -> Support Diagnostics. 4. Copy the support diagnostics and inspect the OS field. 5. Observe that the OS is reported as macOS 10.15.7 from the browser user-agent instead of the server host OS. ## Environment - Marinara Engine version: 2.4.3 (build 2.4.3+bb551bf921c0, commit bb551bf921c0) - Install type: Not provided - OS + version: Server: macOS 26.6.1 on a headless MacBook; client: iPad on version 27 beta - Browser or app shell: Safari on iPad; Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15 ## Logs, screenshots, or video Copied diagnostics: Marinara Engine diagnostics Version: 2.4.3 Build: 2.4.3+bb551bf921c0 Commit: bb551bf921c0 OS: macOS 10.15.7 Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15 GPU: Apple GPU Active connection: Opus 4.6 (Max; Cheap) Connection provider: anthropic LLM model: claude-opus-4-6 ## Additional context Suggested approach: detect and store the server host OS at startup, report server and client OS separately, and improve Apple Safari user-agent parsing so the Version/27.0 value is not misrepresented as macOS 10.15.7. Discord thread: [nitpick] diagnostic copy reports browser’s host os, not server’s Discord thread link: https://discord.com/channels/1417099416812392641/1538624657333420303 Requested by: kolache (k0lache, Discord ID 220320261780668416) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-08-16T19:05:04.572Z] pod042: Marinara Engine diagnostics Version: 2.4.3 Build: 2.4.3+bb551bf921c0 Commit: bb551bf921c0 OS: macOS 10.15.7 Browser / app shell: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15 GPU: Apple GPU Active connection: Opus 4.6 (Max; Cheap) Connection provider: anthropic LLM model: claude-opus-4-6 one thing I have spotted about the diagnostics is that it’s pulling all its info about the host from the browser so I’m running my server on a headless macbook with macos 26.6.1 and my primary client ipad is on 27 beta but as you can see, the diagnostics report the OS as macOS 10.15.7 since that’s what ipad safari sends as the useragent—the actual os string (Version/27.0) is buried in the middle there the server should probably run a host os check at start time and stash it somewhere, and the user-agent string might need extra parsing to retrieve the correct client os on apple safari [Discord message: https://discord.com/channels/1417099416812392641/1538624657333420303/1538624657333420303] [2026-08-16T19:05:05.083Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1538624657333420303/1538624659476451469] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:56:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2851
No description provided.