Commit 2ba757d
authored
[feat] /goal v2 production harden (#55)
* feat(goal): harden persist resume and continuation
Co-authored-by: Mathis <echobt@users.noreply.github.com>
* test(tui): restore goal event adapter test attribute
Co-authored-by: Mathis <echobt@users.noreply.github.com>
* ci(test): do not fail job on artifact upload 403
Co-authored-by: Mathis <echobt@users.noreply.github.com>
* fix(goal): keep live tmp files and report quarantine
Do not delete another process's in-flight goal temp on load.
Only drop leftovers whose owner pid is gone. Say so when a
corrupt goal.json cannot be moved aside, and dedup evidence
across the whole list rather than adjacent pairs only.
Co-authored-by: Mathis <echobt@users.noreply.github.com>
* test(goal): mark dead-pid helper child mutable
Child::wait needs a mutable Child; the unix leftover-temp
regression was not compiling under libtest.
Co-authored-by: Mathis <echobt@users.noreply.github.com>
* fix(goal): never delete temps during goal load
Load no longer scans or removes .goal.json.tmp.* files. A
concurrent save can keep its in-flight temp, then rename it
onto goal.json instead of failing with ENOENT.
Co-authored-by: Mathis <echobt@users.noreply.github.com>
---------
Co-authored-by: Mathis <echobt@users.noreply.github.com>1 parent 4d41ef3 commit 2ba757d
27 files changed
Lines changed: 859 additions & 135 deletions
File tree
- .github/workflows
- docs
- guides
- reference
- packages/sdk
- src
- cortex-cli
- cortex-engine/src
- goal
- session
- tools/handlers
- cortex-tui/src
- bridge/event_adapter
- commands
- executor
- registry
- runner/event_loop
- session
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments