Skip to content

skip restoring terminals with missing working directory - #2878

Open
danthe1st wants to merge 1 commit into
eclipse-platform:masterfrom
danthe1st:restore-terminal-skip-nonexisting
Open

skip restoring terminals with missing working directory#2878
danthe1st wants to merge 1 commit into
eclipse-platform:masterfrom
danthe1st:restore-terminal-skip-nonexisting

Conversation

@danthe1st

@danthe1st danthe1st commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Since we already have M3 now, this may be better for Eclipse 2026-12 but that's a decision for committers.


With restoring terminals now properly restoring the working directory, it doesn't really make sense to restore terminals pointing to a directory that no longer exists so this PR skips restoring these terminals (see also #2859).

I also used this chance to extract the logic for restoring a single terminal from the stored connection properties into a method for better readability.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   59m 51s ⏱️ + 2m 55s
 4 760 tests ±0   4 738 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 171 runs  ±0  12 018 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 8f2498c. ± Comparison against base commit 4968281.

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.

1 participant