Skip to content

Conversation

@vishesh
Copy link
Contributor

@vishesh vishesh commented Oct 21, 2025

Currently we just check against FDB 7.3 and Swift 6.1, but as project matures and used more we can easily add more version to the matrix and the system will automatically run the tests with various combinations of those versions.

@vishesh vishesh force-pushed the cicd branch 8 times, most recently from 0163577 to c2abd6d Compare October 21, 2025 00:52
@vishesh vishesh force-pushed the cicd branch 2 times, most recently from a6873ac to 3a0bd68 Compare October 21, 2025 01:01
@jzhou77 jzhou77 merged commit 522d87b into FoundationDB:main Oct 21, 2025
1 check passed
1amageek added a commit to 1amageek/fdb-swift-bindings that referenced this pull request Nov 8, 2025
- Use count(where:) instead of reduce for counting incomplete versionstamps
  This is more idiomatic Swift and clearly expresses intent

- Replace guard with if for incompleteCount validation
  Guard is for early returns; if is more appropriate here

- Optimize withUnsafeBytes to eliminate unnecessary allocation
  Append directly instead of creating intermediate Array

Addresses: glbrntt review comments FoundationDB#6, FoundationDB#7, FoundationDB#10
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.

2 participants