mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6519] [CLOSED] Improve existing Pino diagnostics with retained logs and error references #7211
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#7211
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6519
Author: @SirAdoni
Created: 9/22/2026
Status: ❌ Closed
Base:
staging← Head:contrib/e01-diagnostics-current📝 Commits (1)
2668c54feat(diagnostics): retain bounded logs and traceable error references📊 Changes
30 files changed (+2040 additions, -65 deletions)
View changed files
📝
.env.example(+6 -0)📝
CHANGELOG.md(+2 -0)➕
LOGGING.md(+66 -0)➕
e2e/diagnostics.e2e.ts(+79 -0)📝
packages/client/src/lib/api-client.ts(+62 -13)➕
packages/client/src/lib/client-diagnostics.ts(+226 -0)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/client/src/main.tsx(+20 -0)📝
packages/server/src/app.ts(+47 -13)📝
packages/server/src/config/env-watcher.ts(+4 -5)📝
packages/server/src/config/runtime-config.ts(+18 -0)➕
packages/server/src/lib/diagnostic-operation.ts(+36 -0)➕
packages/server/src/lib/diagnostics.ts(+165 -0)📝
packages/server/src/lib/logger.ts(+100 -25)➕
packages/server/src/lib/rotating-sink.ts(+209 -0)📝
packages/server/src/middleware/error-handler.ts(+13 -3)➕
packages/server/src/routes/diagnostics.routes.ts(+88 -0)📝
packages/server/src/routes/generate/sse.ts(+70 -2)📝
packages/server/src/routes/index.ts(+2 -0)➕
packages/server/src/services/llm/diagnostic-provider.ts(+261 -0)...and 10 more files
📄 Description
Linked issue
Refs #6453 — E01 logging improvements, accepted in https://github.com/Pasta-Devs/Marinara-Engine/issues/6453#issuecomment-5761794958. Supersedes closed #6438, which GitHub would not allow the author to reopen.
Why this change
Failures across browser, HTTP and provider operations are difficult to correlate from console output alone. This extends the existing Pino logging with bounded local diagnostic records and error references users can share with developers.
What changed
E02 persistent generation jobs and continuation after closing a tab are excluded. Owner: @SirAdoni, with AI assistance.
Validation
Integration with current staging and renewed privacy, compatibility and regression checks are in progress. Previous validation is not claimed for the refreshed branch. Final results will replace this draft status.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
Logging documentation, environment settings and changelogs; no release version change.
UI evidence (if applicable)
Focused browser evidence will use synthetic data only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.