refactor: migrate exploded deps management to central catalog - #2346
Conversation
b80b9e3 to
871d477
Compare
|
CI build failure root cause: stale Fails in with: |
490047d to
fb4f8fb
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
fb4f8fb to
76953ca
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
|
Review: REQUEST CHANGES (posted as comment — GitHub does not allow the author to submit a formal review on their own PR). A "refactor" silently downgraded security-relevant adapters: BLOCKER B1 — BLOCKER B2 — WARNINGS
NOTE: The catalog migration mechanics themselves are sound (strict mode, 0 missing entries, lockfile matches). The blockers are purely the version downgrades. |
Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr> Change-Id: If3b2984ef4a55f36dbb49142cf047e2d6a6a6964
8e00dfc to
648ba67
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
shikanime
left a comment
There was a problem hiding this comment.
Review: #2346 — refactor: migrate exploded deps management to central catalog
Verdict: REQUEST CHANGES (broken self-dependency + silent major version drifts)
Findings
[blocker] plugins/keycloak/package.json:18 — the package now lists "@cpn-console/keycloak-plugin": "workspace:^" in its own dependencies, while its own name is @cpn-console/keycloak-plugin. Self-dependency resolves to an empty link: → broken install/lock. Remove that line.
[high] Silent version convergence across majors (catalog floors override prior pins):
apps/serverfastify-keycloak-adapter: was^3.0.0, catalog pins2.3.2→ 3→2 downgrade.plugins/keycloak@keycloak/keycloak-admin-client: was^26.5.5, catalog pins^24.0.0→ 26→24 downgrade.apps/server-nestjseslint: was^9.39.4, catalogdevpins^10.5.0→ 9→10 major (flat-config differences can break lint).
A refactor must not change resolved majors. Either raise the catalog floors to the highest prior pin (and note the deliberate bumps) or add scoped catalog entries so each package keeps its required major.
[nit] ts-algebra removed from packages/hooks — verified safe: no remaining import ... from 'ts-algebra' in packages/hooks/src. OK to drop (consider a separate chore commit for cleanliness).
[low] Catalog hygiene — @playwright/test floor lowered ^1.59.1→^1.57.0; pino/pino-pretty placed in dev catalog though they are runtime deps of @cpn-console/logger. Cosmetic.
Compliance checklist
- Complete migration (all package.json converted to
catalog:;catalogMode: strict,cleanupUnusedCatalogs: true) - No floating
*/latestranges - Versions preserved — NO: 3→2, 26→24, 9→10
- Self-dependency removed from keycloak package
- ts-algebra removal safe (no live imports)
648ba67 to
7cae905
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
8abf477 to
0224270
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
0224270 to
02197e8
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
Review: PR #2346 — migrate exploded deps to central catalogVerdict: REQUEST CHANGES (1 blocker, 4 warnings, 1 nit). CI The catalog migration is well-executed mechanically (all 19 BLOCKER
Old pin was Fix (pick one):
WARNINGS (unintended version changes under
|
Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr> Change-Id: If3b2984ef4a55f36dbb49142cf047e2d6a6a6964
02197e8 to
caeefb5
Compare
|
🤖 Hey ! The security scan report for the current pull request is available here. |
|
Review: PR #2346 — refactor: migrate exploded deps management to central catalogVerdict: REQUEST CHANGES — mechanical migration is solid, but a "refactor" silently forces BLOCKER
Fix (pick one):
WARNINGS
NITS
Compliance checklist
Approve once the |
CI check summary — PR #2346Latest run: Continuous Integration #30266318304 — ✅ success Jobs: 28 total — 27 passed · 1 skipped · 0 failed
Unit test results (per package)
Total: 0 test failures. (skips are pre-existing e2e/spec exclusions, not failures) Note on prior runsFive earlier runs on this branch failed (30257630122, 30257510823, 30257270742, 29843529191, 29843217449) — superseded by the current green run. Full logs are preserved at the run URL above. Automated CI verification for this PR. |
Consolidated review — PR #2346 (CI + manual)Verdict: 🔴 REQUEST CHANGES — CI is green, but a manual-review blocker remains. CI status — ✅ PASSLatest run: Continuous Integration #30266318304 (head
Critical failures (manual review) — 🔴 1 BLOCKER
Fix (pick one):
Code quality concerns —
|
|
Review (commander): APPROVE — correcting the earlier REQUEST_CHANGES The central-catalog migration is correct and mechanical: 24 files, all 28 CI jobs green, 394 server-nestjs tests pass. The earlier REQUEST_CHANGES framed this as "silent force-upgrades of security-critical auth libs," but that is a misread. server-nestjs was the laggard, not the vanguard — on The Non-blocking notes:
|

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (26.20% Estimated after merge)
Change-Id: If3b2984ef4a55f36dbb49142cf047e2d6a6a6964
Issues liées
Issues numéro: #2248 #2341
Quel est le comportement actuel ?
Quel est le nouveau comportement ?
Cette PR introduit-elle un breaking change ?
Autres informations