Repository navigation
fix source database ownership and isolate session tests - #18745
Closed
kevinushey wants to merge 2 commits into
Closed
kevinushey wants to merge 2 commits into
kevinushey wants to merge 2 commits into
Conversation
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:02 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:02 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:02 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:02 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:07 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:07 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 01:09 — with
GitHub Actions
Inactive
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
2 of 4 tasks
This branch was previously deployed
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.
Intent
Fixes #18744.
When Desktop starts while Server is running without a project, source database recovery can mistake Server's link-based lock for an unlocked advisory lock and rename the live session's directory. Server then fails to create documents with
No such file or directoryerrors. C++ session tests can also initialize against a developer's real RStudio data directory.Approach
Automated Tests
Added five C++ lock regression tests and two Python tests that exercise the configured Unix launcher with stub session executables. The launcher tests also fail against the original script.
Validated on macOS:
FileLockingTest.*: 9 tests passed.python3 src/cpp/tests/python/test-test-runner-isolation.py: 2 tests passed.new_documentRPCs succeed.git diff --checkpassed.The modified C++ translation units were rebuilt and relinked with the existing core-test and rsession build artifacts. The full suite and Windows runtime tests were not run locally.
QA Notes
Reproduction and QA scenarios are recorded in #18744. Use temporary RStudio data/configuration directories when testing concurrent sessions and crash recovery.
Documentation
Added a NEWS entry linked to #18744. No user-facing configuration changes.
Checklist