Commit 49f27a0
authored
fix: check lane branch for .DONE after grace period expires (#274)
When a tmux session exits without the poll detecting .DONE on the
filesystem, the engine now checks the lane git branch via
'git show <branch>:<path>/.DONE' before declaring failure.
This handles the race condition where the worker completes all work,
commits .DONE to the lane branch, and exits — but the worktree
filesystem is stale or the poll timing barely misses the file.
Previously this was the #1 cause of false task failures in production
batches (seen in TP-065, TP-067, TP-072, TP-075, and user reports).1 parent 4501105 commit 49f27a0
1 file changed
Lines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1073 | 1101 | | |
1074 | | - | |
| 1102 | + | |
1075 | 1103 | | |
1076 | 1104 | | |
1077 | 1105 | | |
| |||
0 commit comments