Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
503dbf61 chore(misc): richer telemetry for init and connect commands
`nx init` error telemetry is largely opaque: ~22% of starts land in a
bare `Command failed: npm install` bucket, and ~5% record an empty
`errorMessage`. We can't tell what's actually going wrong. `nx connect`
has no start/error events at all — failures (missing remote, auth,
network) go untracked.
Telemetry-only change. Child-process calls in init pipe stderr so the
captured output reaches the error payload; error events now include
`errorName` (from Node `e.code` or an extracted `E…`/`ERR_…` token
like `E404`, `ERESOLVE`, `EINTEGRITY`, `ERR_PNPM_*`) and the same env
context (`nodeVersion`, `os`, `packageManager`, `isCI`, `aiAgent`) as
start events. `toErrorString` fixes the empty-message bucket. `nx
connect` gains proper start/complete/error events.
No behavioral fixes — once the enriched data comes in we'll prioritize
real fixes by actual failure distribution.
Fixes NXC-4262 bda86606 chore(misc): richer telemetry for init and connect commands
## Current Behavior
`nx init` error telemetry is largely opaque: ~22% of starts land in a
bare `Command failed: npm install` bucket, and ~5% record an empty
`errorMessage`. We can't tell what's actually going wrong. `nx connect`
has no start/error events at all — failures (missing remote, auth,
network) go untracked.
## Expected Behavior
Telemetry-only change. Child-process calls in init pipe stderr so the
captured output reaches the error payload; error events now include
`errorName` (from Node `e.code` or an extracted `E…`/`ERR_…` token
like `E404`, `ERESOLVE`, `EINTEGRITY`, `ERR_PNPM_*`) and the same env
context (`nodeVersion`, `os`, `packageManager`, `isCI`, `aiAgent`) as
start events. `toErrorString` fixes the empty-message bucket. `nx
connect` gains proper start/complete/error events.
No behavioral fixes — once the enriched data comes in we'll prioritize
real fixes by actual failure distribution.
## Related Issue(s)
Fixes NXC-4262 d9f818f6 chore(misc): richer telemetry for init and connect commands
## Current Behavior
`nx init` error telemetry is largely opaque: ~22% of starts land in a
bare `Command failed: npm install` bucket, and ~5% record an empty
`errorMessage`. We can't tell what's actually going wrong. `nx connect`
has no start/error events at all — failures (missing remote, auth,
network) go untracked.
## Expected Behavior
Telemetry-only change. Child-process calls in init pipe stderr so the
captured output reaches the error payload; error events now include
`errorName` (from Node `e.code` or an extracted `E…`/`ERR_…` token
like `E404`, `ERESOLVE`, `EINTEGRITY`, `ERR_PNPM_*`) and the same env
context (`nodeVersion`, `os`, `packageManager`, `isCI`, `aiAgent`) as
start events. `toErrorString` fixes the empty-message bucket. `nx
connect` gains proper start/complete/error events.
No behavioral fixes — once the enriched data comes in we'll prioritize
real fixes by actual failure distribution.
## Related Issue(s)
Fixes NXC-4262