René's URL Explorer Experiment


Title: ci(dev): auto-deploy Trigger.dev tasks + fail dev db:push on TTY prompt by TheodoreSpeaks · Pull Request #5343 · simstudioai/sim · GitHub

Open Graph Title: ci(dev): auto-deploy Trigger.dev tasks + fail dev db:push on TTY prompt by TheodoreSpeaks · Pull Request #5343 · simstudioai/sim

X Title: ci(dev): auto-deploy Trigger.dev tasks + fail dev db:push on TTY prompt by TheodoreSpeaks · Pull Request #5343 · simstudioai/sim

Description: What Two dev-CI fixes: Automate the Trigger.dev task deploy that was being run by hand. Stop the dev db:push step from false-greening when drizzle-kit needs an interactive prompt. 1. Trigger.dev deploy job Replaces the manual command: TRIGGER_PROJECT_ID=… bunx trigger.dev@4.4.3 deploy --env preview --branch dev-sim New deploy-trigger-dev job: Trigger: push to dev only. Ordering: needs: [migrate-dev] — the deployed task code runs against the dev DB, so the schema push lands first (same rationale as build-dev). Remote build: no --local-build, so the runner needs no Docker/buildx — Trigger.dev builds server-side. Auth/config: TRIGGER_ACCESS_TOKEN and TRIGGER_PROJECT_ID from repo secrets, with a fail-fast guard so a missing secret exits with a clear message instead of a cryptic CLI error. 2. Dev db:push false-green fix (migrations.yml) drizzle-kit push needs a TTY to resolve ambiguous renames (--force only covers data-loss). In CI it throws Interactive prompts require a TTY terminal but still exits 0, so the job went green while silently skipping the schema change — e.g. run 28415609570, which threw that error and still passed. Fix: tee the output (kept live in the log) and fail on drizzle-kit's own dedicated TTY error. A genuine non-zero exit is still caught by set -e. Staging/prod are untouched — they use versioned migrate.ts. Required before the trigger job runs Set both repo secrets: gh secret set TRIGGER_ACCESS_TOKEN --repo simstudioai/sim # tr_pat_… PAT gh secret set TRIGGER_PROJECT_ID --repo simstudioai/sim # proj_… Notes No GRAFANA_OTLP_* vars are set in the trigger job, so telemetry stays inert and dev tasks deploy without exporting traces. (Separate, unresolved issue: prod Trigger.dev telemetry has been dark since ~06-30 — tracked outside this PR.) The inbox debounce / admin useCallback / teammates review comments are on already-merged commits (#5324, #5321) that only appear here because this PR brings dev up to date — out of scope. 🤖 Generated with Claude Code

Open Graph Description: What Two dev-CI fixes: Automate the Trigger.dev task deploy that was being run by hand. Stop the dev db:push step from false-greening when drizzle-kit needs an interactive prompt. 1. Trigger.dev ...

