René's URL Explorer Experiment


Title: lab-ops-hub: the #500 crawl-timeout fix has no regression test — crawlFallback's fetcher is inline in the untestable Worker entry · Issue #524 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: the #500 crawl-timeout fix has no regression test — crawlFallback's fetcher is inline in the untestable Worker entry · Issue #524 · developing-today/code

X Title: lab-ops-hub: the #500 crawl-timeout fix has no regression test — crawlFallback's fetcher is inline in the untestable Worker entry · Issue #524 · developing-today/code

Description: Problem The #500 fix — a per-hop AbortSignal.timeout(20_000) on the Worker-fallback crawler — has no committed regression test. If the signal line is dropped, renamed, or the timeout raised, every test in the repo still passes. Evidence ...

Open Graph Description: Problem The #500 fix — a per-hop AbortSignal.timeout(20_000) on the Worker-fallback crawler — has no committed regression test. If the signal line is dropped, renamed, or the timeout raised, every ...

X Description: Problem The #500 fix — a per-hop AbortSignal.timeout(20_000) on the Worker-fallback crawler — has no committed regression test. If the signal line is dropped, renamed, or the timeout raised, every ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub: the #500 crawl-timeout fix has no regression test — crawlFallback's fetcher is inline in the untestable Worker entry","articleBody":"## Problem\n\nThe #500 fix — a per-hop `AbortSignal.timeout(20_000)` on the Worker-fallback crawler — has **no committed regression test**. If the signal line is dropped, renamed, or the timeout raised, every test in the repo still passes.\n\n## Evidence (verified this run, main `1d0de449`)\n\n- The timeout lives inline in the fetcher passed to `fetchFollowingValidatedRedirects` inside the **unexported** `crawlFallback` in `pkgs/lab-ops-hub/src/index.ts:170-176` (`signal: AbortSignal.timeout(20_000)` at :174).\n- `src/index.ts` is the Worker entry point (`wrangler.jsonc:4` `\"main\": \"src/index.ts\"`, imports Cloudflare bindings at module scope) and **no test imports it**.\n- The only TS suite, `test/lib.test.ts`, imports exclusively from `src/lib.ts` (`computeBudget`, `fetchFollowingValidatedRedirects`, `readResponseTextCapped`, `validateCrawlUrl`, …) — the pure-helper pattern the sibling crawl fixes (#460/#481) deliberately used precisely so the behaviour is testable with plain Node.\n- PR #501's verification was a manual behaviour probe only (stall aborts ~305 ms, slow-drip body read aborts ~301 ms at a 300 ms stand-in timeout) — sound, but nothing in `npm test` (TS 20/20 + Python 16/16, re-run green this run) pins it.\n\n## Why it matters\n\n#500 was a real hang: a validated public target that accepts the connection and stalls (or slow-drips a body under the 2 MB cap) hung the fallback crawl until platform limits killed it. The one line that prevents it is exactly the kind of line a future refactor of `crawlFallback` can silently lose — the fetcher is an anonymous inline arrow, so nothing about its shape signals \"this signal is load-bearing\".\n\n## Acceptance criteria\n\n- [ ] Extract a testable fetcher factory in `src/lib.ts` (e.g. `crawlFetcher(timeoutMs, fetchImpl?)` returning the `(u) => fetch(u, { redirect: \"manual\", headers, signal })` function), and have `crawlFallback` in `src/index.ts` use it — same 20 s default, same headers, same manual-redirect mode.\n- [ ] New tests in `test/lib.test.ts` pin: (a) every call receives an `AbortSignal`; (b) a fetch whose response stalls rejects when the signal fires (short stand-in timeout); (c) a slow-drip body read through the returned response rejects on abort.\n- [ ] Ablation: the new tests fail if the factory stops attaching the signal.\n- [ ] `npm test` in `pkgs/lab-ops-hub` stays green (TS + Python suites).\n\nSingle-repo: `lab-ops-hub` / `crawlFallback` exist only in this repo (grep-verified against the opencode, openchamber and nix clones). Filed by new-issue-creator from the pr-diff-review REVIEW-FINDING recorded against PR #501 on 2026-10-21.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T02:57:38Z","url":"https://github.com/developing-today/code/issues/524"}

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:d8331ec1-0aec-294f-f932-f10fa209b6e5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB1D2:33EB8:9AA0E8:C73311:6B0631C5
html-safe-nonce3cb146425e9a745938716e2b20b933b4df1ec26333566553919979f7061405cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUQyOjMzRUI4OjlBQTBFODpDNzMzMTE6NkIwNjMxQzUiLCJ2aXNpdG9yX2lkIjoiNzM1MTMzNjE0OTU2MDIwOTg2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacadc778dbfe192652af54492c8a10f3edfe76b78e8830765c4f1450ad6e2707fe
hovercard-subject-tagissue:5972209543
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/524/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e9cecd5930ac66784703bb73bc1bfb8c7fd7c710d2b3359837721552d05353c4/developing-today/code/issues/524
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e9cecd5930ac66784703bb73bc1bfb8c7fd7c710d2b3359837721552d05353c4/developing-today/code/issues/524
og:image:altProblem The #500 fix — a per-hop AbortSignal.timeout(20_000) on the Worker-fallback crawler — has no committed regression test. If the signal line is dropped, renamed, or the timeout raised, every ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
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
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/524#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F524
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%2F524
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/524
Reloadhttps://github.com/developing-today/code/issues/524
Reloadhttps://github.com/developing-today/code/issues/524
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 requests152 (152)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/524
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/524
#525https://github.com/developing-today/code/pull/525
lab-ops-hub: the #500 crawl-timeout fix has no regression test — crawlFallback's fetcher is inline in the untestable Worker entryhttps://github.com/developing-today/code/issues/524#top
#525https://github.com/developing-today/code/pull/525
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/524#issue-5972209543
#500https://github.com/developing-today/code/issues/500
lab-ops-hub: Worker-fallback crawler follows redirects to non-public targets (no redirect validation, unlike the container) #460https://github.com/developing-today/code/issues/460
lab-ops-hub: Worker fallback crawler buffers the whole response body — no 2 MB cap like the container #481https://github.com/developing-today/code/issues/481
fix(lab-ops-hub): fetch timeout for the Worker-fallback crawler (#500) #501https://github.com/developing-today/code/pull/501
#500https://github.com/developing-today/code/issues/500
#501https://github.com/developing-today/code/pull/501
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/524#event-33909531038
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#525https://github.com/developing-today/code/pull/525
on Oct 22, 2026https://github.com/developing-today/code/issues/524#event-33909926575
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/524
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/524
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.