chore: remove the deprecated @agent-relay/telemetry placeholder package#1181
Conversation
`packages/telemetry` was a private, deprecated placeholder (telemetry moved into the `agent-relay` CLI under `packages/cli/src/cli/telemetry`). Nothing depended on it or imported it, yet its `deprecated` package.json field made `npm ci` print a deprecation warning on every install. - Delete the `packages/telemetry` workspace and prune it from the lockfile. - Drop the dangling `build:telemetry` root script, the `telemetry` entry in package-validation `SKIP_PACKAGES`, the `knip.json` workspace entry, and the `vitest.config.ts` coverage exclude. - Repoint stale references to the current telemetry source: the broker `telemetry.rs` schema comment, the `publish.yml` posthog-config comment, and the web telemetry page's "inspect source" link now point at `packages/cli/src/cli/telemetry`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe ChangesTelemetry Package Removal Cleanup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Code Review
This pull request removes the deprecated @agent-relay/telemetry package and integrates telemetry internally within the CLI package, updating references, build scripts, and configurations across the repository. Feedback is provided regarding an extraneous dependency flag added to package-lock.json, which suggests regenerating the lockfile to ensure a clean state.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| }, | ||
| "node_modules/@clack/prompts/node_modules/is-unicode-supported": { | ||
| "version": "1.3.0", | ||
| "extraneous": true, |
There was a problem hiding this comment.
The 'extraneous': true property has been added to 'is-unicode-supported' in 'package-lock.json'. This usually indicates that the lockfile was generated while 'node_modules' was in an inconsistent or dirty state. To maintain lockfile hygiene and prevent potential installation issues in CI, please clean your local environment and regenerate the lockfile by running 'rm -rf node_modules package-lock.json && npm install'.
…ed-telemetry-package # Conflicts: # package-lock.json
|
Preview deployed!
This preview will be cleaned up when the PR is merged or closed. |
* ci(publish): drop the removed @agent-relay/telemetry package #1181 deleted the `packages/telemetry` placeholder, but the Publish Package workflow still listed `telemetry` in two publish matrices, so the spawned job failed at `cd packages/telemetry` ("No such file or directory"). Remove `telemetry` from the publish-all and publish-main-runtime-deps matrices. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * chore(trajectories): consolidate stray root .trajectories into canonical dir A trajectory (`traj_o61z0ze6kvla`, "Review and fix PR #1092") was written to a stray root `.trajectories/` instead of the canonical `.agentworkforce/relay` data dir the tool now defaults to, so it never showed up in `trail list`. Move it into `.agentworkforce/trajectories/completed/2026-06/` and drop the empty root `.trajectories/`. Default `trail list` now counts it (257 -> 258); `trail doctor` is clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
packages/telemetrywas a private, deprecated placeholder (itspackage.jsondescription: "Deprecated Agent Relay telemetry package placeholder"). Telemetry moved into the CLI atpackages/cli/src/cli/telemetry. Nothing depends on it (0 lockfile dependents, no source imports) and it's not in any build chain — but itsdeprecatedpackage.json field madenpm ciprint a deprecation warning on every install.Changes
packages/telemetryworkspace and prune its (extraneous) node frompackage-lock.json.build:telemetryroot script, thetelemetryentry in package-validationSKIP_PACKAGES, theknip.jsonworkspace entry, and thevitest.config.tscoverage exclude.packages/cli/src/cli/telemetry): the brokertelemetry.rsschema-mirror comment, thepublish.ymlposthog-config comment, and the web telemetry page's "inspect source" link.Validation
npm installno longer emits the@agent-relay/telemetrydeprecation warning; lockfile has zero references.package.json/knip.jsonparse; vitest config loads and a suite runs.