Repository navigation
Commit d7fe29b
authored
Fix CI: the budget timer never throws after its database is closed; Docker builds without git (#76)
* Fix CI: the budget timer never throws after its database is closed
The debounced check after a budget change ran outside its try/catch: in a test that closed its database (or while
shutting down) it threw "database not opened" and failed whatever test was running then (on Linux CI: the three
`godmode binary` runner tests). It is caught now, and the timer no longer keeps the process alive.
* Fix the Docker build: the build stamp works without git
Bun.spawnSync throws when git isn't installed (the image's build stage), so the stamp's own fallback to "unknown"
was never reached and the binary build failed.1 parent ff7d7b3 commit d7fe29b
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 232 | + | |
236 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments