feat(sync): implement kanban-project-sync script with concurrency control and background execution
This commit is contained in:
@@ -53,6 +53,14 @@ There is no unit test suite or linter configured — tests are shell-based integ
|
||||
**IMPORTANT**
|
||||
After completing any opsx workflow (/opsx:new, /opsx:ff, /opsx:continue,
|
||||
/opsx:apply, /opsx:verify, /opsx:archive, /opsx:bulk-archive), automatically
|
||||
reconcile Planka board state by running `/kanban-sync`.
|
||||
If the sync fails, log a brief warning and continue. Never block or retry —
|
||||
Planka sync is best-effort.
|
||||
reconcile Planka board state by running the sync script:
|
||||
|
||||
```bash
|
||||
PROJECT_NAME=$(yq -r '.planka.project' project.yaml)
|
||||
BOARD_NAME=$(yq -r '.planka.board' project.yaml)
|
||||
kanban-project-sync --project "$PROJECT_NAME" --board "$BOARD_NAME" --background
|
||||
```
|
||||
|
||||
The script handles concurrency (flock-based locking with coalescing pending queue).
|
||||
If the script is not on PATH or fails, log a brief warning and continue.
|
||||
Never block or retry — Planka sync is best-effort.
|
||||
|
||||
Reference in New Issue
Block a user