René's URL Explorer Experiment


Title: Harness driver waits for its child; adoption stops when nothing is pending; SDK calls time out by navbytes · Pull Request #9 · navbytes/opencode-plugins · GitHub

Open Graph Title: Harness driver waits for its child; adoption stops when nothing is pending; SDK calls time out by navbytes · Pull Request #9 · navbytes/opencode-plugins

X Title: Harness driver waits for its child; adoption stops when nothing is pending; SDK calls time out by navbytes · Pull Request #9 · navbytes/opencode-plugins

Description: Follow-ups from the roost hang investigation, written up in docs/2026-09-06-roost-hang-report.md (answers docs/2026-09-06-roost-hang-brief.md). Short version: the 2026-09-04 wedges were the pty driver exiting on its --timeout with roost still running under the closed pty master; H1/H2/H3 on the plugin side were measured and cleared. Changes harness/pty-run.py never leaves its child behind. On timeout or --exit-when-done it SIGTERMs the child's process group, keeps draining for up to 3 s, SIGKILLs, reaps, and prints a timestamped stop line with the exit status. A pyte failure in the final snapshot no longer skips the capture files. (killpg on an exited, unreaped child raises EPERM on macOS, handled.) Adoption stops when nothing is pending. adoptNativeForks returns { adopted, adoptables }; retryAdopt stops on a genuine zero as well as on success, so the sibling loop of every fork batch no longer polls three times for nothing. A pass that threw reports -1, so a transient session.list failure still retries. 15 s timeout on SDK calls in the server half, the TUI entry point (session.list) and the transcript fetcher, via AbortSignal.timeout. A failed transcript fetch returns the deleted sentinel so the route retries instead of caching an empty transcript. src/tui/actions.ts is left untimed on purpose (session.prompt runs for a whole turn). USAGE: /ctree subcommands queue behind a running turn; /tree opens from the local journal. Verification bun run typecheck clean; bun test 275 pass; bun run build clean. python3 harness/pty-run.py --timeout 2 -- sh -c 'trap "" HUP; sleep 100' returns in ~2 s with the grandchild gone. CTREE_E2E=1 bun test test/e2e: 16 pass. Reviewed; the review's blocking finding (a failed pass stopping the retry loop) is fixed and covered by a unit test.

Open Graph Description: Follow-ups from the roost hang investigation, written up in docs/2026-09-06-roost-hang-report.md (answers docs/2026-09-06-roost-hang-brief.md). Short version: the 2026-09-04 wedges were the pty dri...

X Description: Follow-ups from the roost hang investigation, written up in docs/2026-09-06-roost-hang-report.md (answers docs/2026-09-06-roost-hang-brief.md). Short version: the 2026-09-04 wedges were the pty dri...

