Skip to content

fix release build#178

Merged
lukaskollmer merged 1 commit into
mainfrom
lukas/fix-release-build
Jul 11, 2026
Merged

fix release build#178
lukaskollmer merged 1 commit into
mainfrom
lukas/fix-release-build

Conversation

@lukaskollmer

@lukaskollmer lukaskollmer commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

fix release build

♻️ Current situation & Problem

issue: release builds currently fail, bc the #Previews are referencing #if DEBUG-gated definitions, but as it turns out #Preview still will be compiled for release builds...

⚙️ Release Notes

  • fix release build

📚 Documentation

n/a

✅ Testing

n/a

Code of Conduct & Contributing Guidelines

By creating and submitting this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The onboarding ComprehensionScreening and Consent SwiftUI #Preview blocks are now compiled only in DEBUG builds. Runtime view logic and data flow remain unchanged.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is related to the release build fix, but it is too vague to describe the specific change. Rename it to mention that DEBUG-gated SwiftUI previews were wrapped for release builds.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description matches the change and explains the release-build preview issue.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lukaskollmer lukaskollmer self-assigned this Jul 11, 2026
@lukaskollmer lukaskollmer added the enhancement New feature or request label Jul 11, 2026
@lukaskollmer lukaskollmer added the bug Something isn't working label Jul 11, 2026
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lukaskollmer lukaskollmer merged commit 319a333 into main Jul 11, 2026
15 of 16 checks passed
@lukaskollmer lukaskollmer deleted the lukas/fix-release-build branch July 11, 2026 06:46
@github-project-automation github-project-automation Bot moved this from In Progress to Done in MyHeart Counts Project Planning Jul 11, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in MyHeart Counts Project Planning Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

1 participant