From 8d72f07cf08fef7ae17ea34f04613165daeb66a6 Mon Sep 17 00:00:00 2001 From: Noah <2+noah@noreply.gitea.bluefla.re> Date: Thu, 12 Nov 2026 13:18:58 -0600 Subject: [PATCH] ci: update the PR change-surface self-test for the GUI's new dependencies alkane-gui now depends on alkane-flash and alkane-artifacts (right-click install/uninstall, release picker), so a change in either reaches the GUI graph and needs the full build. pr-surface.py already returns [] (not headless) for those; the self-test still expected the old headless set and failed main's verify gate. Pin the new graph: artifacts -> [], flash -> [], access + flash -> [], access + cli -> [access, cli]. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i --- ci/test-pr-surface.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ci/test-pr-surface.py b/ci/test-pr-surface.py index 56e39ac0..1d3bade2 100644 --- a/ci/test-pr-surface.py +++ b/ci/test-pr-surface.py @@ -136,12 +136,17 @@ def main() -> None: ["README.md", "ci/pr-surface.py"]): assert not pr_surface.documentation_only(paths), paths assert pr_surface.headless_packages(["crates/alkane-cli/src/main.rs"]) == ["alkane-cli"] - assert pr_surface.headless_packages(["crates/alkane-artifacts/src/lib.rs"]) == [ - "alkane-artifacts", "alkane-cli", "alkane-flash", - ] + # alkane-gui depends on alkane-flash and alkane-artifacts (right-click + # install/uninstall and the release picker), so a change in either reaches + # the GUI graph and needs the full build: not a headless-only change. + assert pr_surface.headless_packages(["crates/alkane-artifacts/src/lib.rs"]) == [] + assert pr_surface.headless_packages(["crates/alkane-flash/src/lib.rs"]) == [] assert pr_surface.headless_packages([ "crates/alkane-access/src/lib.rs", "crates/alkane-flash/tests/update.rs", - ]) == ["alkane-access", "alkane-flash"] + ]) == [] + assert pr_surface.headless_packages([ + "crates/alkane-access/src/lib.rs", "crates/alkane-cli/src/main.rs", + ]) == ["alkane-access", "alkane-cli"] for paths in ([], ["crates/alkane-core/src/lib.rs"], ["crates/alkane-discovery/src/lib.rs"], ["crates/alkane-gui/src/main.rs"], -- 2.54.0