Repository navigation
fix(ci): resolve Validate AI Model Registry workflow failures and CI stability - #92
Merged
Merged
Conversation
- Implemented background Auto Search feature - Sweeping refactoring to eliminate code smells and stabilize architecture - Standardized global error handling with AppError - Fixed infinite UI polling bugs and stabilized AI pipeline - Repaired and updated unit test suite
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
e2e test failed Root Cause (Tier 1: Frontend E2E Tests)
Fix Applied & Committed (
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes failures in the Validate AI Model Registry GitHub Actions workflow (
validate-models.yml) and stabilizes the CI/E2E test suite onbugfix/general.Root Causes & Fixes
ModuleNotFoundError: No module named 'langchain_core'inRun Model Validationscripts/validate_models.pyimportedfrom providers.model_registry import MODEL_REGISTRY, which executedproviders/__init__.pyand eagerly imported all four LLM provider classes (GroqProvider,OpenAIProvider,ClaudeProvider,GeminiProvider) and theirlangchain_coredependencies in a lightweight CI job that only installsrequests.backend/ai_service/providers/__init__.pyto use PEP 562 lazy attribute loading (__getattr__), decouplingproviders.model_registryfromlangchain_*imports while maintaining full backward compatibility.HttpError: Resource not accessible by integration (403)inCreate Issue on Stale Models.github/workflows/validate-models.ymllacked an explicitpermissionsblock, so the defaultGITHUB_TOKENcould not create issues viaactions/github-script@v7.permissions: contents: readandissues: writeto.github/workflows/validate-models.yml.Additional Branch Fixes (
bugfix/general)ProfilePage, mail integration).Verification
python scripts/validate_models.py --ciruns and passes withoutlangchain_coreinstalled.0stale models).pytest tests/test_llm_router.py(5/5passed).