Skip to content

feat(telemetry): aggregate project system telemetry - #40

Draft
John-Ryan21337 wants to merge 5 commits into
cafeai:mainfrom
John-Ryan21337:adoption/cafe-pr39-project-system-telemetry
Draft

feat(telemetry): aggregate project system telemetry#40
John-Ryan21337 wants to merge 5 commits into
cafeai:mainfrom
John-Ryan21337:adoption/cafe-pr39-project-system-telemetry

Conversation

@John-Ryan21337

Copy link
Copy Markdown

Summary

  • combine host and selected-project volume samples behind one server service
  • resolve the project root before this boundary; never accept a renderer path
  • key cache identity by project ID and authoritative workspace root
  • prevent a slow old-root read from overwriting a newer project generation
  • bound retained project results and sanitize dependency failures

Adoption order

Apply direct Cafe PRs #15, #37, #38, and #39 before this PR. This branch contains those exact heads plus one unique commit. The unique delta is two new server files.

This PR adds only server-side aggregation. It does not expose RPC, add a Web UI, or add temperature and GPU sensors.

Verification

  • unique delta: 2 files, +532 lines
  • focused aggregation tests: 9 passed
  • full typecheck: 9/9 packages
  • exact-file lint passed
  • exact-file format passed
  • git diff --check passed
  • stable patch ID matches audited source commit bd8b37b5

@John-Ryan21337

Copy link
Copy Markdown
Author

CI follow-up: the Windows Quality failure is isolated to apps/server/src/provider/Drivers/CodexHomeLayout.test.ts, while this PR's unique delta is only ProjectSystemTelemetry.ts and its test. Ubuntu and macOS Quality passed. I reran the exact failing test three consecutive times at head 5d90e30: 12/12 passed on every run. No product-code change is warranted for this unrelated Windows flake; please rerun the failed job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant