Skip to content

fix: add HeartRateRecoveryTestType.stepTest to generated HealthKit schema - #396

Merged
robertherber merged 2 commits into
masterfrom
fix/healthkit-schema-step-test
Oct 2, 2026
Merged

robertherber merged 2 commits into
masterfrom
fix/healthkit-schema-step-test

Conversation

@robertherber

Copy link
Copy Markdown
Member

The verify-generated job now runs against the Xcode 27.2 beta SDK, which adds HKHeartRateRecoveryTestTypeStepTest (raw value 4). That made check:generated fail on every PR (e.g. #395, run).

This commits the regenerated output from the CI diff:

  • healthkit-schema.json: new stepTest case
  • healthkit.generated.ts: HeartRateRecoveryTestType.stepTest = 4

No Swift or contract output changed. Includes a patch changeset.

🤖 Generated with Claude Code

…rated schema

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 2, 2026 10:04
@changeset-bot

changeset-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1ed4220

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@kingstinct/react-native-healthkit Minor
@react-native-healthkit/core Minor
@react-native-healthkit/health-records Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/kingstinct/react-native-healthkit/@react-native-healthkit/core@396
npm i https://pkg.pr.new/kingstinct/react-native-healthkit/@react-native-healthkit/health-records@396
npm i https://pkg.pr.new/kingstinct/react-native-healthkit/@kingstinct/react-native-healthkit@396

commit: 1ed4220

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The additive public API should use a minor changeset rather than a patch.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Synchronizes generated HealthKit bindings with the Xcode 27.2 SDK.

Changes:

  • Adds HeartRateRecoveryTestType.stepTest = 4.
  • Updates the generated schema and adds a release changeset.
File Description
healthkit.generated.ts Adds the TypeScript enum member.
healthkit-schema.json Records the SDK enum case.
.changeset/​heart-rate-recovery-step-test.md Documents the release impact.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robertherber
robertherber enabled auto-merge (squash) October 2, 2026 10:28
@robertherber
robertherber merged commit 0a72f7c into master Oct 2, 2026
12 checks passed
@robertherber
robertherber deleted the fix/healthkit-schema-step-test branch October 2, 2026 10:40
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