Skip to content

fix(deps): resolve shared-core at the 0.7.1 that carries ReportReason - #827

Merged
bmc08gt merged 1 commit into
mainfrom
fix/deps-shared-core-0-7-1
Sep 22, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
fix/deps-shared-core-0-7-1

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

main does not build from its committed pins. AllTargets fails with cannot find type 'ReportReason' in scope and cancels testing before a single test runs.

#821 added the report flow against SharedCoreKit.ReportReason and developed it through the FLIPCASH_SHARED_CORE_LOCAL path dependency that the same PR introduced. Package.resolved was correctly restored to the pinned 0.7.0 before committing, as that manifest's comment instructs — but the shared-core release carrying the type was never cut, so nothing published provided it. The Kotlin side has been on code/cash since code-android-app#1519.

shared-core 0.7.1 now publishes it. .upToNextMinor(from: "0.7.0") already admits 0.7.1, so only the resolved pin moves and the three manifests consuming SharedCoreKit stay untouched.

The second pin in this diff

The same file still pinned flipcash2-client-protocol at 0.10.0. FlipcashAPI/Package.swift requires the contract packages exact:, and #824 moved that declaration to 0.11.0 without committing the resolution it forces, so every build since has rewritten the file locally and left it dirty. It never broke anything visibly, which is why it went unnoticed. Same class as #778 and #786.

Note for whoever hits this next

xcodebuild -resolvePackageDependencies will not upgrade past an existing pin, and SwiftPM's cached clones — both ~/Library/Caches/org.swift.swiftpm/repositories/ and the DerivedData SourcePackages/repositories/ copy — do not learn about a new tag on their own. Both had to be purged for that package before 0.7.1 was visible.

main does not build from its committed pins. `AllTargets` fails with
`cannot find type 'ReportReason' in scope`, and testing is cancelled
before a single test runs.

#821 added the report flow against `SharedCoreKit.ReportReason` and
developed it through the `FLIPCASH_SHARED_CORE_LOCAL` path dependency
that the same PR introduced. `Package.resolved` was correctly restored
to the pinned 0.7.0 before committing, as that manifest's comment
instructs, but the shared-core release carrying the type was never cut,
so nothing published provided it.

shared-core 0.7.1 publishes it. `.upToNextMinor(from: "0.7.0")` already
admits 0.7.1, so only the resolved pin moves and the three manifests
consuming SharedCoreKit stay untouched.

The same file also still pinned flipcash2-client-protocol at 0.10.0.
`FlipcashAPI/Package.swift` requires the contract packages `exact:`, and
#824 moved that declaration to 0.11.0 without committing the resolution
it forces, so every build since has rewritten the file locally. Commit
that too rather than leave the checked-in state unbuildable as written.
@bmc08gt bmc08gt self-assigned this Sep 22, 2026
@bmc08gt
bmc08gt merged commit e10472d into main Sep 22, 2026
1 check failed
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