Skip to content

fix: preserve selected documentation traits - #2

Merged
showxu merged 1 commit into
masterfrom
fix/documentation-trait-selection
Oct 7, 2026
Merged

showxu merged 1 commit into
masterfrom
fix/documentation-trait-selection

Conversation

@showxu

@showxu showxu commented Oct 7, 2026

Copy link
Copy Markdown
Member

The website selects package traits for documentation, but SwiftPM 6.3.3 enables every trait when dump-symbol-graph creates its build plan. App Store Connect therefore rebuilt the full API after its selected build had already passed, expanding the documented surface and delaying deployment.

Emit public symbol graphs and external extension blocks during the selected build, then convert the configured library modules. This keeps the published API surface consistent with projects.json and removes the separate build of every trait and its test-runner workaround.

Validation: all 27 pipeline tests pass. The new orchestration regression fails against the prior implementation and checks trait forwarding, one compilation, public and extension graphs, and library-only conversion. No local Swift or DocC compilation was repeated; the required Pages workflow validates the full hosted result. SwiftPM source.

@showxu
showxu merged commit f009c71 into master Oct 7, 2026
4 checks passed
@showxu
showxu deleted the fix/documentation-trait-selection branch October 7, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant