Files
vibe-kanban/scripts
Anastasiia SolopandClaude Sonnet 4.6 041317e25a feat: add local CI script to run GitHub workflow checks without Actions (Vibe Kanban) (#3484)
* add scripts/ci-local.sh to run CI checks locally

Mirrors .github/workflows/test.yml jobs without checkout/install steps.
Supports running individual jobs or all defaults via CLI args.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(ci-local): add group aliases and git-based auto-detection

- Add `backend` group that runs schema + clippy + test together
- Treat frontend/backend/backend-remote as first-class groups matching CI
- Auto-detect which groups to run from `git diff` vs main when no args given
- Deduplicate atomic jobs when overlapping groups/jobs are specified

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: replace declare -A with bash 3 compatible deduplication

macOS ships bash 3.2 where associative arrays (declare -A) are not
available. Replace with a plain array + loop membership check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* FE lint fixes

* fix: correctly propagate step failures within CI jobs

When job functions are called inside `if job_fn; then`, bash suppresses
set -e inside the function. A failing run_step would log ✗ but execution
continued, and if the last step passed the whole job was marked PASSED.

Fix by tracking failures explicitly with `|| failed=1` in every job
function that contains multiple run_step calls.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* BE clippy fixes

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-10-26 08:13:46 +01:00
..
2026-02-24 17:09:09 +00:00
2026-01-23 17:05:00 +00:00
2026-02-24 17:09:09 +00:00