René's URL Explorer Experiment


Title: feat(tinyfish): surface run profile diagnostics and a wall-clock cap by waleedlatif1 · Pull Request #7489 · simstudioai/sim · GitHub

Open Graph Title: feat(tinyfish): surface run profile diagnostics and a wall-clock cap by waleedlatif1 · Pull Request #7489 · simstudioai/sim

X Title: feat(tinyfish): surface run profile diagnostics and a wall-clock cap by waleedlatif1 · Pull Request #7489 · simstudioai/sim

Description: Summary Follow-up to #7483, from auditing our TinyFish tools against the published OpenAPI spec (agent.tinyfish.ai/v1/openapi/main) rather than the prose docs. Everything here is data the API already returns and we were discarding, plus one request field we never sent. profileHint is now surfaced on the sync run, Get Run, and List Runs. TinyFish attaches it to a failed run it believes a Browser Context Profile would fix, with reason: auth_wall | bot_challenge, a message, and a setup path. We were dropping it, so a run that died on a login wall looked like a generic AGENT_FAILURE with no hint that the feature added in #7483 is the fix. All three fields are required when the object is present, so a partial payload maps to null rather than a half-filled object workflows have to guard. profileAttached / profileId on run reads — there was no way to confirm a run actually started from the profile you selected. maxDurationSeconds (agent_config.max_duration_seconds) — a wall-clock cap. The step cap alone doesn't bound a run stalled on a slow page, and the agent product bills per step. domainCount and updatedAt on List Browser Profiles, and the default marker now reads is_default directly. The spec documents the list shape I had to guess at in #7483; set_as_default is the create-request field and never appears in the response, so the old read only worked via its fallback. domainCount is the quickest way to see a profile was created but never logged into. The failure-diagnosis skill now tells the model to read profileHint first and to reach for Max Duration when a run stops early. Deliberately not included: capture_config and the step screenshot/HTML endpoints (own PR), bulk run endpoints (workflows loop), run-sse (blocks don't stream), and the profile setup-session flow (needs a CDP driver, can't run in a block). Type of Change New feature Testing 7 new unit tests (62 in the TinyFish suite, all passing) covering the hint mapping, the partial-payload rejection, the attached-profile fields, the null case, the duration cap, and the extended profile list. Verified the partial-payload test fails when the guard is loosened. bun run type-check, bun run lint, all 45 audits, and docs-manifest:check pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) 🤖 Generated with Claude Code https://claude.ai/code/session_01Ej1gsFPVzN5xZZ3QzvK8bD

Open Graph Description: Summary Follow-up to #7483, from auditing our TinyFish tools against the published OpenAPI spec (agent.tinyfish.ai/v1/openapi/main) rather than the prose docs. Everything here is data the API alrea...

