mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1339] [Issue]: Refactor needs Tauri equivalents for prompt-connection and request logging diagnostics #663
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#663
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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.