ci: write a swift test summary to the job summary - #598
Open
kieran-osgood-shopify wants to merge 1 commit into
Open
ci: write a swift test summary to the job summary#598kieran-osgood-shopify wants to merge 1 commit into
kieran-osgood-shopify wants to merge 1 commit into
Conversation
5 tasks
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
kieran-osgood-shopify
changed the base branch from
swift-artifact-upload
to
graphite-base/598
August 7, 2026 14:18
kieran-osgood-shopify
force-pushed
the
graphite-base/598
branch
from
August 7, 2026 14:18
a5df829 to
a288284
Compare
kieran-osgood-shopify
force-pushed
the
kieran-osgood/swift-artifact-upload/xcresult-step-summary
branch
from
August 7, 2026 14:18
6f54314 to
8dfab78
Compare
kieran-osgood-shopify
changed the base branch from
graphite-base/598
to
swift-artifact-upload
August 7, 2026 14:19
kieran-osgood-shopify
force-pushed
the
kieran-osgood/swift-artifact-upload/xcresult-step-summary
branch
from
August 7, 2026 14:36
8dfab78 to
c79264c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Stack Context
Stacked on #595, which writes an
.xcresultbundle on CI and uploads it when a Swift job fails.This PR renders the test results directly on the run page
What?
Read it at Checks → CI → Summary, under the
Run Package Testsjob. No log expansion, no artifact download.https://github.com/Shopify/checkout-kit/actions/runs/31108425595?pr=596
Why?
xcode_runalready annotates failures at file and line through xcbeautify. That covers a single failure well. It does not scale:Run Tests.The job summary has no such cap, so a wide breakage stays legible.
Why package tests only?
xcresultparser only supports test output, not build output
Notes for review
--output-format md, notgithubgithubformat emits unbalanced LaTeX ($\textcolor{...never closes) and GitHub renders a math error.sed 's/\\"/"/g'style=\"color:red\"malformed HTML.cat -sworking-directory: ${{ github.workspace }}defaults.run.working-directoryisplatforms/swift, but.xcresults/sits at the repository root.shopt -s nullglob.xcresults/writes nothing instead of a literal glob.Verified
The step body ran against the failed bundle from CI run
31104402707https://github.com/Shopify/checkout-kit/actions/runs/31108425595?pr=596
End-to-end CI proof runs through the stacked verification PR #596.
🤖 Generated with Claude Code