-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Overview
Implement a robust pre-commit workflow supporting both TypeScript (VS Code extension) and Python (Blarify engine) codebases using unified infrastructure with language-specific quality pipelines.
Repository Structure Context
- TypeScript: VS Code extension in
/src/,/media/, root configs - Python: Blarify engine in
/bundled/blarify/with Poetry management - Shared: Documentation, configuration, and integration components
Requirements
TypeScript Quality Pipeline
- Prettier automatic formatting
- ESLint integration with auto-fixing
- TypeScript compilation validation
- VS Code extension build verification
- Selective TypeScript test execution
Python Quality Pipeline
- Ruff formatting and linting with auto-fixing
- pyright type checking integration
- pytest selective execution
- Poetry virtual environment compatibility
Cross-Language Integration
- API compatibility validation between TypeScript and Python
- Unified configuration file formatting (JSON, YAML, Markdown)
- Performance optimization for mixed-language changes
- Secret detection across all file types
Performance Targets
- TypeScript-only changes: < 15 seconds
- Python-only changes: < 20 seconds
- Mixed-language changes: < 30 seconds
- Full repository validation: < 45 seconds
Implementation Phases
- Infrastructure Foundation: Pre-commit framework with multi-language routing
- TypeScript Pipeline: Prettier, ESLint, compilation, extension build validation
- Python Pipeline: Ruff, pyright, pytest with Poetry integration
- Cross-Language Integration: API compatibility, unified formatting, performance optimization
- Developer Experience: Comprehensive documentation and onboarding materials
Acceptance Criteria
- Pre-commit hooks execute for both languages appropriately
- Language-specific tools run only when relevant files changed
- Parallel processing for mixed-language changes
- Performance targets met for all scenarios
- Comprehensive documentation for multi-language workflow
- Zero regression in existing TypeScript/Python development workflows
Success Metrics
- 100% formatting consistency for both languages
- Zero linting errors in commits for both TypeScript and Python
- 100% compilation success rate
- 25% reduction in CI build times
-
85% developer satisfaction with multi-language workflow
Note: This issue was created by an AI agent on behalf of the repository owner.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels