Skip to content

tests(lantern): remove devtools log from tests#16050

Merged
connorjclark merged 1 commit intomainfrom
lantern-test-rm-dt-logs
Jun 10, 2024
Merged

tests(lantern): remove devtools log from tests#16050
connorjclark merged 1 commit intomainfrom
lantern-test-rm-dt-logs

Conversation

@connorjclark
Copy link
Copy Markdown
Collaborator

@connorjclark connorjclark commented Jun 7, 2024

ref #15841

Removes all the devtools log from core/tests/lantern, which at this point was only being used to derive a URL.

@connorjclark connorjclark requested a review from a team as a code owner June 7, 2024 22:17
@connorjclark connorjclark requested review from adamraine and removed request for a team June 7, 2024 22:17
lanternRequests.sort((a, b) => a.rendererStartTime - b.rendererStartTime);

// URL defines the initial request that the Lantern graph starts at (the root node) and the
// main document request. These are equal if there are no redirects.
Copy link
Copy Markdown
Collaborator Author

@connorjclark connorjclark Jun 7, 2024

Choose a reason for hiding this comment

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

will eventually figure out how to derive these two urls from the trace and remove URL as a param.

right now the fallback code here is not smart enough to detect client redirects (b/c that is not represented in our network model), so it is up to the caller to pass in the right urls

@connorjclark connorjclark changed the title core(lantern): extract main thread events without LH TraceProcessor tests(lantern): remove devtools log from tests Jun 7, 2024
@connorjclark connorjclark force-pushed the lantern-test-rm-dt-logs branch from bfdf00d to 7b9f4c5 Compare June 7, 2024 23:40
Base automatically changed from lantern-no-trace-processor to main June 10, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants