Skip to content

Wrong parent in some async flows #180

Description

@dividedmind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions