vault backup: 2026-05-07 12:03:43
This commit is contained in:
parent
4f00c0f3a8
commit
431ee29be8
2 changed files with 33 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: Handover — P0-2 Fix Planner Crash
|
||||
date: 2026-05-07
|
||||
status: done
|
||||
commit: 75c7863
|
||||
---
|
||||
|
||||
## What changed
|
||||
- `web/src/types/index.ts:36`: `tags: TagBrief[]` → `tags?: TagBrief[]` (optional)
|
||||
- `web/src/components/tasks/TaskCard.vue:57`: `task.tags.length` → `task.tags?.length`
|
||||
|
||||
## Why
|
||||
Backend TaskOut schema never returns tags field → `task.tags` is undefined → `.length` throws TypeError.
|
||||
Tags are stored in DB but not yet serialized; making type optional is the correct minimal fix
|
||||
since tags feature is unused (always empty array).
|
||||
|
||||
## Verified
|
||||
- `npm run build` — clean, 75c7863
|
||||
- `git push origin main`
|
||||
|
||||
## Deploy needed
|
||||
```bash
|
||||
ssh optical-dev "bash /opt/cc-dashboard/deploy.sh"
|
||||
```
|
||||
(can batch both P0-1 and P0-2 in one deploy)
|
||||
|
||||
## Next subtask
|
||||
**P0-3**: Расследовать пустые данные в проектах.
|
||||
Нужен доступ к БД: `docker exec cc-dashboard-postgres-1 psql ...`
|
||||
Запросить пользователя запустить SQL и прислать результаты.
|
||||
|
|
@ -56,3 +56,6 @@ tags: [daily]
|
|||
- 11:58 | `aimpress`
|
||||
- **Asked:** Why isn't the repository synchronization script from Oliver and Bitbucket to git.ai-impress.com working?
|
||||
- **Done:** Identified potential issues with macOS cron sleep behavior and script execution, found data inconsistencies in logs suggesting missed runs or internal script failures.
|
||||
- 12:02 (2min) | `aimpress`
|
||||
- **Asked:** Asked to set up a launchd agent and remove the cron job entry.
|
||||
- **Done:** Created launchd plist file and removed the crontab entry for background task scheduling.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue