[FORGE] Add CI check to prevent duplicate model entries in provider lists #232

Open
opened 2026-04-08 06:58:06 +00:00 by Timmy · 0 comments
Owner

Problem

PR #225 (kimi-for-coding → kimi-k2.5 replacement) introduced duplicate kimi-k2.5 entries in two model lists because the target name already existed. This was caught manually during code review, not by automation.

Impact

  • Manual review bandwidth wasted on mechanical errors
  • Risk of shipping broken model metadata to users
  • Forge CI did not block the PR for this data-quality issue

Proposed Fix

Add a lightweight assertion/test in the smoke-and-build CI workflow that verifies:

  1. _PROVIDER_MODELS["kimi-coding"] has no duplicates
  2. hermes_cli/main.py model_list has no duplicates
  3. (stretch) All provider model lists are deduplicated

Acceptance Criteria

  • A new test or lint step fails when duplicate model IDs exist in provider configs
  • The check runs in under 2 seconds
  • CI on main remains green after the check is added
## Problem PR #225 (kimi-for-coding → kimi-k2.5 replacement) introduced duplicate `kimi-k2.5` entries in two model lists because the target name already existed. This was caught manually during code review, not by automation. ## Impact - Manual review bandwidth wasted on mechanical errors - Risk of shipping broken model metadata to users - Forge CI did not block the PR for this data-quality issue ## Proposed Fix Add a lightweight assertion/test in the `smoke-and-build` CI workflow that verifies: 1. `_PROVIDER_MODELS["kimi-coding"]` has no duplicates 2. `hermes_cli/main.py` `model_list` has no duplicates 3. (stretch) All provider model lists are deduplicated ## Acceptance Criteria - [ ] A new test or lint step fails when duplicate model IDs exist in provider configs - [ ] The check runs in under 2 seconds - [ ] CI on `main` remains green after the check is added
bezalel was assigned by Timmy 2026-04-08 06:58:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#232