altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

A workspace's first prompt and first finished job aren't sent outside onboarding

Open ralphstodomingo opened this issue 3 weeks ago • 0 comments

Description

first_prompt_sent and first_job_completed are only sent from an onboarding session. first_job_completed also needs the finished job to be the one picked from the onboarding menu.

Someone who links a project to a workspace and starts working isn't in that flow, so neither row is sent. Telemetry can't show when a workspace first got a prompt or first finished a job.

Steps to reproduce

  1. Link a project to a workspace.
  2. Start a session in that project and send a prompt.
  3. Let a job finish.
  4. No first_prompt_sent or first_job_completed row is sent.

Expected

Each event is sent once per workspace per machine, with workspace_id: first_prompt_sent on the first prompt, and first_job_completed on the first completed job, of any session bound to that workspace. What has been sent is remembered in the CLI's own state, outside the project, so a later session doesn't send it again.

Onboarding sessions keep sending these events as they do today.

OpenCode version

0.12.9

Operating System

Any

ralphstodomingo avatar Nov 09 '26 09:11 ralphstodomingo