Repository navigation
ci(desktop): build and test Swift app in PRs - #9111
Merged
Merged
Conversation
There was a problem hiding this comment.
3 issues found across 4 files
Confidence score: 3/5
- In
.github/workflows/lint.yml, the SwiftPM cache key useshashFiles('desktop/macos/Desktop/Package.resolved'), which is absent before dependency resolution, so cache keys can become unstable and reduce cache effectiveness or cause inconsistent CI behavior — point the key at a committed lockfile path (or another deterministic input) before merging. - In
.github/workflows/lint.yml, the changed-file filter excludes renames, so Swift file renames can bypass the desktop Swift CI job and let regressions slip through untested — include rename status in--diff-filterso path-matched renames still trigger the job. - In
desktop/macos/scripts/swift-test-suites.sh, the XCTest discovery regex may miss some valid XCTestCase declarations (like extension-based cases), which can silently under-run test suites in CI — broaden discovery logic or add a fallback check to ensure all intended tests are executed.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2dba14984c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Git-on-my-level
force-pushed
the
codex/desktop-swift-ci-8842
branch
from
July 6, 2026 04:05
2dba149 to
ce10e2f
Compare
Member
Author
|
Monitor update for PR #9111:
Verification passed:
Resolved the five bot review threads addressed by these changes. |
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.
Summary
xcrun swift build -c release --package-path Desktop --triple arm64-apple-macosxdesktop/macos/test.shCloses #8842.
CI weight / timing
Measured locally on this Mac while developing the PR:
Expected full desktop Swift job cost is roughly 9-10 minutes cold-ish for desktop Swift PRs, with SwiftPM cache expected to reduce subsequent runs. The job exits after the changed-file check for non-desktop-Swift PRs.
Tests
xcrun swift build -c release --package-path Desktop --triple arm64-apple-macosxxcrun swift test --package-path Desktop --filter 'MemoryBankConnectorTests/testCodexConnectRedactsTokenFromCLIError'./scripts/swift-test-suites.sh/opt/homebrew/bin/actionlint -shellcheck "" .github/workflows/lint.ymlbash -n desktop/macos/test.sh desktop/macos/scripts/swift-test-suites.shgit diff --check