fix: restore workflow consolidation reverted by PR #788#831
Conversation
PR #788's worktree branch independently re-created 12 individual workflow files that PR #781 had consolidated, and deleted the two consolidated replacements (unit-tests.yml, lint.yml). This was never caught or fixed by subsequent PRs. Re-applies #781's consolidation (27 → 16 workflows): - Delete 12 individual workflow files (ambient-api-server-tests, backend-unit-tests, claude-code-review, claude, cli-tests, frontend-lint, makefile-quality, mermaid-lint, runner-tests, test-e2e-docker-cache, test-go-module-cache, test-registry-cache) - Restore unit-tests.yml (consolidated backend, api-server, runner, CLI tests with dorny/paths-filter) - Rename go-lint.yml → lint.yml (consolidated Go + frontend lint) - Restore concise workflows README Updated runner paths from claude-code-runner to ambient-runner to match the current directory structure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
PR REVIEW PLACEHOLDER - BEING REPLACED |
|
Claude Code Review Summary PR 831 re-applies the workflow consolidation from PR 781 that was silently reverted by PR 788. Deletes 12 workflow files and introduces two consolidated ones (unit-tests.yml and the renamed lint.yml), reducing active workflow count from 27 to 16. The overall approach is sound, but one behavior change in the runner test job could silently break CI. Issues by Severity — Blocker / Critical: None. Major Issue: Runner test scope expanded to include all tests unit-tests.yml, runner job now runs: pytest tests/ -v --tb=short --color=yes -x The deleted runner-tests.yml scoped to 3 specific test files with the comment: 'Only run standalone unit tests that do not require runner_shell runtime (test_model_mapping.py and test_wrapper_vertex.py require full runtime environment).' If those two test files still require a runtime environment unavailable in standard CI, the -x flag will cause the runner job to fail on every PR touching the runner. Verify pytest tests/ passes in a vanilla Ubuntu runner, or restore the exclusions: --ignore=tests/test_model_mapping.py --ignore=tests/test_wrapper_vertex.py Minor Issues
Positive Highlights
Recommendations (priority order)
Reviewed against .claude/context/, .claude/patterns/, and CLAUDE.md standards. |
Summary
PR #788 (
worktree-gemini-runner) was branched from a worktree that independently re-created 12 individual workflow files that PR #781 had consolidated. When #788 was squash-merged, it silently reverted #781's entire consolidation. No subsequent PR caught or fixed this — the repo has been running 27 workflows instead of 16 since March 4.This PR re-applies #781's consolidation:
ambient-api-server-tests,backend-unit-tests,claude-code-review,claude,cli-tests,frontend-lint,makefile-quality,mermaid-lint,runner-tests,test-e2e-docker-cache,test-go-module-cache,test-registry-cacheunit-tests.yml: Consolidated backend, api-server, runner, CLI tests withdorny/paths-filtergo-lint.yml→lint.yml: Consolidated Go + frontend lintChanges from original #781
claude-code-runner→ambient-runnerto match current directory structureTest plan
unit-tests.ymltriggers on backend/runner/cli/api-server changeslint.ymltriggers on frontend and Go component changes🤖 Generated with Claude Code