Skip to content

Reject invalid dashboard parent_path in test server#5995

Draft
radakam wants to merge 2 commits into
mainfrom
fix-dashboard-reject-invalid-parent-path
Draft

Reject invalid dashboard parent_path in test server#5995
radakam wants to merge 2 commits into
mainfrom
fix-dashboard-reject-invalid-parent-path

Conversation

@radakam

@radakam radakam commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

radakam added 2 commits July 21, 2026 09:08
The fake DashboardCreate stored any parent_path verbatim unless it began
with /Workspace/, so a value that isn't a real workspace folder (e.g. a
path-traversal string like /etc/passwd) round-tripped through GET and
surfaced as spurious drift under the direct engine.

Validate parent_path the way cloud does: require an absolute, canonical
path free of control characters and rooted under a real workspace
directory (/Users, /Repos, /Shared), returning 400 otherwise. Existence
alone is not sufficient, since such a directory may have been created
earlier.
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: c98199f

Run: 29819954307

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 227 1127 2:59
💚​ aws windows 4 4 229 1125 3:43
💚​ aws-ucws linux 4 4 314 1044 4:10
💚​ aws-ucws windows 4 4 316 1042 4:37
💚​ azure linux 4 4 227 1126 2:56
💚​ azure windows 4 4 229 1124 2:36
💚​ azure-ucws linux 4 4 316 1041 4:11
💚​ azure-ucws windows 4 4 318 1039 5:49
💚​ gcp linux 4 4 226 1128 2:37
💚​ gcp windows 4 4 228 1126 2:24
8 interesting tests: 4 RECOVERED, 4 SKIP
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 2 slowest tests (at least 2 minutes):
duration env testname
2:41 azure-ucws windows TestAccept
2:27 aws-ucws windows TestAccept

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.

2 participants