René's URL Explorer Experiment


Title: `GET /api/v2/logs/{runId}` can return an unfinished log right after a sync execute completes · Issue #8354 · simstudioai/sim · GitHub

Open Graph Title: `GET /api/v2/logs/{runId}` can return an unfinished log right after a sync execute completes · Issue #8354 · simstudioai/sim

X Title: `GET /api/v2/logs/{runId}` can return an unfinished log right after a sync execute completes · Issue #8354 · simstudioai/sim

Description: Self-hosted, image built 2026-09-23. I call POST /api/v2/workflows/{id}/execute synchronously, and as soon as it returns status: completed I fetch GET /api/v2/logs/{runId}. Two things show up: Straight after execute returns, the log stil...

Open Graph Description: Self-hosted, image built 2026-09-23. I call POST /api/v2/workflows/{id}/execute synchronously, and as soon as it returns status: completed I fetch GET /api/v2/logs/{runId}. Two things show up: Stra...

X Description: Self-hosted, image built 2026-09-23. I call POST /api/v2/workflows/{id}/execute synchronously, and as soon as it returns status: completed I fetch GET /api/v2/logs/{runId}. Two things show up: Stra...

Opengraph URL: https://github.com/simstudioai/sim/issues/8354

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`GET /api/v2/logs/{runId}` can return an unfinished log right after a sync execute completes","articleBody":"Self-hosted, image built 2026-09-23. I call `POST /api/v2/workflows/{id}/execute` synchronously, and as soon as it returns `status: completed` I fetch `GET /api/v2/logs/{runId}`.\n\nTwo things show up:\n\n1. Straight after execute returns, the log still says `status: running` with `endedAt: null`. It's final a couple of milliseconds later.\n2. After the status is `completed`, `cost.total` is set but `cost.items` is still `null`. This happened in 379 of 1,608 runs in one batch. The matching `usage_log` rows are written about 17ms after the log's `ended_at`.\n\nMy workaround is to poll until the status is terminal and `cost.items` isn't null. It would help if the log were complete before the sync execute returns, or if the docs said the log is eventually consistent and which field to wait on. Without that, telemetry built on the logs API quietly misses cost data.\n","author":{"url":"https://github.com/Rajkumar2002-Rk","@type":"Person","name":"Rajkumar2002-Rk"},"datePublished":"2026-09-27T03:26:48Z","url":"https://github.com/simstudioai/sim/issues/8354"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4928f9e5-b76f-7558-8563-e8d040ef9a25
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA3AC:AE1F3:8A3CD5:C242ED:6AFB6EE2
html-safe-nonce89a083648d6438318ab554b55379f59898277b44391ef8c92cd334001e70a475
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0FDOkFFMUYzOjhBM0NENTpDMjQyRUQ6NkFGQjZFRTIiLCJ2aXNpdG9yX2lkIjoiMjExMTY1OTE0Mjg5NTMzMzA5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac21de0fe358e659e25040d879282fc51083ea13192e4c5c0acb0aa96e73b2a7a7
hovercard-subject-tagissue:5599427522
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/simstudioai/sim/8354/issue_layout
twitter:imagehttps://opengraph.githubassets.com/91fb8541694f7ddd1305225b9c4382a8689cb05f75ce4f154838cb28220fabe5/simstudioai/sim/issues/8354
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/91fb8541694f7ddd1305225b9c4382a8689cb05f75ce4f154838cb28220fabe5/simstudioai/sim/issues/8354
og:image:altSelf-hosted, image built 2026-09-23. I call POST /api/v2/workflows/{id}/execute synchronously, and as soon as it returns status: completed I fetch GET /api/v2/logs/{runId}. Two things show up: Stra...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRajkumar2002-Rk
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/simstudioai/sim/issues/8354#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fissues%2F8354
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%2Fissues%2F8354
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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/issues/8354
Reloadhttps://github.com/simstudioai/sim/issues/8354
Reloadhttps://github.com/simstudioai/sim/issues/8354
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
https://github.com/simstudioai/sim
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/8354
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/8354
GET /api/v2/logs/{runId} can return an unfinished log right after a sync execute completeshttps://github.com/simstudioai/sim/issues/8354#top
https://github.com/Rajkumar2002-Rk
Rajkumar2002-Rkhttps://github.com/Rajkumar2002-Rk
on Sep 27, 2026https://github.com/simstudioai/sim/issues/8354#issue-5599427522
lakshya-dhariwalhttps://github.com/lakshya-dhariwal
on Sep 28, 2026https://github.com/simstudioai/sim/issues/8354#event-31974796182
fix(v2): await run log finalization before sync execute respondshttps://github.com/lakshya-dhariwal/sim/commit/5d98041bb4e73c5d1f28ae084851eea5731151b6
https://docs.github.com/articles/closing-issues-via-commit-messages
5d98041https://github.com/lakshya-dhariwal/sim/commit/5d98041bb4e73c5d1f28ae084851eea5731151b6
waleedlatif1https://github.com/waleedlatif1
completedhttps://github.com/simstudioai/sim/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 1, 2026https://github.com/simstudioai/sim/issues/8354#event-32278676641
Sign up for freehttps://github.com/signup?return_to=https://github.com/simstudioai/sim/issues/8354
Sign in to commenthttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/8354
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.