Opengraph URL: https://github.com/navbytes/opencode-plugins/pull/9

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b176ca13-123f-48dd-54cd-397f0b149ea8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAAC6:1CCECA:81432B:ACD7D2:6B01B965
html-safe-nonce8b1957e60351ec2390309ba9136b1b23d469cb13465ba195274ed9883cf91c0b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUM2OjFDQ0VDQTo4MTQzMkI6QUNEN0QyOjZCMDFCOTY1IiwidmlzaXRvcl9pZCI6IjU5OTgzNjA2MjE2OTgxMDM2NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7d663c46ea9f219306746bd66429046c3eec34bc1e98c519c9da54dc90b371e8
hovercard-subject-tagpull_request:4458561512
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/navbytes/opencode-plugins/pull/9/files
twitter:imagehttps://avatars.githubusercontent.com/u/25281802?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/25281802?s=400&v=4
og:image:altFollow-ups from the roost hang investigation, written up in docs/2026-09-06-roost-hang-report.md (answers docs/2026-09-06-roost-hang-brief.md). Short version: the 2026-09-04 wedges were the pty dri...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/navbytes/opencode-plugins git https://github.com/navbytes/opencode-plugins.git
octolytics-dimension-user_id25281802
octolytics-dimension-user_loginnavbytes
octolytics-dimension-repository_id1354341697
octolytics-dimension-repository_nwonavbytes/opencode-plugins
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1354341697
octolytics-dimension-repository_network_root_nwonavbytes/opencode-plugins
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/navbytes/opencode-plugins/pull/9/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnavbytes%2Fopencode-plugins%2Fpull%2F9%2Ffiles
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%2Fnavbytes%2Fopencode-plugins%2Fpull%2F9%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=navbytes%2Fopencode-plugins
Reloadhttps://github.com/navbytes/opencode-plugins/pull/9/files
Reloadhttps://github.com/navbytes/opencode-plugins/pull/9/files
Reloadhttps://github.com/navbytes/opencode-plugins/pull/9/files
navbyteshttps://github.com/navbytes
opencode-pluginshttps://github.com/navbytes/opencode-plugins
Codehttps://github.com/navbytes/opencode-plugins
Issueshttps://github.com/navbytes/opencode-plugins/issues
Pull requests1 (1)https://github.com/navbytes/opencode-plugins/pulls
Actionshttps://github.com/navbytes/opencode-plugins/actions
Projectshttps://github.com/navbytes/opencode-plugins/projects
Security and qualityhttps://github.com/navbytes/opencode-plugins/security
Insightshttps://github.com/navbytes/opencode-plugins/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnavbytes%2Fopencode-plugins%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnavbytes%2Fopencode-plugins%2Fissues%2Fnew%2Fchoose
navbyteshttps://github.com/navbytes
mainhttps://github.com/navbytes/opencode-plugins/tree/main
fix/hang-brief-followupshttps://github.com/navbytes/opencode-plugins/tree/fix/hang-brief-followups
Conversation 0 https://github.com/navbytes/opencode-plugins/pull/9
Commits 1 https://github.com/navbytes/opencode-plugins/pull/9/commits
Checks 1 https://github.com/navbytes/opencode-plugins/pull/9/checks
Files changed https://github.com/navbytes/opencode-plugins/pull/9/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/9/files
Harness driver waits for its child; adoption stops when nothing is pending; SDK calls time out https://github.com/navbytes/opencode-plugins/pull/9/files#top
Show all changes 1 commit https://github.com/navbytes/opencode-plugins/pull/9/files
1e13ec7 Harness driver waits for its child; adoption stops when nothing is pe… navbytes Sep 6, 2026 https://github.com/navbytes/opencode-plugins/pull/9/commits/1e13ec745ede5606ba7d6ad849864a28811eb145
Clear filters https://github.com/navbytes/opencode-plugins/pull/9/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/9/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/9/files
CHANGELOG.md https://github.com/navbytes/opencode-plugins/pull/9/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
2026-09-06-roost-hang-brief.md https://github.com/navbytes/opencode-plugins/pull/9/files#diff-2e58ce8803aca4faf44f169c226fd176a299f639cdea6562967f76b1011bf2f8
2026-09-06-roost-hang-report.md https://github.com/navbytes/opencode-plugins/pull/9/files#diff-cb9d04004bf833146f4e2f12d1dd2c8d62a19cdbc803ff9a1a5403e932e0a9f5
USAGE.md https://github.com/navbytes/opencode-plugins/pull/9/files#diff-52296615debf3994195e43d91c94e02bfdc615a27620e0dbc72140b3de98dde1
pty-run.py https://github.com/navbytes/opencode-plugins/pull/9/files#diff-87f8d02939133ec9efdd607b68f2841f4dcdfcd0c8e18a0c6bd1d986ad729c98
index.ts https://github.com/navbytes/opencode-plugins/pull/9/files#diff-e4e7a68d82cdfba4e7dab9a32a8f55f3806ffa0cf33f1b8ab64b42941cf68888
adopt.ts https://github.com/navbytes/opencode-plugins/pull/9/files#diff-ced4ddc92e97f7ecf95736bdc6b4ab33d814a2709ce9f737dec83aa2b47ffb22
sdk.ts https://github.com/navbytes/opencode-plugins/pull/9/files#diff-667861c061023cfe75622edd0523afa3b73bad0dd04446fe5ba1b0e422b88b7d
index.tsx https://github.com/navbytes/opencode-plugins/pull/9/files#diff-a5d0dfeb26f8c7fdd93de9a4df346646ef3972d5aca53643f9d10be4454b6970
transcripts.ts https://github.com/navbytes/opencode-plugins/pull/9/files#diff-d5b37344b204c443c6ae711bccd19684b75186c3f615cc9a979871f7a3534308
adopt.test.ts https://github.com/navbytes/opencode-plugins/pull/9/files#diff-53163090df33d384f400855852ba9e5ee1124b562dce7f9da33a7fdd6ca14dc4
CHANGELOG.mdhttps://github.com/navbytes/opencode-plugins/pull/9/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/navbytes/opencode-plugins/blob/1e13ec745ede5606ba7d6ad849864a28811eb145/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/9/{{ revealButtonHref }}
https://github.com/navbytes/opencode-plugins/pull/9/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/navbytes/opencode-plugins/pull/9/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
docs/2026-09-06-roost-hang-brief.mdhttps://github.com/navbytes/opencode-plugins/pull/9/files#diff-2e58ce8803aca4faf44f169c226fd176a299f639cdea6562967f76b1011bf2f8
View file https://github.com/navbytes/opencode-plugins/blob/1e13ec745ede5606ba7d6ad849864a28811eb145/docs/2026-09-06-roost-hang-brief.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/9/{{ revealButtonHref }}
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/9/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/9/files
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.