René's URL Explorer Experiment


Title: fix(release): cap proxied plain-http responses, count Firecrawl depth from the start URL, and drop stale route cache on upgrade by waleedlatif1 · Pull Request #9860 · simstudioai/sim · GitHub

Open Graph Title: fix(release): cap proxied plain-http responses, count Firecrawl depth from the start URL, and drop stale route cache on upgrade by waleedlatif1 · Pull Request #9860 · simstudioai/sim

X Title: fix(release): cap proxied plain-http responses, count Firecrawl depth from the start URL, and drop stale route cache on upgrade by waleedlatif1 · Pull Request #9860 · simstudioai/sim

Description: Summary Cap guarded responses at maxResponseSize for every dispatcher, not only decoded bodies. undici's ProxyAgent forwards plain-http requests through a client that drops the option, so with HTTP_PROXY set an http:// destination could stream an unbounded body (MCP OAuth fetches, configured endpoints). Count Firecrawl's legacy maxDepth from the starting URL, as v1 did (index files add no depth). Counting from the domain root made the start URL fail its own path filter, so a crawl starting on a deep page returned 0 pages. Clear Next's route cache at container start when an earlier build wrote it. Its keys carry no build id and the image declares it a volume, so a Compose upgrade kept serving ISR pages that point at the old build's chunks. CONTRIBUTING points at npx sim-setup instead of the retired simstudio CLI. Type of Change Bug fix Testing New tests fail before each fix: forwarded plain-http response over the cap (environment proxy fixture), deep start URLs with and without path filters, route-cache clearing across builds. Mutation of the build-id check goes red. Bundled bootstrap.ts with the Dockerfile's bun build command and ran it against a fake standalone dir: old page cleared, build marker written, server started. Targeted vitest: firecrawl, route-cache, core/network, input-validation, mistral (206 tests); biome; check:comment-hygiene, check:file-names, check:boundaries, check:utils; regenerated tool metadata and integration docs. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Cap guarded responses at maxResponseSize for every dispatcher, not only decoded bodies. undici's ProxyAgent forwards plain-http requests through a client that drops the option, so with...

X Description: Summary Cap guarded responses at maxResponseSize for every dispatcher, not only decoded bodies. undici's ProxyAgent forwards plain-http requests through a client that drops the option, so ...

