chore(ci): add cross-repo CI trigger + update roadmap (5.18-5.23, 4.23)

- trigger-consumers.yml.disabled: dispatches common-platform-updated event
- Dashboard CI workflows now in LysnrAI repo (5.22)
- Service CI already in common-plat ci.yml.disabled (5.18-5.21 N/A)
- Roadmap updated: 251/278 items (~90%)
This commit is contained in:
saravanakumardb1 2026-02-14 14:25:43 -08:00
parent ac17e99aca
commit c5b7029348
2 changed files with 52 additions and 22 deletions

View File

@ -0,0 +1,33 @@
name: Trigger Consumer CI
# When common platform packages change, trigger downstream consumer test suites
on:
push:
branches: [main]
paths:
- "packages/**"
jobs:
trigger-lysnrai:
name: Trigger LysnrAI Dashboard CI
runs-on: ubuntu-latest
steps:
- name: Trigger LysnrAI workflows
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CROSS_REPO_PAT }}
repository: saravanakumardb1/learning_voice_ai_agent
event-type: common-platform-updated
client-payload: '{"ref": "${{ github.sha }}", "packages": "updated"}'
trigger-mindlyst:
name: Trigger MindLyst CI
runs-on: ubuntu-latest
steps:
- name: Trigger MindLyst workflows
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CROSS_REPO_PAT }}
repository: saravanakumardb1/learning_multimodal_memory_agents
event-type: common-platform-updated
client-payload: '{"ref": "${{ github.sha }}", "packages": "updated"}'

View File

@ -427,7 +427,7 @@ The following gaps were identified by scanning every import in the actual codeba
**Clean up old code:**
- [x] **4.22** Token source is now canonical in `bytelyst.tokens.json` — generated outputs replace manual values
- [ ] **4.23** Update MindLyst `CONTRIBUTING.md` with token update workflow (edit JSON → run generate → commit)
- [x] **4.23** Update MindLyst `CONTRIBUTING.md` with token update workflow (edit JSON → run generate → commit)
- [ ] **4.24** Verify visual consistency: spot-check colors in iOS preview, Android preview, and web dev server
**Commit:** `feat(design-tokens): extract @bytelyst/design-tokens with cross-platform generation`
@ -469,12 +469,9 @@ The following gaps were identified by scanning every import in the actual codeba
### Consumer CI Updates
- [ ] **5.18** Update `ci-platform-service.yml` — checkout common-plat repo + install deps before test
- [ ] **5.19** Update `ci-billing-service.yml`
- [ ] **5.20** Update `ci-growth-service.yml`
- [ ] **5.21** Update `ci-tracker-service.yml`
- [ ] **5.22** Update dashboard CI workflows (if they exist)
- [ ] **5.23** Add cross-repo CI trigger: changes to `learning_ai_common_plat` trigger consumer test suites
- [x] **5.185.21** Service CI lives in common-plat (already has `ci.yml.disabled` with matrix strategy) — N/A for cross-repo checkout
- [x] **5.22** Dashboard CI workflows created with cross-repo checkout: `ci-admin-dashboard.yml.disabled`, `ci-user-dashboard.yml.disabled`, `ci-tracker-dashboard.yml.disabled` updated
- [x] **5.23** Cross-repo CI trigger: `trigger-consumers.yml.disabled` dispatches `common-platform-updated` event to LysnrAI + MindLyst repos (requires `CROSS_REPO_PAT` secret)
**Commit:** `chore(ci): add common-plat CI and update consumer Docker builds`
@ -547,21 +544,21 @@ The following gaps were identified by scanning every import in the actual codeba
## Summary
| Phase | Packages | Tasks | Done | Status |
| --------- | ------------------------------------------------ | ------- | ------- | -------------------------------------------------------------- |
| **0** | Repo scaffolding + branching + rollback strategy | 14 | 14 | ✅ Complete |
| **1A** | `@bytelyst/errors` | 23 | 22 | ✅ Complete (Docker verify pending) |
| **1B** | `@bytelyst/cosmos` | 33 | 32 | ✅ Complete (Docker verify pending) |
| **2A** | `@bytelyst/config` (34 files to rewire) | 25 | 24 | ✅ Complete (Docker verify pending) |
| **2B** | `@bytelyst/auth` (20+ admin routes affected) | 29 | 29 | ✅ Complete (25 tests, tracker migrated) |
| **2C** | `@bytelyst/fastify-core` | 24 | 22 | ✅ Services refactored, health-check verified (Docker pending) |
| **3A** | `@bytelyst/api-client` | 17 | 17 | ✅ Complete |
| **3B** | `@bytelyst/react-auth` (24 consumer files) | 28 | 25 | ✅ Admin uses factory; user/tracker keep custom |
| **4** | `@bytelyst/design-tokens` (4 platforms) | 24 | 22 | ✅ CSS synced to MindLyst; visual verify pending |
| **5** | CI/CD + Docker (pre-copy strategy) | 23 | 15 | ⚠️ All Dockerfiles rewritten, build blocked by proxy |
| **6** | Verification + docs + cleanup | 28 | 21 | ✅ Docs updated, depcheck done, git clean; E2E needs services |
| **7** | Future enhancements (+testing pkg) | 10 | 1 | 🔲 @bytelyst/testing created (10 tests) |
| **Total** | **10 packages (+1 bonus: logger)** | **278** | **244** | **~88% complete** |
| Phase | Packages | Tasks | Done | Status |
| --------- | ------------------------------------------------ | ------- | ------- | --------------------------------------------------------------------------------- |
| **0** | Repo scaffolding + branching + rollback strategy | 14 | 14 | ✅ Complete |
| **1A** | `@bytelyst/errors` | 23 | 22 | ✅ Complete (Docker verify pending) |
| **1B** | `@bytelyst/cosmos` | 33 | 32 | ✅ Complete (Docker verify pending) |
| **2A** | `@bytelyst/config` (34 files to rewire) | 25 | 24 | ✅ Complete (Docker verify pending) |
| **2B** | `@bytelyst/auth` (20+ admin routes affected) | 29 | 29 | ✅ Complete (25 tests, tracker migrated) |
| **2C** | `@bytelyst/fastify-core` | 24 | 22 | ✅ Services refactored, health-check verified (Docker pending) |
| **3A** | `@bytelyst/api-client` | 17 | 17 | ✅ Complete |
| **3B** | `@bytelyst/react-auth` (24 consumer files) | 28 | 25 | ✅ Admin uses factory; user/tracker keep custom |
| **4** | `@bytelyst/design-tokens` (4 platforms) | 24 | 23 | ✅ CSS synced to MindLyst; CONTRIBUTING updated; visual verify pending |
| **5** | CI/CD + Docker (pre-copy strategy) | 23 | 21 | ⚠️ All Dockerfiles rewritten, CI workflows created; Docker build blocked by proxy |
| **6** | Verification + docs + cleanup | 28 | 21 | ✅ Docs updated, depcheck done, git clean; E2E needs services |
| **7** | Future enhancements (+testing pkg) | 10 | 1 | 🔲 @bytelyst/testing created (10 tests) |
| **Total** | **10 packages (+1 bonus: logger)** | **278** | **251** | **~90% complete** |
### Bonus Package (not in original roadmap)