Enable MistDemo integration workflow on claude/** branches#374
Enable MistDemo integration workflow on claude/** branches#374leogdion wants to merge 4 commits into
Conversation
The live MistDemo integration tests targeted a CloudKit record type "MistKitIntegrationTest" that is not defined in the container schema, causing CI failures. The deployed schema only defines a Note record type with title/index/image fields, which the phases already populate. https://claude.ai/code/session_01EvLrWZwcSs1MjiCrUx8KjU
Temporarily enable the live CloudKit integration workflow on claude/** branches so the end-to-end run can be exercised and verified green outside of main/release pushes. https://claude.ai/code/session_01EvLrWZwcSs1MjiCrUx8KjU
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Code ReviewSummaryThis is a minimal, well-scoped CI configuration change — one line added to the What works well
Concerns1. Acknowledged but unguarded technical debtThe PR notes the - 'claude/**' # TODO: temporary – remove before merging to v1.0.0-beta.22.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1.0.0-beta.2 #374 +/- ##
================================================
Coverage ? 68.21%
================================================
Files ? 120
Lines ? 2825
Branches ? 0
================================================
Hits ? 1927
Misses ? 898
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The FieldValueResponse `value` oneOf is decoded first-match-wins, and LocationValue/ReferenceValue had all-optional properties, so an asset response object greedily matched LocationValue (nil coordinates). Once #372 made response→domain conversion loud, that surfaced as ConversionError.locationMissingCoordinates(fieldName: "image") and crashed the live integration run. Mark latitude+longitude required on LocationValue and recordName required on ReferenceValue (matching Apple's CloudKit Web Services Reference) so the oneOf decoder falls through to AssetValue. Drops the now-unreachable guard/throws in the location/reference conversion inits and their dead ConversionError cases; adds an asset-decode regression test. NOTE: requires regenerating Sources/MistKitOpenAPI via ./Scripts/generate-openapi.sh — the committed generated client is not yet updated, so the package will not build until regeneration. https://claude.ai/code/session_01EvLrWZwcSs1MjiCrUx8KjU
Code ReviewSummaryThis PR has three concerns bundled together: (1) enabling the live integration workflow on 🔴 Critical — Package does not buildThe last commit updates
The generated types still have:
The new Required action before merge: run 🟡 Design —
|
Summary
claude/**to thepushtrigger of.github/workflows/MistDemo-Integration.ymlso the live CloudKit integration workflow runs on working branches, letting us watch it pass while iterating.v1.0.0-beta.2(scaffold Scaffold MistDemo (CLI + App + Web) for v1.0.0-beta.2 endpoints #371 + theNoterecord-type fix).Status
The integration workflow already ran green on this branch — run 26251422359 (Success): live query/create/modify/cleanup against the
Notetype,demo-errors(401/404/409), anddemo-in-filterall passed.Note
The
claude/**trigger is a temporary enablement for iteration and should be dropped before this merges back intov1.0.0-beta.2.https://claude.ai/code/session_01EvLrWZwcSs1MjiCrUx8KjU
Generated by Claude Code