Skip to content

[codex] Redact production logging#409

Merged
jjoonleo merged 4 commits into
mainfrom
codexd/issue-389-production-safe-logging
May 7, 2026
Merged

[codex] Redact production logging#409
jjoonleo merged 4 commits into
mainfrom
codexd/issue-389-production-safe-logging

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Gate Dart diagnostics behind AppLogger and replace direct app debugPrint calls.
  • Redact/summarize sensitive network, FCM, schedule, and alarm payload logging.
  • Summarize Android native intent/payload logs and add regression source-scan coverage.

Why

Issue #389 identified production-readiness risk from runtime logs exposing tokens, authorization headers, request/response bodies, schedule details, FCM data, and alarm payloads.

Validation

  • flutter test test/core/logging/app_logger_test.dart
  • flutter analyze
  • Targeted rg checks for raw app debugPrint, stack logging, full extras/args/payload logs, and unsafe native logging patterns.

Fixes #389

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 170bfe4):

https://ontime-c63f1--pr409-codexd-issue-389-pro-vu0hlvf3.web.app

(expires Thu, 14 May 2026 15:10:34 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 170bfe4):

https://on-time-front-widgetbook--pr409-codexd-issue-389-pro-i6cne3ym.web.app

(expires Thu, 14 May 2026 15:11:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

@jjoonleo jjoonleo marked this pull request as ready for review May 7, 2026 15:15
@jjoonleo jjoonleo merged commit 398ae2b into main May 7, 2026
4 checks passed
@jjoonleo jjoonleo deleted the codexd/issue-389-production-safe-logging branch May 7, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Production readiness] Redact and gate sensitive runtime logging

1 participant