X Description: What Two dev-CI fixes: Automate the Trigger.dev task deploy that was being run by hand. Stop the dev db:push step from false-greening when drizzle-kit needs an interactive prompt. 1. Trigger.dev ...

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

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:45ef551b-6077-b97a-4a9d-7df1c3873c39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D98:1ACA1F:67718A:935C65:6AFB466E
html-safe-nonce3ac709da6fc5c89225c5cc07b5caf2fba1e6f60b3c54465a808883101726997e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDk4OjFBQ0ExRjo2NzcxOEE6OTM1QzY1OjZBRkI0NjZFIiwidmlzaXRvcl9pZCI6IjEyNzcxOTcxOTI1NjUzMTEwODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac574596421662f95bb5ce65f74e21d26b98b82a6e6c06ea734073e6bc76503188
hovercard-subject-tagpull_request:3974505566
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/5343/files
twitter:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
og:image:altWhat Two dev-CI fixes: Automate the Trigger.dev task deploy that was being run by hand. Stop the dev db:push step from false-greening when drizzle-kit needs an interactive prompt. 1. Trigger.dev ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5343/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5343%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%2F5343%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/5343/files
Reloadhttps://github.com/simstudioai/sim/pull/5343/files
Reloadhttps://github.com/simstudioai/sim/pull/5343/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
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/dev-ci-deploymenthttps://github.com/simstudioai/sim/tree/feat/dev-ci-deployment
Conversation 16 https://github.com/simstudioai/sim/pull/5343
Commits 8 https://github.com/simstudioai/sim/pull/5343/commits
Checks 17 https://github.com/simstudioai/sim/pull/5343/checks
Files changed https://github.com/simstudioai/sim/pull/5343/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
ci(dev): auto-deploy Trigger.dev tasks + fail dev db:push on TTY prompt https://github.com/simstudioai/sim/pull/5343/files#top
Show all changes 8 commits https://github.com/simstudioai/sim/pull/5343/files
5fc0086 ci(trigger): auto-deploy Trigger.dev tasks to dev-sim on dev pushes TheodoreSpeaks Jul 1, 2026 https://github.com/simstudioai/sim/pull/5343/commits/5fc0086f49e2f7a12f7fc5403f31c1f2b8d9f590
e6507f2 ci(trigger): source TRIGGER_PROJECT_ID from repo secret TheodoreSpeaks Jul 1, 2026 https://github.com/simstudioai/sim/pull/5343/commits/e6507f2912262786e79f9efffd6991d8f8be0fa2
d22b025 ci(trigger): fail fast when Trigger.dev secrets are unset TheodoreSpeaks Jul 1, 2026 https://github.com/simstudioai/sim/pull/5343/commits/d22b025a1270ad0c482e780f7f054c95d035d3af
cb2aa5e ci(migrations): fail dev db:push on interactive prompt or error TheodoreSpeaks Jul 1, 2026 https://github.com/simstudioai/sim/pull/5343/commits/cb2aa5e081b7f2d6db2ce2c2fbceb956166ee1b8
3b13560 ci(migrations): fail dev db:push when drizzle-kit hits a TTY prompt TheodoreSpeaks Jul 2, 2026 https://github.com/simstudioai/sim/pull/5343/commits/3b13560b59b291d4923b2328bf0cf045a9ae7861
bc3b5ad ci(trigger): scope the access token secret as DEV_TRIGGER_ACCESS_TOKEN TheodoreSpeaks Jul 2, 2026 https://github.com/simstudioai/sim/pull/5343/commits/bc3b5adf3b11d92f867a350af8257a3fdf95abfe
b0be41d Adjust warning error TheodoreSpeaks Jul 2, 2026 https://github.com/simstudioai/sim/pull/5343/commits/b0be41da3d39fe352fbbb55cb6c53ba1871242ca
c2652f6 ci: align build-dev checkout to v6 to match the other jobs TheodoreSpeaks Jul 2, 2026 https://github.com/simstudioai/sim/pull/5343/commits/c2652f657bba6ffb72ffedeeb1b22798000931e7
Clear filters https://github.com/simstudioai/sim/pull/5343/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
ci.yml https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
migrations.yml https://github.com/simstudioai/sim/pull/5343/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
.github/workflows/ci.ymlhttps://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/simstudioai/sim/blob/c2652f657bba6ffb72ffedeeb1b22798000931e7/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5343/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/files
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/simstudioai/sim/pull/5343/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.github/workflows/migrations.ymlhttps://github.com/simstudioai/sim/pull/5343/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
View file https://github.com/simstudioai/sim/blob/c2652f657bba6ffb72ffedeeb1b22798000931e7/.github/workflows/migrations.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5343/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5343/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
https://github.com/simstudioai/sim/pull/5343/files#diff-8e26a09e47acf0fe9e6adcfd8f42b4e7cf3c66011d46d32ba8fbbab397fd88d8
Please reload this pagehttps://github.com/simstudioai/sim/pull/5343/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.