Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong parent in some async flows #180

Open
dividedmind opened this issue Jan 27, 2025 · 0 comments
Open

Wrong parent in some async flows #180

dividedmind opened this issue Jan 27, 2025 · 0 comments

Comments

@dividedmind
Copy link
Collaborator

In some async scenarios, the event parent is not set correctly. Consider for example https://github.com/lukaszbulak/NestJS-TypeORM-Example and this AppMap resulting from npx appmap-node npm start dev & sleep 10 ; curl http://localhost:3000/boards:

Image

As you can see, the SQL request is not under getBoards (as it should be) but is a separate root. Note this seems intermittent; here's another AppMap of an identical request, with no changes (not even a server restart):

Image

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

No branches or pull requests

1 participant