René's URL Explorer Experiment


Title: fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_get · Issue #5563 · developing-today/code · GitHub

Open Graph Title: fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_get · Issue #5563 · developing-today/code

X Title: fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_get · Issue #5563 · developing-today/code

Description: Order Drew, 2026-11-04: "build something that supports all our work — that was always the goal — fix it." Both arms approved: the env raise now, and the code fix behind it. Evidence The concurrency report on #5412 (comment 6634809392) is...

Open Graph Description: Order Drew, 2026-11-04: "build something that supports all our work — that was always the goal — fix it." Both arms approved: the env raise now, and the code fix behind it. Evidence The concurrency...

X Description: Order Drew, 2026-11-04: "build something that supports all our work — that was always the goal — fix it." Both arms approved: the env raise now, and the code fix behind it. Evidence The c...

Opengraph URL: https://github.com/developing-today/code/issues/5563

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_get","articleBody":"## Order\n\nDrew, 2026-11-04: \"build something that supports all our work — that was always the goal — fix it.\" Both arms approved: the env raise now, and the code fix behind it.\n\n## Evidence\n\nThe concurrency report on #5412 (comment 6634809392) isolated the defect in `crates/fleet-proxy/src/serve.rs`:\n\n- The per-port tunnel pool is an idle cache capped by `LAPTOP_AGENT_POOL`, default **12**.\n- `pool_get` never waits: no idle tunnel ⇒ open a brand-new tunnel immediately, which costs seconds under burst; only 12 are retained, so the next burst pays again.\n- Benchmark (32 concurrent, production): queue-broker p50 **1001.7 ms** through the proxy vs 213.0 ms direct, ~1/6 the throughput; the cliff starts exactly at the cap (at 16 concurrent, p95 already 851 ms). The identical binary with the pool at 32 (scratch control) restored direct-class performance (p50 137.8 ms). Backends are exonerated; the cap + no-wait overflow is the cause.\n\n## Scope\n\n1. **Default idle cap 12 → 50.** Brokers are auto-spawned by `fleet proxy connect` (`ensure_broker`) from arbitrary consumers whose environments do not carry the knob — a production broker was observed respawned by a random consumer with no `LAPTOP_AGENT_POOL` in its environment, silently reverting an env-only raise. The right size must be the compiled default; the env var remains an override. (The immediate arm — `LAPTOP_AGENT_POOL=50` at the sandbox broker's owning launch surface, `init-ensure.sh` — lands with this issue and stays as an explicit override.)\n2. **Bounded wait in `pool_get`.** When no idle tunnel exists and opening another would exceed the pool size in live tunnels, wait (condvar signalled by `pool_put`) up to a bounded budget (250–500 ms, justified from the benchmark's tunnel-return times) for a returned tunnel before opening a new one. Hard requirements: a request must never hard-fail because of the pool (timeout ⇒ open a new tunnel, as today); the existing failure path (discard dead pooled connection, retry once on a fresh tunnel, then 502) is preserved; the pool mutex is never held during network I/O; keepalive behavior unchanged (never resets idle-exit).\n3. **Legibility.** Named constants, the overflow policy (idle → wait-bounded → grow) commented at `pool_get`, and the effective pool size rendered in the broker's startup line.\n4. **Tests/smoke.** Unit coverage for the wait (a waiter is woken by `pool_put`; a waiter times out into a fresh tunnel; live-count accounting). The workspace smoke gains a 32-concurrent hermetic burst against a scratch broker on default config asserting no request hangs or fails, plus the startup-line pool rendering.\n\n## Acceptance\n\n- Workspace tests + full smoke suite green.\n- Merged, and the production sandbox broker redeployed onto the merged build: health on all three ports, `repo-queue health`, framed secrets request, and a 32-concurrent burst spot-check at direct-class p50.\n- A broker auto-spawned with no `LAPTOP_AGENT_POOL` in its environment verifiably runs the 50 default (startup line).\n","author":{"url":"https://github.com/apps/developing-today","@type":"Person","name":"developing-today"},"datePublished":"2026-11-04T15:46:15Z","url":"https://github.com/developing-today/code/issues/5563"}

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:e2902f63-c5c8-2471-0a52-298b036e7883
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9100:17C530:D26B36:10FA1F7:6B06417B
html-safe-nonce632e2cac2ea0593083bf09381946be7f11be35df979649b3de9219e6eaf0ff7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTAwOjE3QzUzMDpEMjZCMzY6MTBGQTFGNzo2QjA2NDE3QiIsInZpc2l0b3JfaWQiOiI1NjA4OTI0MDAxMjU1OTY1MDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd5311ebf01e32ad60f41f0f91d4b14a4caf655399895a1f9f59a4c73c97324b9
hovercard-subject-tagissue:6206185420
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/developing-today/code/5563/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4be0285ef2133ea0779c1ae1a062a7622334a7f1c642acd657df6958e0c9dc8f/developing-today/code/issues/5563
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4be0285ef2133ea0779c1ae1a062a7622334a7f1c642acd657df6958e0c9dc8f/developing-today/code/issues/5563
og:image:altOrder Drew, 2026-11-04: "build something that supports all our work — that was always the goal — fix it." Both arms approved: the env raise now, and the code fix behind it. Evidence The concurrency...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedeveloping-today[bot]
hostnamegithub.com
expected-hostnamegithub.com
None1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
releaseac613d3698d3d8565651455086e1f74da07bf277
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/5563#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F5563
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%2Fdeveloping-today%2Fcode%2Fissues%2F5563
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=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/5563
Reloadhttps://github.com/developing-today/code/issues/5563
Reloadhttps://github.com/developing-today/code/issues/5563
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests172 (172)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5563
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5563
#5578https://github.com/developing-today/code/pull/5578
fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_gethttps://github.com/developing-today/code/issues/5563#top
#5578https://github.com/developing-today/code/pull/5578
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 4, 2026https://github.com/developing-today/code/issues/5563#issue-6206185420
#5412https://github.com/developing-today/code/issues/5412
developing-todayhttps://github.com/apps/developing-today
on Nov 4, 2026https://github.com/developing-today/code/issues/5563#event-35150254360
Merge pull request #5578 from developing-today/fix/proxy-pool-50https://github.com/developing-today/code/commit/f28bdee59b6781c8d43cf5120cbe90ee229e2b53
#5578https://github.com/developing-today/code/pull/5578
f28bdeehttps://github.com/developing-today/code/commit/f28bdee59b6781c8d43cf5120cbe90ee229e2b53
developing-todayhttps://github.com/apps/developing-today
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5578https://github.com/developing-today/code/pull/5578
on Nov 4, 2026https://github.com/developing-today/code/issues/5563#event-35150256220
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/5563#issuecomment-7124560684
developing.today fleethttps://kaneo.security.cab
PR #5578 — fleet-proxy: pool sized for the fleet's work — default 50 + bounded wait in pool_get (#5563)https://github.com/developing-today/code/pull/5578
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/5563
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5563
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.