Opengraph URL: https://github.com/simstudioai/sim/pull/9860

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b516460a-1845-d206-43af-b8273c7fea5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC2F4:18732E:FBE97F:158E571:6AFB640D
html-safe-nonce4c426529f1b189c1d274089e63e77f23a54f55efd0ab60022b0d2b53860a7093
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkY0OjE4NzMyRTpGQkU5N0Y6MTU4RTU3MTo2QUZCNjQwRCIsInZpc2l0b3JfaWQiOiIxMDQ2MTE3MTcxNjcyNjA1NzA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc5ef00e1dd3135dfa6fd6b1af58a65b9f550086c3812338888071946222135ee
hovercard-subject-tagpull_request:5250657469
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/simstudioai/sim/pull/9860/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Cap guarded responses at maxResponseSize for every dispatcher, not only decoded bodies. undici's ProxyAgent forwards plain-http requests through a client that drops the option, so with...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9860/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9860%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%2Fsimstudioai%2Fsim%2Fpull%2F9860%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9860/files
Reloadhttps://github.com/simstudioai/sim/pull/9860/files
Reloadhttps://github.com/simstudioai/sim/pull/9860/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/release-audit-followupshttps://github.com/simstudioai/sim/tree/fix/release-audit-followups
Conversation 13 https://github.com/simstudioai/sim/pull/9860
Commits 2 https://github.com/simstudioai/sim/pull/9860/commits
Checks 84 https://github.com/simstudioai/sim/pull/9860/checks
Files changed https://github.com/simstudioai/sim/pull/9860/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/files
fix(release): cap proxied plain-http responses, count Firecrawl depth from the start URL, and drop stale route cache on upgrade https://github.com/simstudioai/sim/pull/9860/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/9860/files
4ae6aca fix(release): cap proxied plain-http responses, count Firecrawl depth… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9860/commits/4ae6acaa1456d9eb1ad1ede88dfd11e300fa985d
782cd4b fix(firecrawl): read a scheme-less start URL as https when counting d… waleedlatif1 Nov 10, 2026 https://github.com/simstudioai/sim/pull/9860/commits/782cd4b72d7eee4eecd7df0960c3cb468d10488a
Clear filters https://github.com/simstudioai/sim/pull/9860/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/files
CONTRIBUTING.md https://github.com/simstudioai/sim/pull/9860/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
firecrawl.mdx https://github.com/simstudioai/sim/pull/9860/files#diff-5ad25c8e1fe7c0dbbab23207bf0fbb1c0ee747037664bf2bab4126d73022e12f
bootstrap.ts https://github.com/simstudioai/sim/pull/9860/files#diff-7679fa6a6471d924376c66544f2ccb87e04914b5a4c209daa0d57ce5a748b102
environment-proxy.server.test.ts https://github.com/simstudioai/sim/pull/9860/files#diff-661bfa2a279b4862af9d0d7e7012304101671cab2dcab62c87ada09d0ae9fe4a
input-validation.server.ts https://github.com/simstudioai/sim/pull/9860/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798
route-cache.test.ts https://github.com/simstudioai/sim/pull/9860/files#diff-9b724cd06605c981d34300f94b4244a322702bd5aa4957457b77e63015749d2d
route-cache.ts https://github.com/simstudioai/sim/pull/9860/files#diff-de22bbe3f3c013d1245e33b323363220914cfa7b1221750d3dbb357d5dff4837
crawl.test.ts https://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
crawl.ts https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
tool-metadata.ts https://github.com/simstudioai/sim/pull/9860/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
.github/CONTRIBUTING.mdhttps://github.com/simstudioai/sim/pull/9860/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/.github/CONTRIBUTING.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/files
https://github.com/simstudioai/sim/pull/9860/files#diff-98e64bc1cd2db9333c6effe87bbe0d6dfe8714aba4c6bde45aa037fe0796e44c
apps/docs/content/docs/integrations/firecrawl.mdxhttps://github.com/simstudioai/sim/pull/9860/files#diff-5ad25c8e1fe7c0dbbab23207bf0fbb1c0ee747037664bf2bab4126d73022e12f
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/docs/content/docs/integrations/firecrawl.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-5ad25c8e1fe7c0dbbab23207bf0fbb1c0ee747037664bf2bab4126d73022e12f
https://github.com/simstudioai/sim/pull/9860/files#diff-5ad25c8e1fe7c0dbbab23207bf0fbb1c0ee747037664bf2bab4126d73022e12f
apps/sim/bootstrap.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-7679fa6a6471d924376c66544f2ccb87e04914b5a4c209daa0d57ce5a748b102
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/bootstrap.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-7679fa6a6471d924376c66544f2ccb87e04914b5a4c209daa0d57ce5a748b102
apps/sim/lib/core/network/environment-proxy.server.test.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-661bfa2a279b4862af9d0d7e7012304101671cab2dcab62c87ada09d0ae9fe4a
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/lib/core/network/environment-proxy.server.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-661bfa2a279b4862af9d0d7e7012304101671cab2dcab62c87ada09d0ae9fe4a
https://github.com/simstudioai/sim/pull/9860/files#diff-661bfa2a279b4862af9d0d7e7012304101671cab2dcab62c87ada09d0ae9fe4a
apps/sim/lib/core/security/input-validation.server.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/lib/core/security/input-validation.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798
https://github.com/simstudioai/sim/pull/9860/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798
https://github.com/simstudioai/sim/pull/9860/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798
apps/sim/lib/core/utils/route-cache.test.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-9b724cd06605c981d34300f94b4244a322702bd5aa4957457b77e63015749d2d
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/lib/core/utils/route-cache.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
apps/sim/lib/core/utils/route-cache.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-de22bbe3f3c013d1245e33b323363220914cfa7b1221750d3dbb357d5dff4837
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/lib/core/utils/route-cache.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
apps/sim/tools/firecrawl/crawl.test.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/tools/firecrawl/crawl.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
https://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
https://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
https://github.com/simstudioai/sim/pull/9860/files#diff-2122cb9900cc8163b71e5da75a52147200257de2bdcab4faa9c9b6ca4da10894
apps/sim/tools/firecrawl/crawl.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/tools/firecrawl/crawl.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9860/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
https://github.com/simstudioai/sim/pull/9860/files#diff-f6704eb6f5f52a0ffa9913481e6306e46c5cd704ce510ba6eacca2425e9af65e
apps/sim/tools/generated/tool-metadata.tshttps://github.com/simstudioai/sim/pull/9860/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
View file https://github.com/simstudioai/sim/blob/782cd4b72d7eee4eecd7df0960c3cb468d10488a/apps/sim/tools/generated/tool-metadata.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9860/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.