From e80c040bb50bfd1c2aac29a967ed0c3071bf6d57 Mon Sep 17 00:00:00 2001 From: LibraVault Date: Tue, 25 Aug 2026 18:51:21 +0000 Subject: [PATCH] fix(ci): use app.get_beta_groups, not the nonexistent BetaGroup.all MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spaceship::ConnectAPI::BetaGroup has no class-level .all — the app association method is app.get_beta_groups (spaceship's own connect_api/models/app.rb). Fixes the diagnostic workflow added in #618, which failed with NoMethodError on its first real run. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/list-testflight-groups.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/list-testflight-groups.yml b/.github/workflows/list-testflight-groups.yml index 367e80e4..1a710e89 100644 --- a/.github/workflows/list-testflight-groups.yml +++ b/.github/workflows/list-testflight-groups.yml @@ -45,7 +45,7 @@ jobs: puts "App: #{app.name} (id=#{app.id}, bundleId=#{app.bundle_id})" puts "" - groups = Spaceship::ConnectAPI::BetaGroup.all(filter: { app: app.id }) + groups = app.get_beta_groups puts "Found #{groups.size} beta group(s):" groups.each do |g| puts " name=#{g.name.inspect} id=#{g.id} isInternalGroup=#{g.is_internal_group} publicLinkEnabled=#{g.public_link_enabled}"