Skip to content

Add SwiftBridging, Utilities test cases, and README documentation - #204

Merged
Kyle-Ye merged 3 commits into
mainfrom
feature/utilities-target
Feb 24, 2026
Merged

Add SwiftBridging, Utilities test cases, and README documentation#204
Kyle-Ye merged 3 commits into
mainfrom
feature/utilities-target

Conversation

@Kyle-Ye

Copy link
Copy Markdown
Member

Summary

  • Extract SwiftBridging.h into a shared SwiftBridging/ include directory and symlink it into Utilities, replacing inline bridging macros in Base.hpp
  • Add missing Compute-parity test cases for HashTable (remove/reinsert, cycle detection, bucket growth) and Heap (small/large allocation)
  • Add README documentation for Utilities, Platform, SwiftCorelibsCoreFoundation, and UtilitiesTests targets
  • Add project structure table to root README

Test plan

  • Verify swift build succeeds on macOS
  • Verify swift test --filter UtilitiesTests passes
  • Verify non-Darwin build is not broken

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation test related enhancement New feature or request labels Feb 24, 2026
@codecov

codecovBot commented Feb 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.12%. Comparing base (911b7c9) to head (a73fd90).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #204 +/- ##
=======================================
Coverage 10.12% 10.12% =======================================
Files 28 28 Lines 820 820 =======================================
Hits 83 83 Misses 737 737 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add alloc_uint64 helper to Heap.hpp (SWIFT_TESTING only) with
SWIFT_RETURNS_INDEPENDENT_VALUE for safe Swift interop naming
- Add Heap allocation tests: allocateSmallObjects, allocateLargeObject
- Add HashTable tests from Compute: removeHeadThenInsert,
removeAndReinsertSameKey, growBucketsPreservesAllNodes
- Mark two HashTable tests as disabled (FIXME) pending investigation
…undation, and UtilitiesTests
Also add project structure table to root README.
@Kyle-Ye
Kyle-Yeforce-pushed the feature/utilities-target branch from 1ea8179 to a73fd90CompareFebruary 24, 2026 15:34
@Kyle-Ye
Kyle-Ye merged commit acae877 into mainFeb 24, 2026
5 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/utilities-target branch February 24, 2026 15:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationenhancementNew feature or requesttest related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Kyle-Ye