learning_ai_common_plat/services/platform-service/src/modules
Saravana Achu Mac 663dcdecab chore(platform): replace runtime console diagnostics
What changed:
- Replaced platform-service runtime console diagnostics with structured stderr logging helpers.
- Preserved push notification, AI diagnostics, auto-trigger, and diagnostics repository error handling semantics.

Warning impact:
- Platform runtime no-console warnings: 12 -> 0.
- Workspace lint: 12 -> 0 warnings.

Verification:
- pnpm --filter @lysnrai/platform-service build
- pnpm --filter @lysnrai/platform-service test
- pnpm --filter @lysnrai/platform-service exec eslint <runtime files> --ext .ts
- pnpm lint
2026-05-04 16:48:25 -07:00
..
ab-testing fix(lint): repair pre-existing baseline lint errors blocking W1 gates 2026-04-16 13:06:37 -07:00
agent-evals feat(platform+admin-web): implement 4 missing backend endpoints + re-enable frontend 2026-03-21 23:11:38 -07:00
agent-runtime fix(runtime): add queued agent run state 2026-04-04 11:11:45 -07:00
agents feat(platform): Phase 2 — Agent Runtime Orchestration 2026-03-20 03:20:31 -07:00
ai-budgets fix(ai-budgets): tighten rollover period filter to exclude stale entries 2026-03-20 06:24:13 -07:00
ai-diagnostics chore(platform): replace runtime console diagnostics 2026-05-04 16:48:25 -07:00
analytics feat(analytics): deepen analytics rollups — aggregation, summary dashboard, top metrics 2026-03-20 00:30:07 -07:00
api-versioning feat(api-versioning): add API versioning — lifecycle, pins, deprecation 2026-03-19 23:50:23 -07:00
audit fix(audit): preserve source event timestamps 2026-04-04 11:27:21 -07:00
auth fix(auth): register magic_link event type + use admin productId for enterprise IdP 2026-03-12 15:55:09 -07:00
backups feat(backups): add backup/restore module — on-demand + config 2026-03-19 23:50:09 -07:00
billing-checkout feat(platform-service): pre-built Stripe checkout flow (Phase 4.4) — 6 tests 2026-03-19 22:10:32 -07:00
blob Add prototype storage diagnostics and smoke test 2026-03-14 06:06:35 +00:00
broadcasts fix(lint): repair pre-existing baseline lint errors blocking W1 gates 2026-04-16 13:06:37 -07:00
cdn feat(cdn): add CDN asset pipeline module — upload, purge, origin config 2026-03-19 23:47:59 -07:00
changelog fix(platform): replace Math.random() IDs with crypto.randomUUID() in 5 P2 modules 2026-03-01 17:42:28 -08:00
comments feat(platform-service): migrate 6 repositories to @bytelyst/datastore (flags, settings, comments, votes, products, themes) — 756/756 tests pass 2026-03-02 00:51:03 -08:00
delivery chore(deploy): remove railway deployment artifacts 2026-04-03 17:05:15 -07:00
diagnostics chore(platform): replace runtime console diagnostics 2026-05-04 16:48:25 -07:00
dunning feat(dunning): add billing dunning module — campaigns, policies, retries 2026-03-19 23:49:25 -07:00
event-subscriptions feat(platform): Phase 1 — Durable Event Bus + Worker Runtime 2026-03-20 03:12:54 -07:00
experiments fix(platform): replace Math.random() IDs with crypto.randomUUID() in 5 P2 modules 2026-03-01 17:42:28 -08:00
exports fix(exports): preserve processing state on async export failures 2026-03-22 11:58:54 -07:00
feedback fix(feedback): address 6 bugs/gaps from systematic review 2026-03-03 07:03:27 -08:00
flags chore(nomgap): finalize product deployment config 2026-05-04 16:29:20 -07:00
i18n feat(platform): add i18n translations module (P3.20) 2026-03-27 11:32:39 -07:00
impersonation test(platform): add 4 impersonation business rule tests (6→10) 2026-03-27 13:22:12 -07:00
invitations refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
ip-rules feat(ratelimit): back api throttles with datastore 2026-03-15 09:37:03 +00:00
items refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
jobs feat(jobs): register devintelli-daily-sync cron job (0 6 * * *) 2026-04-04 23:37:25 -07:00
knowledge fix(knowledge): align searchChunks scoring with routes, add 5 new tests 2026-03-20 01:04:32 -07:00
licenses refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
maintenance feat(ratelimit): back api throttles with datastore 2026-03-15 09:37:03 +00:00
marketplace fix(marketplace): prevent duplicate votes with vote tracking collection 2026-03-02 10:12:33 -08:00
notifications refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
onboarding feat(platform-service): shared onboarding analytics module (Phase 4.3) — 8 tests 2026-03-19 22:07:03 -07:00
orgs feat(orgs): deepen Org/Workspace RBAC — role hierarchy, permissions, delete endpoints 2026-03-20 00:36:02 -07:00
plans feat(platform-service): migrate 7 more repositories to @bytelyst/datastore (exports, plans, status, sessions, referrals, ip-rules, delivery) — 753/753 tests pass 2026-03-02 00:54:55 -08:00
predictive-analytics chore(platform): type predictive campaign events 2026-05-04 15:58:44 -07:00
products feat(platform-service): migrate 6 repositories to @bytelyst/datastore (flags, settings, comments, votes, products, themes) — 756/756 tests pass 2026-03-02 00:51:03 -08:00
promos test(platform-service): add promos route-level tests 2026-02-16 12:46:40 -08:00
public test(platform-service): add route tests for settings, votes, and public modules 2026-02-16 12:33:17 -08:00
ratelimit docs(config): align rate limit settings 2026-03-15 09:42:42 +00:00
referrals fix(lint): repair pre-existing baseline lint errors blocking W1 gates 2026-04-16 13:06:37 -07:00
retention feat(retention): add data retention policies — policy CRUD, enforce, jobs 2026-03-19 23:49:56 -07:00
reviews feat(platform+admin-web): implement 4 missing backend endpoints + re-enable frontend 2026-03-21 23:11:38 -07:00
runs feat(platform): Phase 2 — Agent Runtime Orchestration 2026-03-20 03:20:31 -07:00
scim test(scim): add 7 tests for stats, pause, resume, delete endpoints 2026-03-20 01:06:07 -07:00
search feat(search): add full-text search module — index, query, suggestions 2026-03-19 23:49:02 -07:00
sessions feat(platform-service): migrate 7 more repositories to @bytelyst/datastore (exports, plans, status, sessions, referrals, ip-rules, delivery) — 753/753 tests pass 2026-03-02 00:54:55 -08:00
settings feat(platform-service): migrate 6 repositories to @bytelyst/datastore (flags, settings, comments, votes, products, themes) — 756/756 tests pass 2026-03-02 00:51:03 -08:00
status Add Mailpit-backed prototype email sandbox 2026-03-14 06:16:28 +00:00
stripe fix(stripe): remove dead syncUserPlan call to deleted backend /api/users/:userId/plan route 2026-02-15 15:40:42 -08:00
subscriptions refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
support-cases fix(support-cases): prevent auto-triage from regressing case status 2026-03-20 06:25:43 -07:00
surveys fix(lint): repair pre-existing baseline lint errors blocking W1 gates 2026-04-16 13:06:37 -07:00
telemetry feat(platform-service): resolve P2 TODOs — exports, broadcasts, telemetry, waitlist 2026-03-22 00:41:11 -07:00
tenants feat(tenants): add multi-tenant module — tenant CRUD, members, invites 2026-03-19 23:49:41 -07:00
themes feat(platform-service): migrate 6 repositories to @bytelyst/datastore (flags, settings, comments, votes, products, themes) — 756/756 tests pass 2026-03-02 00:51:03 -08:00
timeline feat(timeline): add platform timeline ingest and query api 2026-04-04 00:54:07 -07:00
tokens fix(tokens): tighten machine credential issuance 2026-03-15 06:28:50 +00:00
usage refactor(platform-service): migrate remaining 14 repositories to @bytelyst/datastore 2026-03-02 01:06:24 -08:00
votes feat(platform-service): migrate 6 repositories to @bytelyst/datastore (flags, settings, comments, votes, products, themes) — 756/756 tests pass 2026-03-02 00:51:03 -08:00
waitlist fix(platform-service): 5 bugs in recent P2/P3 implementations 2026-03-22 01:14:55 -07:00
webhooks feat(flags): production-grade feature flag system — multi-variate, segments, audit, SSE, scheduling, prerequisites 2026-03-21 11:44:49 -07:00