fix: deduplicate Codex log followers
This commit is contained in:
@@ -156,6 +156,7 @@ agent-workflow logs --run <run-id> [--follow] [--tail <lines>]
|
||||
```
|
||||
|
||||
- **`--follow` / `-f`** — continuously follow new output. Automatically switches to new retry attempt logs when a retry begins.
|
||||
- When `CODEX_THREAD_ID` is set, only one `--follow` process for a given Run is allowed per Codex thread. A duplicate follower is rejected without affecting the executor; stale locks from dead followers are cleaned automatically. Different threads and manual viewers without `CODEX_THREAD_ID` remain allowed.
|
||||
- **`--tail <lines>`** — number of lines to show from the end of the current log (default: 50).
|
||||
|
||||
Examples:
|
||||
|
||||
Reference in New Issue
Block a user