Repository navigation
Add masked log export and desktop folder actions - #9714
Imagineer99 wants to merge 37 commits into
Conversation
|
Fixed the review-level generic session-token finding in ec55211. Structured session_token, session-token, and sessionToken fields are now classified as secrets, with regression coverage for all three aliases. The complete debug-log suite now passes 352 tests. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
CI classification for the current head ( |
|
Runner-infrastructure note for |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7dc189d37d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| r"(?i)" + _KEY_START + r"(?P<key>" + _SECRET_KEYS + r")\b" | ||
| r"(?P<sep>[\"']?\s*[:=]\s*)(?!<redacted>)" | ||
| r"(?!" + _PYTHON_BYTES_PREFIX + r"[\"'])" | ||
| r"(?P<val>[^\"'\s|>,;}\]][^\"'\r\n,;}\]]*)" |
There was a problem hiding this comment.
Redact semicolons inside unquoted credential values
When an unquoted credential itself contains a semicolon, such as password=abc;def, this pattern stops at the semicolon and both the log viewer and exported archive emit password=<redacted>;def, exposing the credential suffix. The previous matcher included semicolons in unquoted values; preserve that behavior unless the semicolon can be proven to begin a separate structured field.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in ed7b7fe: unquoted credential values now consume semicolons unless one provably starts an adjacent key/value field; regression coverage verifies both masking and field preservation.
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
The export endpoint and the redaction hardening in studio/backend/utils/log_redaction.py look like the useful core here, but the same branch also carries the Settings Logs redesign, the themed select swap and the Tauri open-folder command. Could you split it so the export path lands on its own and the desktop and UI changes follow separately? |
|
Closing this now that #10271 has it, with your commit on that branch as |
Summary
Privacy and reliability
EXPORT_WARNINGS.txt, without absolute host pathsNew design
Playwright before / after
Same deterministic 1440×900 dark-theme fixture on both sides:
0998656891: log viewer only; 0 log-management actions5bb3ce68d: the selected file is explicitly the “Log to preview”; 2 neutral utility actions are grouped under “All logs”Verification
363 passedacross the debug-log backend suites117 passedacross the sandbox/bypass permission suite after sharing its credential-variable classifier with log exportnpm run typecheckmeta.jsonThe desktop flow was manually tested on Windows. The folder-opening and native-save behavior should still be validated on macOS and Linux before treating desktop coverage as cross-platform.
UI result
The log controls now read as one flat workflow instead of nested windows. The selected source is explicitly scoped to the preview, while export and folder actions are grouped as neutral utilities for all logs. Desktop-only actions remain hidden on the web build.