• Johnny's avatar
    perf: optimize backend tests with parallel execution · 07b837b6
    Johnny authored
    Major improvements:
    - Split tests into 4 parallel groups (store, server, plugin, other)
      * 3-4x faster test execution (4-6min → 1-2min)
    
    - Enable golangci-lint cache (was disabled)
      * Saves 20-30s on lint checks
    
    - Remove unnecessary flags
      * check-latest: API call overhead
      * --verbose: unnecessary output
      * skip-cache: disabled caching
    
    - Add race detector (-race)
      * Better concurrency bug detection
      * Only 10-20% overhead
    
    - Add coverage tracking
      * Per-group coverage upload to Codecov
      * Better visibility into test quality
    
    - Add concurrency control
      * Cancel outdated PR runs
      * Saves runner minutes
    
    - Clean up output processing
      * Remove test.log and complex awk/sed parsing
      * GitHub Actions shows output by default
    
    Performance impact:
    - Setup: 30s → 10s (2-3x faster)
    - Tests: Sequential → 4 parallel jobs (3-4x faster)
    - Total: 4-6min → 1-2min (~70% faster)
    07b837b6
Name
Last commit
Last update
.github Loading commit data...
cmd/memos Loading commit data...
internal Loading commit data...
plugin Loading commit data...
proto Loading commit data...
scripts Loading commit data...
server Loading commit data...
store Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.golangci.yaml Loading commit data...
AGENTS.md Loading commit data...
CODEOWNERS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...