36 lines
2.1 KiB
Markdown
36 lines
2.1 KiB
Markdown
# Things I need to tell my AI to do
|
||
|
||
- [ ] Check so that all tests actually make sense, maybe some are now obsolete, and some are missing
|
||
- [ ] Add a test coverage metric to both frontend and backend so that we can check how much of the code is tested. I would like >=90%
|
||
- [ ] Go over Claude's slop-cleanup-stuff
|
||
- [x] Update the "Sleep Sessions" by adding a fake pagination view in the frontend so that I don't have to scroll so much. Instead, I want to simply click "next" and "previous" (with like numbers in between like a google search)
|
||
- [x] Bug with gitea workflow:
|
||
|
||
```
|
||
Tag and Push Version
|
||
2s
|
||
Run git tag $VERSION
|
||
To http://gitea:3001/jacobh2/babymonitor
|
||
! [rejected] v1.0.0 -> v1.0.0 (already exists)
|
||
error: failed to push some refs to 'http://gitea:3001/jacobh2/babymonitor';
|
||
hint: Updates were rejected because the tag already exists in the remote.
|
||
❌ Failure - Main Tag and Push Version
|
||
exitcode '1': failure
|
||
```
|
||
|
||
- [ ] Editing a sleep session in "sleep sessions", when I click the edit button the times show up as UTC but should show as my local timezone
|
||
- [/] We should drop the "notes" column from the sleep_session table
|
||
- [x] Switch over to oh-my-opencode and try it out
|
||
- [x] Adda footer at the bottom of the app that shows the version (aka git tag) of the app
|
||
- [-] Fix race condition of gitea workflows
|
||
|
||
If both workflows run at the same time, a race condition occurs:
|
||
1. Collision: Both workflows will query the latest tag (e.g., v1.0.5) and calculate the same next version (v1.0.6).
|
||
2. The Winner: The first workflow to finish its push will successfully create the v1.0.6 tag on the remote.
|
||
3. The Loser: The second workflow will attempt to push v1.0.6, but the remote will reject it because that tag already exists, causing the workflow to fail.
|
||
This happens because both workflows share the same global tag namespace (v1.0.x). To fix this, you should differentiate them by using unique prefixes, such as backend-v1.0.x and frontend-v1.0.x.
|
||
|
||
--> Invalid. the containers are named differently.
|
||
|
||
- [x] remove the lint form the gitea workflows added by the agent. makes no sense there
|