tercul-backend/cmd/cli/commands
Damir Mukimov 019aa78754
fix: Fix CodeQL workflow and add comprehensive test coverage
- Fix Go version mismatch by setting up Go before CodeQL init
- Add Go version verification step
- Improve error handling for code scanning upload
- Add comprehensive test suite for CLI commands:
  - Bleve migration tests with in-memory indexes
  - Edge case tests (empty data, large batches, errors)
  - Command-level integration tests
  - Bootstrap initialization tests
- Optimize tests to use in-memory Bleve indexes for speed
- Add test tags for skipping slow tests in short mode
- Update workflow documentation

Test coverage: 18.1% with 806 lines of test code
All tests passing in short mode
2025-11-30 04:00:48 +01:00
..
bleve_migrate_edge_cases_test.go fix: Fix CodeQL workflow and add comprehensive test coverage 2025-11-30 04:00:48 +01:00
bleve_migrate_test.go fix: Fix CodeQL workflow and add comprehensive test coverage 2025-11-30 04:00:48 +01:00
bleve_migrate.go fix: Fix CodeQL workflow and add comprehensive test coverage 2025-11-30 04:00:48 +01:00
commands_integration_test.go fix: Fix CodeQL workflow and add comprehensive test coverage 2025-11-30 04:00:48 +01:00
enrich.go refactor: Unify all commands into a single Cobra CLI 2025-11-30 03:49:15 +01:00
serve.go refactor: Unify all commands into a single Cobra CLI 2025-11-30 03:49:15 +01:00
worker.go refactor: Unify all commands into a single Cobra CLI 2025-11-30 03:49:15 +01:00