stringl1l1l1l opened a new pull request, #1421:
URL: https://github.com/apache/dubbo-admin/pull/1421

   This PR restructures the AI module around a component-based runtime, adds 
schema-driven configuration loading/validation, and aligns test coverage with 
the new architecture.
   
   ## What Changed
   
   1. Architecture refactor
   - Migrated AI domains into `ai/component/*` and unified startup through a 
factory-based runtime.
   - Standardized component lifecycle orchestration (`Validate -> Init -> 
Start`).
   
   2. Configuration system upgrade
   - Added a schema-aware loader with strict YAML decoding and JSON Schema 
validation.
   - Added schema assets under `ai/schema/json` and unified component config 
entrypoints via `ai/config.yaml`.
   
   3. CLI and workflow alignment
   - Added/updated indexing CLI flow to use the new config/component model.
   - Updated environment/config conventions (including `SCHEMA_DIR` and 
provider key usage).
   
   4. Test consolidation
   - Reorganized and expanded tests for config loader, runtime orchestration, 
component validation, and key workflows.
   
   ## Breaking Changes
   
   - Startup is now config-driven (`-config`, default `config.yaml`) rather 
than legacy server flags.
   - Config files are strictly validated; unknown or structurally invalid 
fields now fail fast.
   - Component YAML locations and wiring are now expected via `ai/config.yaml`.
   
   ## Validation
   
   ```bash
   go test -race -v ./config/... ./runtime/... ./component/... ./test/... 
./cmd/...
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to