Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Commit b3bac43

Browse files
authored
Fix/orion change detector subproject path normalization (#2038)
* test: cover subproject path normalization in target discovery Signed-off-by: jackieismpc <jackieismpc@gmail.com> * orion: normalize changed paths against buck root Signed-off-by: jackieismpc <jackieismpc@gmail.com> * test: expand discovery coverage for repo-relative changes Signed-off-by: jackieismpc <jackieismpc@gmail.com> * test: fix api-model doctest import path Signed-off-by: jackieismpc <jackieismpc@gmail.com> * orion: preserve repo-relative changes in subprojects Signed-off-by: jackieismpc <jackieismpc@gmail.com> * test: cover mixed change lists in orion target discovery Signed-off-by: jackieismpc <jackieismpc@gmail.com> --------- Signed-off-by: jackieismpc <jackieismpc@gmail.com>
1 parent 5f7d1b4 commit b3bac43

9 files changed

Lines changed: 492 additions & 7 deletions

File tree

‎Cargo.lock‎

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎api-model/src/buck2/types.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl ProjectRelativePath {
2828
}
2929

3030
/// ```
31-
/// use api-models::types::ProjectRelativePath;
31+
/// use api_model::buck2::types::ProjectRelativePath;
3232
/// assert_eq!(
3333
/// ProjectRelativePath::new("foo/bar.bzl").extension(),
3434
/// Some("bzl")

‎orion/Cargo.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ utoipa.workspace = true
3232
common = { path = "../common" }
3333
scorpiofs = "0.2.1"
3434
tokio-util = { workspace = true }
35+
36+
[dev-dependencies]
37+
serial_test = { workspace = true }

0 commit comments

Comments
 (0)