getappmap / getappmap/appmap-python

Running a Django app with auto-reloader prevents some functions from getting instrumented

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

appmap-python bug
Dominant language
Python
Stars
104
Forks
17
PR merge metrics
No merged PRs in 30d

Description

To reproduce:

  • clone https://github.com/redpointsec/vtm
  • run the setup steps in its README, stop before running ./manage.py runserver
  • pip install appmap
  • ./manage.py runserver
  • browse to http://localhost:8000/taskManager/dashboard/ (you'll have to log in first)
    The resulting AppMap looks like this:

Image

  • stop the server, start it again as ./manage.py runserver --noreload
  • Browse to the dashboard, check out the resulting AppMap:

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the vtm setup, ./manage.py runserver, and the dashboard URL, then repeat with ./manage.py runserver --noreload. Compare the resulting AppMaps to identify which functions are missing under Django's auto-reloader. Done means the reloading configuration produces instrumentation equivalent to the no-reload run.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.