Skip to content

Conversation

@beekhc
Copy link
Contributor

@beekhc beekhc commented Nov 21, 2025

This fixes a particular way of using NSURLSession that the instrumentation was missing, where a session delegate implements only func urlSession(_:task:didFinishCollecting:). This was caught by some Honeycomb end-to-end tests that exercise URLSession in various ways. I suspect that this was missed because this method is in the super-protocol NSURLSessionTaskDelegate, rather than the NSURLSessionDataDelegate protocol.

I have verified that our own end-to-end tests fail before this change and pass after.

I've added a regression test to make sure this stays working.

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.

1 participant