René's URL Explorer Experiment


Title: `Builder`: Race conditions after #796 / strict mypy · Issue #856 · tmux-python/tmuxp · GitHub

Open Graph Title: `Builder`: Race conditions after #796 / strict mypy · Issue #856 · tmux-python/tmuxp

X Title: `Builder`: Race conditions after #796 / strict mypy · Issue #856 · tmux-python/tmuxp

Description: strict mypy #796 makes certain uncovered loading scenarios error tmuxp load when session already exists Launching a new tmux server with default socket path and socket name Details eduflow is already running. Attach? [Y/n] y Traceback (m...

Open Graph Description: strict mypy #796 makes certain uncovered loading scenarios error tmuxp load when session already exists Launching a new tmux server with default socket path and socket name Details eduflow is alrea...

X Description: strict mypy #796 makes certain uncovered loading scenarios error tmuxp load when session already exists Launching a new tmux server with default socket path and socket name Details eduflow is alrea...

Opengraph URL: https://github.com/tmux-python/tmuxp/issues/856

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Builder`: Race conditions after #796 / strict mypy","articleBody":"strict mypy #796 makes certain uncovered loading scenarios error\r\n\r\n- `tmuxp load` when session already exists\r\n- Launching a new tmux server with default socket path and socket name\r\n\r\n\u003cdetails>\r\n\r\n```\r\neduflow is already running. Attach? [Y/n] y\r\nTraceback (most recent call last):\r\n  File \"/home/d/.cache/pypoetry/virtualenvs/tmuxp-m3jEKDEh-py3.11/bin/tmuxp\", line 6, in \u003cmodule>\r\n    sys.exit(cli.cli())\r\n             ^^^^^^^^^\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/__init__.py\", line 134, in cli\r\n    command_load(\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 640, in command_load\r\n    load_workspace(\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 416, in load_workspace\r\n    _reattach(builder)\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 161, in _reattach\r\n    assert builder.session is not None\r\n           ^^^^^^^^^^^^^^^\r\nAttributeError: 'WorkspaceBuilder' object has no attribute 'session'\r\n```\r\n\r\n\u003c/details>\r\n\r\nDeclone to loading existing session\r\n\r\n\u003cdetails>\r\n\r\n```\r\n❯ tmuxp load ~/work/python/libvcs\r\n[Loading] ~/projects/python/libvcs/.tmuxp.yaml\r\nAlready inside TMUX, switch to session? yes/no\r\nOr (a)ppend windows in the current active session?\r\n[y/n/a] - (y, n, a): n\r\nTraceback (most recent call last):\r\n  File \"/home/d/.cache/pypoetry/virtualenvs/tmuxp-m3jEKDEh-py3.11/bin/tmuxp\", line 6, in \u003cmodule>\r\n    sys.exit(cli.cli())\r\n             ^^^^^^^^^\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/__init__.py\", line 134, in cli\r\n    command_load(\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 640, in command_load\r\n    load_workspace(\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 450, in load_workspace\r\n    _load_detached(builder)\r\n  File \"~/projects/python/tmuxp/src/tmuxp/cli/load.py\", line 217, in _load_detached\r\n    builder.build()\r\n  File \"~/projects/python/tmuxp/src/tmuxp/workspace/builder.py\", line 293, in build\r\n    for w, wconf in self.iter_create_windows(session, append):\r\n  File \"~/projects/python/tmuxp/src/tmuxp/workspace/builder.py\", line 416, in iter_create_windows\r\n    w.set_window_option(key, val)\r\n  File \"~/projects/python/libtmux/src/libtmux/window.py\", line 346, in set_window_option\r\n    self.refresh()\r\n  File \"~/projects/python/libtmux/src/libtmux/window.py\", line 84, in refresh\r\n    return super()._refresh(\r\n           ^^^^^^^^^^^^^^^^^\r\n  File \"~/projects/python/libtmux/src/libtmux/neo.py\", line 174, in _refresh\r\n    obj = fetch_obj(\r\n          ^^^^^^^^^^\r\n  File \"~/projects/python/libtmux/src/libtmux/neo.py\", line 242, in fetch_obj\r\n    assert obj is not None\r\nAssertionError\r\n```\r\n\r\n\u003c/details>\r\n\r\nIntermittently during `tmuxp load`\r\n\r\n\u003cdetails>\r\n\r\n```\r\nDone in 1.87s.\r\nTraceback (most recent call last):\r\n  File \"~/.local/bin/tmuxp\", line 8, in \u003cmodule>\r\n    sys.exit(cli.cli())\r\n             ^^^^^^^^^\r\n  File \"~/projects/tmuxp/src/tmuxp/cli/__init__.py\", line 134, in cli\r\n    command_load(\r\n  File \"~/projects/tmuxp/src/tmuxp/cli/load.py\", line 640, in command_load\r\n    load_workspace(\r\n  File \"~/projects/tmuxp/src/tmuxp/cli/load.py\", line 452, in load_workspace\r\n    _load_attached(builder, detached)\r\n  File \"~/projects/tmuxp/src/tmuxp/cli/load.py\", line 184, in _load_attached\r\n    builder.build()\r\n  File \"~/projects/tmuxp/src/tmuxp/workspace/builder.py\", line 289, in build\r\n    for w, wconf in self.iter_create_windows(session, append):\r\n  File \"~/projects/tmuxp/src/tmuxp/workspace/builder.py\", line 411, in iter_create_windows\r\n    w.set_window_option(key, val)\r\n  File \"~/.local/lib/python3.11/site-packages/libtmux/window.py\", line 346, in set_window_option\r\n    self.refresh()\r\n  File \"~/.local/lib/python3.11/site-packages/libtmux/window.py\", line 84, in refresh\r\n    return super()._refresh(\r\n           ^^^^^^^^^^^^^^^^^\r\n  File \"~/.local/lib/python3.11/site-packages/libtmux/neo.py\", line 174, in _refresh\r\n    obj = fetch_obj(\r\n          ^^^^^^^^^^\r\n  File \"~/.local/lib/python3.11/site-packages/libtmux/neo.py\", line 242, in fetch_obj\r\n    assert obj is not None\r\nAssertionError\r\n```\r\n\r\n\u003c/details>","author":{"url":"https://github.com/tony","@type":"Person","name":"tony"},"datePublished":"2022-12-29T00:05:23Z","url":"https://github.com/tmux-python/tmuxp/issues/856"}

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:43ee60b3-3b76-3b93-4efb-13e7c61e461e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9B6A:1F4322:15313E:1CE82B:6B00649A
html-safe-noncef2da9a20722bb397fdde424501412a565294d8007b3131e80b5eb2decf3ecc46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjZBOjFGNDMyMjoxNTMxM0U6MUNFODJCOjZCMDA2NDlBIiwidmlzaXRvcl9pZCI6IjU1NTI5OTE1MDExNTMyMzIwMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccf09315a69c44e87155aceb49640de7091184f3293a0c5dae52117c543b7223a
hovercard-subject-tagissue:1513249909
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/tmux-python/tmuxp/856/issue_layout
twitter:imagehttps://opengraph.githubassets.com/71df5f9489870e911056c6cdb04bdd7d9cdbb2998a98228c6b95a8248bafd91d/tmux-python/tmuxp/issues/856
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/71df5f9489870e911056c6cdb04bdd7d9cdbb2998a98228c6b95a8248bafd91d/tmux-python/tmuxp/issues/856
og:image:altstrict mypy #796 makes certain uncovered loading scenarios error tmuxp load when session already exists Launching a new tmux server with default socket path and socket name Details eduflow is alrea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametony
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-preview
go-importgithub.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git
octolytics-dimension-user_id37234308
octolytics-dimension-user_logintmux-python
octolytics-dimension-repository_id12398170
octolytics-dimension-repository_nwotmux-python/tmuxp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id12398170
octolytics-dimension-repository_network_root_nwotmux-python/tmuxp
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
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/tmux-python/tmuxp/issues/856#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftmux-python%2Ftmuxp%2Fissues%2F856
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%2Ftmux-python%2Ftmuxp%2Fissues%2F856
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=tmux-python%2Ftmuxp
Reloadhttps://github.com/tmux-python/tmuxp/issues/856
Reloadhttps://github.com/tmux-python/tmuxp/issues/856
Reloadhttps://github.com/tmux-python/tmuxp/issues/856
tmux-pythonhttps://github.com/tmux-python
tmuxphttps://github.com/tmux-python/tmuxp
Codehttps://github.com/tmux-python/tmuxp
Issues113 (113)https://github.com/tmux-python/tmuxp/issues
Pull requests29 (29)https://github.com/tmux-python/tmuxp/pulls
Discussionshttps://github.com/tmux-python/tmuxp/discussions
Actionshttps://github.com/tmux-python/tmuxp/actions
Security and qualityhttps://github.com/tmux-python/tmuxp/security
Insightshttps://github.com/tmux-python/tmuxp/insights
https://github.com/tmux-python/tmuxp
New issuehttps://github.com/login?return_to=https://github.com/tmux-python/tmuxp/issues/856
New issuehttps://github.com/login?return_to=https://github.com/tmux-python/tmuxp/issues/856
#857https://github.com/tmux-python/tmuxp/pull/857
Builder: Race conditions after #796 / strict mypyhttps://github.com/tmux-python/tmuxp/issues/856#top
#857https://github.com/tmux-python/tmuxp/pull/857
https://github.com/tony
tonyhttps://github.com/tony
on Dec 29, 2022https://github.com/tmux-python/tmuxp/issues/856#issue-1513249909
#796https://github.com/tmux-python/tmuxp/pull/796
tonyhttps://github.com/tony
WorkspaceBuilder: Harden typings #857https://github.com/tmux-python/tmuxp/pull/857
on Dec 29, 2022https://github.com/tmux-python/tmuxp/issues/856#event-8128146075
tonyhttps://github.com/tony
on Dec 30, 2022https://github.com/tmux-python/tmuxp/issues/856#event-8131656912
Tag v0.18.2 (Fix from #464)https://github.com/tmux-python/libtmux/commit/a6fd98edd7b11fc5fc9b9059246d604ff6b9f116
#464https://github.com/tmux-python/libtmux/pull/464
a6fd98ehttps://github.com/tmux-python/libtmux/commit/a6fd98edd7b11fc5fc9b9059246d604ff6b9f116
tonyhttps://github.com/tony
completedhttps://github.com/tmux-python/tmuxp/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
25ce991https://github.com/tmux-python/tmuxp/commit/25ce9915178395d99ecd57ae899f6c44c7646128
on Dec 30, 2022https://github.com/tmux-python/tmuxp/issues/856#event-8131668909
Sign up for freehttps://github.com/signup?return_to=https://github.com/tmux-python/tmuxp/issues/856
Sign in to commenthttps://github.com/login?return_to=https://github.com/tmux-python/tmuxp/issues/856
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

Viewport: width=device-width


URLs of crawlers that visited me.