René's URL Explorer Experiment


Title: lab-ops-hub: Worker-fallback crawler has no fetch timeout — a slow target hangs the crawl indefinitely · Issue #500 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: Worker-fallback crawler has no fetch timeout — a slow target hangs the crawl indefinitely · Issue #500 · developing-today/code

X Title: lab-ops-hub: Worker-fallback crawler has no fetch timeout — a slow target hangs the crawl indefinitely · Issue #500 · developing-today/code

Description: Problem The Lab Ops Hub Worker-fallback crawler has no fetch timeout, unlike both sibling paths: Container crawler: pkgs/lab-ops-hub/container/app.py:205 opens with an explicit timeout — _OPENER.open(req, timeout=20). Container dispatch ...

Open Graph Description: Problem The Lab Ops Hub Worker-fallback crawler has no fetch timeout, unlike both sibling paths: Container crawler: pkgs/lab-ops-hub/container/app.py:205 opens with an explicit timeout — _OPENER.op...

X Description: Problem The Lab Ops Hub Worker-fallback crawler has no fetch timeout, unlike both sibling paths: Container crawler: pkgs/lab-ops-hub/container/app.py:205 opens with an explicit timeout — _OPENER.op...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub: Worker-fallback crawler has no fetch timeout — a slow target hangs the crawl indefinitely","articleBody":"## Problem\n\nThe Lab Ops Hub Worker-fallback crawler has **no fetch timeout**, unlike both sibling paths:\n\n- Container crawler: `pkgs/lab-ops-hub/container/app.py:205` opens with an explicit timeout — `_OPENER.open(req, timeout=20)`.\n- Container dispatch from the Worker: `pkgs/lab-ops-hub/src/index.ts:146` — `signal: AbortSignal.timeout(120_000)` with a comment explaining it must never hang the request.\n- Worker fallback: `pkgs/lab-ops-hub/src/index.ts:164-166` —\n\n```ts\nconst res = await fetchFollowingValidatedRedirects(url, (u) =>\n  fetch(u, { redirect: \"manual\", headers: { \"user-agent\": \"LabOpsHub/0.1 (+personal crawler)\" } }),\n);\n```\n\nNo `signal`, no deadline — neither per hop nor overall.\n\n## Why it matters\n\n`fetchFollowingValidatedRedirects` (`src/lib.ts:179`) awaits each hop's fetch, and `readResponseTextCapped` (`src/lib.ts:220`, #481) then awaits `reader.read()` until the body ends or the 2 MB cap is reached. The cap bounds **bytes**, not **time**: a validated public server that accepts the connection and then responds very slowly — or slow-drips a body at a few bytes per minute — keeps the crawl request (and the Worker invocation) hanging until platform limits kill it, instead of failing fast and returning an error the caller can surface. Every redirect hop multiplies the exposure. This is exactly the hang the container path's 120 s `AbortSignal.timeout` and the Python crawler's 20 s timeout were written to prevent; the fallback path — the one that runs when the container is already unavailable — was left unprotected.\n\n## Evidence\n\n- `pkgs/lab-ops-hub/src/index.ts:164-166` on main `472726dd`: the injected fetcher passes only `redirect` and `headers`; no `signal`.\n- `pkgs/lab-ops-hub/container/app.py:205`: `timeout=20`.\n- `pkgs/lab-ops-hub/src/index.ts:138-147`: container fetch carries `AbortSignal.timeout(120_000)`.\n- Dedup: no open or closed issue mentions a crawl/fetch timeout for the Worker fallback (searched `crawl timeout`, `lab-ops-hub`).\n\n## Suggested fix\n\nGive the fallback fetcher a per-hop timeout mirroring the container crawler, e.g. `signal: AbortSignal.timeout(20_000)` in the `fetch(...)` init in `crawlFallback` (per-hop matches urllib's per-operation timeout semantics; an overall deadline across hops is also acceptable if it is simpler to reason about). A timeout should surface as an ordinary crawl failure (the `/api/crawl` handler already records `containerError`/fallback errors), not an unhandled rejection.\n\n## Acceptance criteria\n\n- [ ] A crawl target that accepts the connection but never (or only very slowly) responds fails the fallback crawl within a bounded, documented time instead of hanging.\n- [ ] The timeout applies to every redirect hop, not just the first fetch.\n- [ ] The slow-drip body case is covered: the body read cannot wait indefinitely below the byte cap.\n- [ ] Normal fast crawls and the existing redirect-validation behaviour are unchanged (existing lab-ops-hub test suites still pass).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-21T20:02:34Z","url":"https://github.com/developing-today/code/issues/500"}

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:e934955d-7b9c-cb17-655c-33acdbcb2ba0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82A0:259026:A55C89:D6FAFD:6B063954
html-safe-nonce53a589aa4a7e90402577eba7309352e5dade79bcea14403c247daaa0d2fbbe2e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkEwOjI1OTAyNjpBNTVDODk6RDZGQUZEOjZCMDYzOTU0IiwidmlzaXRvcl9pZCI6IjI5OTc4MzQ4NDg4MTcwMDI4MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac13fed7766f813632bc96568d0322ae643acb28795bdf2ad9a4cdca95a1c51b01
hovercard-subject-tagissue:5967632786
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/500/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3663de276607eee350016a272854afea2cbe798ba58b623693d66e99044f5b81/developing-today/code/issues/500
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3663de276607eee350016a272854afea2cbe798ba58b623693d66e99044f5b81/developing-today/code/issues/500
og:image:altProblem The Lab Ops Hub Worker-fallback crawler has no fetch timeout, unlike both sibling paths: Container crawler: pkgs/lab-ops-hub/container/app.py:205 opens with an explicit timeout — _OPENER.op...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/500#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F500
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%2F500
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/500
Reloadhttps://github.com/developing-today/code/issues/500
Reloadhttps://github.com/developing-today/code/issues/500
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 requests159 (159)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/500
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/500
#501https://github.com/developing-today/code/pull/501
lab-ops-hub: Worker-fallback crawler has no fetch timeout — a slow target hangs the crawl indefinitelyhttps://github.com/developing-today/code/issues/500#top
#501https://github.com/developing-today/code/pull/501
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/500#issue-5967632786
#481https://github.com/developing-today/code/issues/481
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/500#event-33884097240
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/500#event-33884486172
Merge pull request #501 from developing-today/creator/500-crawl-fallb…https://github.com/developing-today/code/commit/1c692fd3c3e6b038dda1e22c6950b69cd4e5b024
#501https://github.com/developing-today/code/pull/501
1c692fdhttps://github.com/developing-today/code/commit/1c692fd3c3e6b038dda1e22c6950b69cd4e5b024
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#501https://github.com/developing-today/code/pull/501
on Oct 21, 2026https://github.com/developing-today/code/issues/500#event-33884486332
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/500#event-33909926717
Merge pull request #525 from developing-today/creator/524-crawl-fetch…https://github.com/developing-today/code/commit/fbc6638acaa565e42de32e1a09f0b87a6fec81e2
#525https://github.com/developing-today/code/pull/525
fbc6638https://github.com/developing-today/code/commit/fbc6638acaa565e42de32e1a09f0b87a6fec81e2
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/500
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/500
dezren39https://github.com/dezren39
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.