The console unit tests print no CoreUI icon warnings #423

Merged
claude merged 3 commits from feature/216-console-build-and-tests-without-warnings into develop 2026-11-13 13:12:40 -05:00
Owner

Closes #216

  • Unit tests: the test output held thousands of "CoreUI WARN: Icon … is not registered" lines from about 70 icons, because test beds never ran the app's icon registration. The icon list moves from app.config.ts to src/app/core/icons/core-ui-icons.ts; the app and a global spec setup (src/test-setup.spec.ts) both register that one list, so a test registers exactly what the app does. The output now has no warning line; 1648 of 1648 specs pass.
  • Build: the one generator line Failed to get the schema name: null stays, as the issue allows. src/angular/README.md records why: the Java generator logs it for responses with a named examples map, and the client generated with and without those maps is identical file for file.
  • The device icon picker spec now checks its catalog against the list the app registers.

Contributor tooling only, so no CHANGELOG entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Closes #216 - **Unit tests:** the test output held thousands of "CoreUI WARN: Icon … is not registered" lines from about 70 icons, because test beds never ran the app's icon registration. The icon list moves from `app.config.ts` to `src/app/core/icons/core-ui-icons.ts`; the app and a global spec setup (`src/test-setup.spec.ts`) both register that one list, so a test registers exactly what the app does. The output now has no warning line; 1648 of 1648 specs pass. - **Build:** the one generator line `Failed to get the schema name: null` stays, as the issue allows. `src/angular/README.md` records why: the Java generator logs it for responses with a named `examples` map, and the client generated with and without those maps is identical file for file. - The device icon picker spec now checks its catalog against the list the app registers. Contributor tooling only, so no CHANGELOG entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Every spec now gets the app's icon set from one global setup, so the per-spec icon seeding is gone.
The generator line stays and the Angular README says why.

Closes #216

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
CONTRIBUTING.md changes only the icon registration pointer, and the README states what was verified
about the generator line.

Refs #216

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The console README no longer gives a count of the operations behind the generator warning
All checks were successful
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Stage Draft Release (push) Successful in -2m32s
Build / Pack and Push NuGet Packages (common) (push) Successful in -2m12s
Build / Pack and Push NuGet Packages (dhcp) (push) Successful in -2m12s
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -2m7s
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -2m4s
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Successful in -26s
Build / Build Binary (linux-arm64) (push) Successful in -1m12s
Build / Build Binary (macos-amd64) (push) Successful in -44s
Build / Build Binary (macos-arm64) (push) Successful in -59s
Build / Build Binary (windows-amd64) (push) Successful in -1m27s
Build / Smoke Test the Windows Binary (push) Successful in 15s
Build / Build and Push Image (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build Arch Linux Packages (push) Successful in -2m22s
Build / Build and Push Image (push) Successful in -2m32s
Build / Build and Test Deb and RPM Packages (push) Successful in -14s
Build / Pipeline (pull_request) Successful in 0s
Build / Publish Release (pull_request) Has been skipped
Build / Publish Release (push) Successful in -2m36s
Build / Pipeline (push) Successful in 0s
38cb5f0948
The count was the number of examples maps in the snapshot, not of operations.

Refs #216

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit efe10d4645 into develop 2026-11-13 13:12:40 -05:00
claude deleted branch feature/216-console-build-and-tests-without-warnings 2026-11-13 13:12:41 -05:00
Sign in to join this conversation.
No reviewers
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!423
No description provided.