[GH-ISSUE #1339] [Issue]: Refactor needs Tauri equivalents for prompt-connection and request logging diagnostics #663

Closed
opened 2026-10-20 17:31:33 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1339

Summary

The v1.6.0 diagnostics LOG_PRESET=prompt-connections and LOG_DISABLE_REQUEST_LOGGING are missing or need a Tauri/refactor equivalent decision.

Expected behavior

Refactor should provide equivalent prompt/model/connection diagnostics and request logging controls where applicable to the new runtime.

Actual behavior

The old Fastify request logging path does not map directly, and no equivalent refactor diagnostics were found in the audit.

Steps to reproduce

  1. Open the refactor branch at
Originally created by @cha1latte on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1339 ## Summary The v1.6.0 diagnostics LOG_PRESET=prompt-connections and LOG_DISABLE_REQUEST_LOGGING are missing or need a Tauri/refactor equivalent decision. ## Expected behavior Refactor should provide equivalent prompt/model/connection diagnostics and request logging controls where applicable to the new runtime. ## Actual behavior The old Fastify request logging path does not map directly, and no equivalent refactor diagnostics were found in the audit. ## Steps to reproduce 1. Open the refactor branch at
Author
Owner

@cha1latte commented on GitHub (May 26, 2026):

Audit follow-up: this is diagnostics parity with a Tauri architecture decision attached. Before porting literally, decide which old env knobs still make sense, then prove prompt/model/connection diagnostics are available in the new runtime.

<!-- gh-comment-id:4549578893 --> @cha1latte commented on GitHub (May 26, 2026): Audit follow-up: this is diagnostics parity with a Tauri architecture decision attached. Before porting literally, decide which old env knobs still make sense, then prove prompt/model/connection diagnostics are available in the new runtime.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Implemented in refactor commit 8253bd3c. The hostable Rust runtime now honors LOG_DISABLE_REQUEST_LOGGING for routine /api/invoke and LLM stream request logs, and LOG_PRESET=prompt-connections suppresses those request logs while enabling Rust LLM prompt/model/connection diagnostics. Provider endpoints with query secrets are redacted in diagnostics, and docs/developer/run-build.html documents the Tauri/refactor behavior. Added focused Rust tests for the env knob behavior and endpoint redaction.

<!-- gh-comment-id:4554578392 --> @SpicyMarinara commented on GitHub (May 27, 2026): Implemented in refactor commit 8253bd3c. The hostable Rust runtime now honors LOG_DISABLE_REQUEST_LOGGING for routine /api/invoke and LLM stream request logs, and LOG_PRESET=prompt-connections suppresses those request logs while enabling Rust LLM prompt/model/connection diagnostics. Provider endpoints with query secrets are redacted in diagnostics, and docs/developer/run-build.html documents the Tauri/refactor behavior. Added focused Rust tests for the env knob behavior and endpoint redaction.
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#663
No description provided.