Skip to content

list-testflight-groups.yml still fails after PR #622: BuildBetaDetail has no ready_for_external_testing? method #626

Open

Description

@github-actions

What happened

Even after PR #622 fixed the app_version RuntimeError (see #625), .github/workflows/list-testflight-groups.yml still fails on every real run. The very next workflow_dispatch run after #622 merged (run 32886927890, 2026-08-25T18:58:49Z, commit 706bba7 on dev) got past the beta-group listing section cleanly, then crashed in the "Most recent builds on the app" loop:

build.rb:92:in 'Spaceship::ConnectAPI::Build#ready_for_external_testing?': undefined method 'ready_for_external_testing?' for an instance of Spaceship::ConnectAPI::BuildBetaDetail (NoMethodError)
Did you mean?  ready_for_internal_testing?

Root cause

Build#ready_for_external_testing? (spaceship/lib/spaceship/connect_api/models/build.rb:91-93) delegates to build_beta_detail.ready_for_external_testing?. But Spaceship::ConnectAPI::BuildBetaDetail (spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb) only defines ready_for_internal_testing? (line 52) and processed? (line 56) — there is no ready_for_external_testing? method on that class, in either the runner's installed fastlane 2.237.0 (macos-26-arm64 image) or the current 2.238.0 release. BuildBetaDetail does expose external_build_state (an ExternalState enum: READY_FOR_BETA_SUBMISSION, IN_BETA_REVIEW, BETA_APPROVED, etc.) — that's the field this line presumably meant to read, analogous to how ready_for_internal_testing? compares internal_build_state == InternalState::READY_FOR_BETA_TESTING.

This line was introduced in PR #621 (chore(ci): extend diagnostic to show which builds are in each group, commit 0a0bcea) and has never worked — it's unrelated to PR #622's own diff (that PR only touched the app_version calls on the two lines directly above/around this one), but #622's fix is what let a real run reach far enough to expose it.

Impact

Low in isolation — this is a workflow_dispatch-only diagnostic (no automated trigger, doesn't gate any deploy), and its first section (beta group + build-number listing) still works and is arguably the more important half. But the tool's own header comment says "Run this before assuming a code fix is right, not after" for the ios-testflight.yml group-distribution bug it exists to debug — and right now it cannot complete a run, so the second half of its output (recent builds' processing/readiness state) is unavailable to whoever reaches for it next.

Suggested fix

Replace b.ready_for_external_testing? with a comparison against b.build_beta_detail&.external_build_state (or drop the field, mirroring how #622 just dropped app_version rather than working around it) — same shape as the existing, working ready_for_internal_testing?/readyInternal= field on the line above it.

Why filing this now

Per .claude/agents/principal-review-agent.md's "Documenting real findings" section: a verified CONFIRMED bug gets a permanent record via a filed issue. Unlike #625, this one is genuinely unresolved — filing it open so it doesn't get lost the way a review-comment-only note would once PR #622's thread stops being discoverable.

Activity

  1. libravault-xyz commented on Aug 26, 2026

    @libravault-xyz
    Collaborator

    Automated pipeline health check: This issue (filed by github-actions[bot], CONTRIBUTOR association) has received zero dev-agent.yml runs and zero explanatory comment of any kind since it was filed.

    Same author-association trust-gate-skip signature already tracked on #469/#475/#479/#388/#408/#433/#437/#441/#544/#558/#582 — but unlike that earlier batch, this issue never got even the explain-trust-gate-skip job's own skip-reason comment, consistent with the regression confirmed on #437/#441 (that job's gh issue comment step has no actions/checkout/--repo, so it fails before posting: fatal: not a git repository).

    Not self-healing: no status label to toggle, and .github/workflows/dev-agent.yml is a sensitive path this routine won't edit.

    This now makes at least 13 open issues sitting with zero pipeline engagement: #469, #475, #479, #487, #504, #523, #534, #556, #557, #559, #561, #581, #589, #611, #626, #639. A tracked issue for the underlying explain-trust-gate-skip checkout/--repo bug has been recommended across at least two prior automated runs (2026-08-23 on #469, 2026-08-24 on #437/#441) but doesn't appear to have been filed yet.

    Action needed: someone with write access can workflow_dispatch triage this issue manually, and/or fix explain-trust-gate-skip's gh issue comment step (add actions/checkout or --repo ${{ github.repository }}) so future instances self-report instead of going silent.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions