Epic: building the admin console needs only Node.js, with no Java runtime #202

Open
opened 2026-10-31 12:42:25 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-20
  • Priority: medium (removes a heavy build prerequisite from CI, the AUR -git packages and contributors)
  • Agent: none (epic)
  • Depends on: none
  • Decisions: none

Why

generate:api still runs the Java openapi-generator-cli (src/angular/package.json:16, :46; src/angular/openapitools.json). The CI node image installs default-jre-headless (docker/ci.Dockerfile:10-11, :60).

Already settled:

  • The owner chose ng-openapi-gen 1.1.0 with the tag rename on 2026-10-29.
  • NJ-1 measured about 187 errors in 64 files, so the migration runs side by side.
  • NJ-2 (OpenAPI normalization) shipped before the release (577c21e, 4cd6fe6).

What changes

Children, in strict order:

  • #203 (NJ-3: switch the generator, freeze the legacy client).
  • #204 (NJ-4: toolchain and docs).
  • #205 to #211 (NJ-5 to NJ-11: one feature area each). Run them back to back: an API change in that window needs both clients.
  • #212 (NJ-12: delete the legacy client and prove it).

Acceptance

  • All children closed. grep -rn "api-client-legacy\|openapi-generator\|openapitools" --exclude-dir=node_modules . finds nothing.

Source

nj-design.md sections 3 to 5, "Owner decision after NJ-1 (2026-10-29)", OD-NJ-d.

- **Draft:** BUG-20 - **Priority:** medium (removes a heavy build prerequisite from CI, the AUR -git packages and contributors) - **Agent:** none (epic) - **Depends on:** none - **Decisions:** none ### Why `generate:api` still runs the Java `openapi-generator-cli` (`src/angular/package.json:16`, `:46`; `src/angular/openapitools.json`). The CI node image installs `default-jre-headless` (`docker/ci.Dockerfile:10-11`, `:60`). Already settled: - The owner chose ng-openapi-gen 1.1.0 with the tag rename on 2026-10-29. - NJ-1 measured about 187 errors in 64 files, so the migration runs side by side. - NJ-2 (OpenAPI normalization) shipped before the release (`577c21e`, `4cd6fe6`). ### What changes Children, in strict order: - #203 (NJ-3: switch the generator, freeze the legacy client). - #204 (NJ-4: toolchain and docs). - #205 to #211 (NJ-5 to NJ-11: one feature area each). Run them back to back: an API change in that window needs both clients. - #212 (NJ-12: delete the legacy client and prove it). ### Acceptance - [ ] All children closed. `grep -rn "api-client-legacy\|openapi-generator\|openapitools" --exclude-dir=node_modules .` finds nothing. ### Source `nj-design.md` sections 3 to 5, "Owner decision after NJ-1 (2026-10-29)", OD-NJ-d.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#202
No description provided.