Skip to content

Send custom CDP Event to Frontend to prepare for displaying a trace#53079

Closed
hoxyq wants to merge 2 commits into
facebook:mainfrom
hoxyq:export-D79672598
Closed

Send custom CDP Event to Frontend to prepare for displaying a trace#53079
hoxyq wants to merge 2 commits into
facebook:mainfrom
hoxyq:export-D79672598

Conversation

@hoxyq
Copy link
Copy Markdown
Contributor

@hoxyq hoxyq commented Aug 5, 2025

Summary:

Changelog: [Internal]

We need this to notify Frontend, so it updates the local state before receiving Tracing.dataCollected events.

Corresponding change in CDT fork - react/react-native-devtools-frontend#199.

Differential Revision: D79672598

@meta-cla meta-cla 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 Aug 5, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@hoxyq hoxyq force-pushed the export-D79672598 branch from c320514 to 91a1f39 Compare August 21, 2025 22:15
Summary:
# Changelog: [Internal]

When CDP session is created via `HostTarget::connect`, it will ask `HostTargetDelegate` is there is a previously recorded trace that Host wants to display in the Frontend.

`TracingAgent` will serialize and send the recording at the initialization time in constructor.

Differential Revision: D79672597
@hoxyq hoxyq force-pushed the export-D79672598 branch from 91a1f39 to 117c623 Compare August 22, 2025 06:27
…acebook#53079)

Summary:
Pull Request resolved: facebook#53079

# Changelog: [Internal]

We need this to notify Frontend, so it updates the local state before receiving `Tracing.dataCollected` events.

Corresponding change in CDT fork - react/react-native-devtools-frontend#199.

Reviewed By: sbuggay

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

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

@hoxyq hoxyq force-pushed the export-D79672598 branch from 117c623 to 335393f Compare August 22, 2025 06:30
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 22, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 80f340e.

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.

2 participants