feat(webapp,cli,database): track real dev onboarding progress - #4563
Conversation
🦋 Changeset detectedLatest commit: c14bfa7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 27 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThe change adds project initialization tracking with a nullable database timestamp and an authenticated initialization API. The CLI marks projects initialized after scaffolding and updates generated SDK imports. The web application loads initialization state, receives initialization events through SSE, and shows progress based on project and development-server state. The onboarding UI also adds a copyable AI-agent setup prompt. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Observability mapAs of 18/100 over 414 measured of 430 entry points (base 18, no change) What this PR changed
FIX FIRST
AUDIT 3 of 50 sensitive mutations record an actor. 47 without one. What the score is made ofThe score and findings here are report-only and never gate the merge. Separately, a required test suite keeps this tool's symbol and route lists in sync with the code they name, and can fail a pull request that renames or removes a symbol they reference, or that adds the first route with a segment they anticipate. Each failure names the list to edit. The rules and their reasons: internal-packages/observability-map/README.md. |
288b49e to
4f20fcc
Compare
@trigger.dev/build
trigger.dev
@trigger.dev/core
@trigger.dev/python
@trigger.dev/react-hooks
@trigger.dev/redis-worker
@trigger.dev/rsc
@trigger.dev/schema-to-json
@trigger.dev/sdk
commit: |
4f20fcc to
ae9200e
Compare
The dev environment "Get set up" panel now reflects actual progress instead of static instructions. Running trigger init records the project as initialized (via a new project-scoped endpoint the CLI calls), so step 1 ticks off, and the panel updates live as the dev server connects and tasks register. Adds a "Copy AI agent prompt" button that copies a ready-to-paste setup prompt pre-filled with the project reference, and updates the init scaffold to import from @trigger.dev/sdk instead of the deprecated /v3 subpath.
ae9200e to
c14bfa7
Compare
Summary
The dev environment "Get set up" panel used to be a static list of CLI commands that only disappeared once your tasks registered, so nothing ever changed after you ran
initand people assumed it was stuck. It now tracks real progress:trigger initrecords the project as initialized, so step 1 checks off, and the panel updates live as the dev server connects and your tasks register.It also adds a prominent "Copy AI agent prompt" button, presented as a clear alternative ("or") to the manual CLI steps, that copies a ready-to-paste setup prompt pre-filled with your project reference for Claude Code, Cursor, or any coding agent.
Notes
Project.initializedAtcolumn (migration20260811065646_add_project_initialized_at); the CLIinitcommand calls a new project-scopedPOST /api/v1/projects/:ref/initbest-effort at the end of setup.initscaffold now imports from@trigger.dev/sdkinstead of the deprecated/v3subpath.Screenshots