X Description: Summary Follow-up to #7483, from auditing our TinyFish tools against the published OpenAPI spec (agent.tinyfish.ai/v1/openapi/main) rather than the prose docs. Everything here is data the API alrea...

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

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:5778bc74-901b-f8b1-f6e8-57ce1ca8df04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD454:15DF38:90B178:C5B104:6AFB494B
html-safe-noncef8665cee93dcfb1a83f780c4045f7ff24ecda450939b0faa1deb697b2d9edc5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDU0OjE1REYzODo5MEIxNzg6QzVCMTA0OjZBRkI0OTRCIiwidmlzaXRvcl9pZCI6Ijc4NjUxOTQ1MjY5NzcwODg3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac02e0accf7df0729737de7e6158abd211a545d0def677afd16da9d6da5eb0a83d
hovercard-subject-tagpull_request:4446882432
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/7489/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 Follow-up to #7483, from auditing our TinyFish tools against the published OpenAPI spec (agent.tinyfish.ai/v1/openapi/main) rather than the prose docs. Everything here is data the API alrea...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
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
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7489/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7489%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%2F7489%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/7489/files
Reloadhttps://github.com/simstudioai/sim/pull/7489/files
Reloadhttps://github.com/simstudioai/sim/pull/7489/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
feat/tinyfish-run-diagnosticshttps://github.com/simstudioai/sim/tree/feat/tinyfish-run-diagnostics
Conversation 23 https://github.com/simstudioai/sim/pull/7489
Commits 4 https://github.com/simstudioai/sim/pull/7489/commits
Checks 31 https://github.com/simstudioai/sim/pull/7489/checks
Files changed https://github.com/simstudioai/sim/pull/7489/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
feat(tinyfish): surface run profile diagnostics and a wall-clock cap https://github.com/simstudioai/sim/pull/7489/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/7489/files
01c3cc6 feat(tinyfish): surface run profile diagnostics and a wall-clock cap waleedlatif1 Sep 4, 2026 https://github.com/simstudioai/sim/pull/7489/commits/01c3cc6b5a8266b97548cd4312f997e733d4745f
2894d57 fix(tinyfish): reject a malformed numeric cap instead of dropping it waleedlatif1 Sep 4, 2026 https://github.com/simstudioai/sim/pull/7489/commits/2894d57f0ae029f3c79f2d5bc60ef83c1f0ecd08
287fc7c docs(tinyfish): document the null case on the profile metadata fields waleedlatif1 Sep 4, 2026 https://github.com/simstudioai/sim/pull/7489/commits/287fc7cc5430a6a508b5a96331b3c9bed8d0d5f5
3479aee docs(tinyfish): describe a null profileId as unknown, not as proof waleedlatif1 Sep 4, 2026 https://github.com/simstudioai/sim/pull/7489/commits/3479aee4c6ca2fa3a06a66a247f52de90a151c8a
Clear filters https://github.com/simstudioai/sim/pull/7489/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
tinyfish.mdx https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
tinyfish.ts https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
tool-metadata.ts https://github.com/simstudioai/sim/pull/7489/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
tool-outputs.ts https://github.com/simstudioai/sim/pull/7489/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
list_profiles.ts https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
run.ts https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
tinyfish.test.ts https://github.com/simstudioai/sim/pull/7489/files#diff-f0519c2fee808b06f4d5cc46c6b83d555c476fc01bf3510596258740fe46194c
types.ts https://github.com/simstudioai/sim/pull/7489/files#diff-4bd4b201e17f347dfee400caea2e3b59cf468a55a3752f82efa969fa4f129291
utils.ts https://github.com/simstudioai/sim/pull/7489/files#diff-33c9d73978ee991e81cd815dbbd0d736136b00f2f88926fc4b6fafa6710c2979
apps/docs/content/docs/integrations/tinyfish.mdxhttps://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/docs/content/docs/integrations/tinyfish.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7489/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
https://github.com/simstudioai/sim/pull/7489/files#diff-dbf8904f0c6078cd0044d165850b28458e0d21133f3883c96d1085558965354f
apps/sim/blocks/blocks/tinyfish.tshttps://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/sim/blocks/blocks/tinyfish.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7489/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
https://github.com/simstudioai/sim/pull/7489/files#diff-85e2d34578daae8dcab161160692be315be74d701ab1ad72c5b333d75d385b60
apps/sim/tools/generated/tool-metadata.tshttps://github.com/simstudioai/sim/pull/7489/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/sim/tools/generated/tool-metadata.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
apps/sim/tools/generated/tool-outputs.tshttps://github.com/simstudioai/sim/pull/7489/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/sim/tools/generated/tool-outputs.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
apps/sim/tools/tinyfish/list_profiles.tshttps://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/sim/tools/tinyfish/list_profiles.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7489/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
https://github.com/simstudioai/sim/pull/7489/files#diff-3be0b58107e82be5bd61b0e8ca8fd40d272e98304d85f8e3cf1b40ba2842f00c
apps/sim/tools/tinyfish/run.tshttps://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
View file https://github.com/simstudioai/sim/blob/3479aee4c6ca2fa3a06a66a247f52de90a151c8a/apps/sim/tools/tinyfish/run.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7489/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
https://github.com/simstudioai/sim/pull/7489/files#diff-c5c2226e955692a9eef6cddda615daac16f795df49e44a1e20dca4aa2118564e
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7489/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.