From b96b8a4c722e2a4c313f1e0a934c6eca7e4a0862 Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Thu, 18 Jun 2026 01:58:16 +0000 Subject: [PATCH] fix(bluesky-pds): exec into renamed 'pds' service (pairs with recipe rename app->pds) The recipe renames its main service app->pds so caddy resolves THIS stack's PDS on the shared proxy (abra drops compose network aliases, so a rename is the robust fix). Update the two exec_in_app calls to service=pds to match. Same assertions. --- tests/bluesky-pds/_p4.py | 2 +- tests/bluesky-pds/custom/test_account_and_post.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bluesky-pds/_p4.py b/tests/bluesky-pds/_p4.py index 29b2c74..165353d 100644 --- a/tests/bluesky-pds/_p4.py +++ b/tests/bluesky-pds/_p4.py @@ -37,7 +37,7 @@ def _goat_admin(domain: str, args: str) -> str: f'--admin-password "$(cat /run/secrets/pds_admin_password)" ' f"--pds-host {PDS_HOST_LOCAL} 2>&1" ) - return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], timeout=120) + return lifecycle.exec_in_app(domain, ["sh", "-c", cmd], service="pds", timeout=120) def account_did(domain: str) -> str | None: diff --git a/tests/bluesky-pds/custom/test_account_and_post.py b/tests/bluesky-pds/custom/test_account_and_post.py index ea8604f..42a99ac 100644 --- a/tests/bluesky-pds/custom/test_account_and_post.py +++ b/tests/bluesky-pds/custom/test_account_and_post.py @@ -46,7 +46,7 @@ def _in_container(domain: str, shell_cmd: str) -> str: """Run `shell_cmd` inside the PDS app container via exec_in_app (sh -c wrapper).""" # The admin_pw_flag uses $(cat ...) which only the sh inside the container can expand — # callers pass the raw shell command including those substitutions. - return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], timeout=120) + return lifecycle.exec_in_app(domain, ["sh", "-c", shell_cmd], service="pds", timeout=120) def _goat_admin(domain: str, args: str) -> str: