René's URL Explorer Experiment


Title: The agent keeps a reference to an instrumented function that prevents it from being garbage collected · Issue #317 · getappmap/appmap-python · GitHub

Open Graph Title: The agent keeps a reference to an instrumented function that prevents it from being garbage collected · Issue #317 · getappmap/appmap-python

X Title: The agent keeps a reference to an instrumented function that prevents it from being garbage collected · Issue #317 · getappmap/appmap-python

Description: https://github.com/pallets/flask ============================================================== FAILURES ============================================================== __________________________________________________ test_app_freed_on_...

Open Graph Description: https://github.com/pallets/flask ============================================================== FAILURES ============================================================== _____________________________...

X Description: https://github.com/pallets/flask ============================================================== FAILURES ============================================================== _____________________________...

Opengraph URL: https://github.com/getappmap/appmap-python/issues/317

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The agent keeps a reference to an instrumented function that prevents it from being garbage collected","articleBody":"https://github.com/pallets/flask\r\n\r\n```\r\n============================================================== FAILURES ==============================================================\r\n__________________________________________________ test_app_freed_on_zero_refcount ___________________________________________________\r\n\r\n    @require_cpython_gc\r\n    def test_app_freed_on_zero_refcount():\r\n        # A Flask instance should not create a reference cycle that prevents CPython\r\n        # from freeing it when all external references to it are released (see #3761).\r\n        gc.disable()\r\n        try:\r\n            app = flask.Flask(__name__)\r\n            assert app.view_functions[\"static\"]\r\n            weak = weakref.ref(app)\r\n            assert weak() is not None\r\n            del app\r\n>           assert weak() is None\r\nE           AssertionError: assert \u003cFlask 'test_basic'> is None\r\nE            +  where \u003cFlask 'test_basic'> = \u003cweakref at 0x11b897b50; to 'Flask' at 0x11bcc5150>()\r\n\r\ntests/test_basic.py:1888: AssertionError\r\n--------------------------------------------------------- Captured log call ----------------------------------------------------------\r\nINFO     _appmap.recording:recording.py:77 writing /Users/kgilpin/source/land-of-apps/pallets-flask/tmp/appmap/pytest/test_app_freed_on_zero_refcount.appmap.json\r\n========================================================== warnings summary ==========================================================\r\nvenv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:274\r\n  /Users/kgilpin/source/land-of-apps/pallets-flask/venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:274: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: _appmap\r\n    self.config.issue_config_time_warning(\r\n\r\nvenv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:274\r\n  /Users/kgilpin/source/land-of-apps/pallets-flask/venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:274: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: appmap\r\n    self.config.issue_config_time_warning(\r\n\r\ntests/test_basic.py::test_server_name_subdomain\r\n  /Users/kgilpin/source/land-of-apps/pallets-flask/venv/lib/python3.10/site-packages/_appmap/instrument.py:92: UserWarning: Current server name 'foo.localhost' doesn't match configured server name 'dev.local'\r\n    ret = f.fn(*args, **kwargs)\r\n\r\ntests/test_basic.py::test_subdomain_matching_other_name[False]\r\ntests/test_basic.py::test_subdomain_matching_other_name[True]\r\n  /Users/kgilpin/source/land-of-apps/pallets-flask/venv/lib/python3.10/site-packages/_appmap/instrument.py:92: UserWarning: Current server name '127.0.0.1:3000' doesn't match configured server name 'localhost.localdomain:3000'\r\n    ret = f.fn(*args, **kwargs)\r\n\r\ntests/test_reqctx.py::test_proper_test_request_context\r\n  /Users/kgilpin/source/land-of-apps/pallets-flask/venv/lib/python3.10/site-packages/_appmap/instrument.py:92: UserWarning: Current server name 'localhost' doesn't match configured server name 'localhost.localdomain:5000'\r\n    ret = f.fn(*args, **kwargs)\r\n\r\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\r\n====================================================== short test summary info =======================================================\r\nFAILED tests/test_basic.py::test_app_freed_on_zero_refcount - AssertionError: assert \u003cFlask 'test_basic'> is None\r\n================================== 1 failed, 469 passed, 7 skipped, 6 warnings in 85.70s (0:01:25) ===================================\r\n```","author":{"url":"https://github.com/kgilpin","@type":"Person","name":"kgilpin"},"datePublished":"2024-05-24T16:32:56Z","url":"https://github.com/getappmap/appmap-python/issues/317"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a965a373-59fc-38c2-9f55-42b0adfdeebd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE96:31D21B:18DEAAF:20C524C:6B0323C9
html-safe-nonceac5d4413ba7bbc310ead373f4c6f1e57acdde2970ae7b6ab6bbb00e79300556f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTk2OjMxRDIxQjoxOERFQUFGOjIwQzUyNEM6NkIwMzIzQzkiLCJ2aXNpdG9yX2lkIjoiNTk3NjY4Njg1NTIxNzk0NzU5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4e86c00554ed81c40172b8080098d8075ea86047c564ada22b2abd518df8ccb7
hovercard-subject-tagissue:2315803566
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getappmap/appmap-python/317/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5c68b30e03a91d3acaf2c5c85d8c7d4d543b4b1adeb294537b3481d61c751799/getappmap/appmap-python/issues/317
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c68b30e03a91d3acaf2c5c85d8c7d4d543b4b1adeb294537b3481d61c751799/getappmap/appmap-python/issues/317
og:image:althttps://github.com/pallets/flask ============================================================== FAILURES ============================================================== _____________________________...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekgilpin
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/getappmap/appmap-python git https://github.com/getappmap/appmap-python.git
octolytics-dimension-user_id46610017
octolytics-dimension-user_logingetappmap
octolytics-dimension-repository_id314785884
octolytics-dimension-repository_nwogetappmap/appmap-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id314785884
octolytics-dimension-repository_network_root_nwogetappmap/appmap-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getappmap/appmap-python/issues/317#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetappmap%2Fappmap-python%2Fissues%2F317
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetappmap%2Fappmap-python%2Fissues%2F317
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getappmap%2Fappmap-python
Reloadhttps://github.com/getappmap/appmap-python/issues/317
Reloadhttps://github.com/getappmap/appmap-python/issues/317
Reloadhttps://github.com/getappmap/appmap-python/issues/317
getappmaphttps://github.com/getappmap
appmap-pythonhttps://github.com/getappmap/appmap-python
Codehttps://github.com/getappmap/appmap-python
Issues51 (51)https://github.com/getappmap/appmap-python/issues
Pull requests6 (6)https://github.com/getappmap/appmap-python/pulls
Discussionshttps://github.com/getappmap/appmap-python/discussions
Actionshttps://github.com/getappmap/appmap-python/actions
Projectshttps://github.com/getappmap/appmap-python/projects
Wikihttps://github.com/getappmap/appmap-python/wiki
Security and qualityhttps://github.com/getappmap/appmap-python/security
Insightshttps://github.com/getappmap/appmap-python/insights
https://github.com/getappmap/appmap-python
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/317
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/317
The agent keeps a reference to an instrumented function that prevents it from being garbage collectedhttps://github.com/getappmap/appmap-python/issues/317#top
https://github.com/apotterri
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/kgilpin
kgilpinhttps://github.com/kgilpin
on May 24, 2024https://github.com/getappmap/appmap-python/issues/317#issue-2315803566
https://github.com/pallets/flaskhttps://github.com/pallets/flask
kgilpinhttps://github.com/kgilpin
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
on May 24, 2024https://github.com/getappmap/appmap-python/issues/317#event-12927334829
kgilpinhttps://github.com/kgilpin
apotterrihttps://github.com/apotterri
on May 24, 2024https://github.com/getappmap/appmap-python/issues/317#event-12927334890
apotterrihttps://github.com/apotterri
on Jul 27, 2024https://github.com/getappmap/appmap-python/issues/317#event-13669277432
Sign up for freehttps://github.com/signup?return_to=https://github.com/getappmap/appmap-python/issues/317
Sign in to commenthttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/317
apotterrihttps://github.com/apotterri
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.