Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"permissions": {
"allow": [
"Bash(swift --version:*)",
"Bash(~/.swiftly/bin/swiftly list:*)",
"Bash(~/.swiftly/bin/swiftly use:*)"
]
}
}
57 changes: 57 additions & 0 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Claude Code Review

on:
pull_request:
types: [opened, synchronize]
# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
# - "src/**/*.tsx"
# - "src/**/*.js"
# - "src/**/*.jsx"

jobs:
claude-review:
# Optional: Filter by PR author
# if: |
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Claude Code Review
id: claude-review
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number }}
Please review this pull request and provide feedback on:
- Code quality and best practices
- Potential bugs or issues
- Performance considerations
- Security concerns
- Test coverage
Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'

50 changes: 50 additions & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Claude Code

on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]

jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
actions: read
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
# prompt: 'Update the pull request description to include a summary of changes.'

# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
# claude_args: '--allowed-tools Bash(gh pr:*)'

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Examples/RemindersTests/Internal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Testing
.dependency(\.uuid, .incrementing),
.dependencies {
try $0.bootstrapDatabase()
try await $0.defaultSyncEngine.start()
try $0.defaultDatabase.seedSampleData()
try await $0.defaultSyncEngine.sendChanges()
},
Expand Down
1 change: 1 addition & 0 deletions Examples/SyncUpTests/SyncUpFormTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Testing
@Suite(
.dependencies {
try $0.bootstrapDatabase()
try await $0.defaultSyncEngine.start()
try await $0.defaultDatabase.seedForTests()
$0.uuid = .incrementing
}
Expand Down
32 changes: 16 additions & 16 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 9 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
// swift-tools-version: 6.1
// swift-tools-version: 6.2.1
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The swift-tools-version has been increased from 6.1 to 6.2.1. This means the package now requires Swift 6.2.1+ to build, which may not be compatible with all development environments. Document this requirement clearly, especially since the PR also adds guards for Swift 6.2.3 and 6.3 issues.

Suggested change
// swift-tools-version: 6.2.1
// swift-tools-version: 6.2.1
//
// This package requires Swift 6.2.1 or newer to build.
// The manifest includes workarounds for known Swift 6.2.3 and 6.3 issues
// (for example, the Swift-DocC plugin conditional and forks with Swift 6.3 fixes),
// so older toolchains are not supported.

Copilot uses AI. Check for mistakes.

import PackageDescription

let package = Package(
name: "sqlite-data",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v7),
.macOS(.v15),
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The platform support has been drastically reduced from iOS 13+, macOS 10.15+, tvOS 13+, watchOS 7+ to only macOS 15+. This is a major breaking change that will prevent the library from running on iOS, tvOS, watchOS, and older macOS versions. This should be prominently documented in the PR description as it significantly limits the library's usability.

Suggested change
.macOS(.v15),
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v7),

Copilot uses AI. Check for mistakes.
],
products: [
.library(
Expand All @@ -28,16 +25,17 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
.package(url: "https://github.com/groue/GRDB.swift", from: "7.6.0"),
// NB: Fork synced with upstream v7.9.0
.package(url: "https://github.com/doozMen/GRDB.swift", branch: "master"),
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.3.3"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.9.0"),
.package(url: "https://github.com/pointfreeco/swift-perception", from: "2.0.0"),
.package(url: "https://github.com/pointfreeco/swift-sharing", from: "2.3.0"),
// NB: Fork with Swift 6.3 fixes (uses doozMen/swift-perception)
.package(url: "https://github.com/doozMen/swift-sharing", branch: "main"),
Comment on lines +28 to +34
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependencies have been switched from official Point-Free repositories to doozMen forks (GRDB, swift-sharing, swift-perception). While the PR description mentions these are for Swift 6.3 compatibility, using forks instead of official releases creates maintenance burden and trust issues. Consider:

  1. Contributing fixes upstream to the official repositories
  2. Using tagged versions instead of branch references for reproducible builds
  3. Documenting the fork status and plans for upstreaming changes

Copilot uses AI. Check for mistakes.
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.18.4"),
.package(
url: "https://github.com/pointfreeco/swift-structured-queries",
from: "0.27.0",
from: "0.29.0",
traits: [
.trait(name: "StructuredQueriesTagged", condition: .when(traits: ["SQLiteDataTagged"]))
]
Expand All @@ -54,7 +52,6 @@ let package = Package(
.product(name: "GRDB", package: "GRDB.swift"),
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
.product(name: "OrderedCollections", package: "swift-collections"),
.product(name: "Perception", package: "swift-perception"),
.product(name: "Sharing", package: "swift-sharing"),
.product(name: "StructuredQueriesSQLite", package: "swift-structured-queries"),
.product(
Expand Down Expand Up @@ -106,7 +103,8 @@ for index in package.targets.indices {

#if !os(Windows)
// Add the documentation compiler plugin if possible
// NB: Use explicit type to avoid Swift 6.2.3 circular reference bug
package.dependencies.append(
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
Package.Dependency.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
)
#endif
92 changes: 0 additions & 92 deletions Package@swift-6.0.swift

This file was deleted.

Loading