Cleanup CfT and Chromium profiles#3123
Merged
VietND96 merged 3 commits intoSeleniumHQ:trunkfrom Apr 23, 2026
Merged
Conversation
Contributor
Review Summary by QodoFix Chrome and Chromium temp file cleanup patterns
WalkthroughsDescription• Fix Chrome cleanup script regex pattern to match temp files • Add Chromium temp file cleanup to Chrome node script • Update Chromium cleanup script to target correct profiles • Widen regex search patterns for better file matching Diagramflowchart LR
A["NodeChrome/chrome-cleanup.sh"] -->|"Widen regex pattern"| B["Match Chrome temp files"]
A -->|"Add new pattern"| C["Match Chromium temp files"]
D["NodeChromium/chrome-cleanup.sh"] -->|"Fix pattern"| E["Match Chromium profiles"]
D -->|"Update message"| F["Clarify Chromium cleanup"]
File Changes1. NodeChrome/chrome-cleanup.sh
|
Contributor
Code Review by Qodo
1. SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS unquoted
|
VietND96
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #3122
NodeChrome/chrome-cleanup.shso it also deletes Chrome for Testing temp filesNodeChromium/chrome-cleanup.shso it deletes Chromium temp filesNote: this uses a glob when finding temp files because sometimes the directories start with a dot (
org.chromium.Chromium.*) and sometimes they don't (.org.chromium.Chromium.scoped_dir.*)Motivation and Context
chrome-cleanup.shscripts were not properly cleaning temp profilesTypes of changes
Checklist