Skip to content

Fix incorrect type being passed to NativePerformance.mark#47102

Closed
rubennorte wants to merge 1 commit into
facebook:mainfrom
rubennorte:export-D64557467
Closed

Fix incorrect type being passed to NativePerformance.mark#47102
rubennorte wants to merge 1 commit into
facebook:mainfrom
rubennorte:export-D64557467

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

In D64466057 / 32f7b3b we accidentally modified the API of NativePerformance.mark (which we wanted to preserve and move the changes to NativePerformance.markWithResult after some iteration) to make startTime optional. This change isn't OTA safe and no automated systems caught this problem.

This fixes the issue by reverting the type back to being required and always passing it from the JS API.

Differential Revision: D64557467

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 17, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64557467

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64557467

…7102)

Summary:

Changelog: [internal]

In D64466057 / facebook@32f7b3b we accidentally modified the API of `NativePerformance.mark` (which we wanted to preserve and move the changes to `NativePerformance.markWithResult` after some iteration) to make `startTime` optional, which isn't compatible with the previous native API.

This fixes the issue by reverting the type back to being required and always passing it from the JS API.

Differential Revision: D64557467
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64557467

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 17, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 14bbb87.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @rubennorte in 14bbb87

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants