Skip to content

Documentation not updating — 0 completed builds for a large (50-target) package that builds locally #4088

Description

@wei18

Please describe the bug

Documentation for my package wei18/github-rest-api-swift-openapi is not updating, and the Build Results page shows "0 completed builds" for every Swift version / platform, even though the package builds cleanly locally.

Symptoms:

  • …/main/documentation/githubrestapiissues renders — but appears to be a stale archive from an older commit.
  • …/main/tutorials/githubrestapiissues returns 404, even though a DocC tutorial was added and merged to main weeks ago (PR Explore using PackageConfig mechanism to embed spi metadata in Package.swift #192, merged 2026-06-19). A fresh local DocC build produces this exact route in index/index.json.
  • The Swift-versions and Platforms compatibility badges both report pending / isError.
  • Builds page (/builds): "0 completed builds for GitHubRestAPISwiftOpenAPI".

The package builds fine locally: swift build of all 50 targets completes in ~154s (exit 0, warnings only) on Apple Silicon. So this does not appear to be a compile error on our side.

Context that may matter: this is a large generated package — 50 targets, ~29 MB of generated Swift, with the largest single file Sources/repos/Types.swift at ~3.5 MB / ~67k lines. It built and hosted docs successfully in the past; the module target names were renamed (snake_case → CamelCase) in a manifest refactor around 2026-06, which may have re-triggered a full rebuild.

Explain the steps needed to reproduce the bug

  1. Navigate to https://swiftpackageindex.com/wei18/github-rest-api-swift-openapi/builds → "0 completed builds".
  2. Navigate to https://swiftpackageindex.com/wei18/github-rest-api-swift-openapi/main/tutorials/githubrestapiissues → 404, while …/main/documentation/githubrestapiissues renders (stale).

What was the expected behaviour?

Builds complete and documentation (including the newly-added tutorial on main) is regenerated and hosted.

Questions

  • Why are builds not completing (timeout / resource limit / something specific to this package)? Are there per-build limits we're exceeding, and can they be seen from our side?
  • Is there anything we should change (e.g. trim .spi.yml documentation_targets, split the package) to let builds complete?

Screenshots

Build Results page shows "0 completed builds"; tutorial URL shows SPI's 404 page. (Happy to attach.)

What web browser were you using? (if relevant)

  • Platform: Desktop
  • Browser: Chrome

Additional context

.spi.yml lists 50 documentation_targets. Repo: https://github.com/wei18/github-rest-api-swift-openapi — maintained by @wei18.

Activity

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