Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3180,11 +3180,14 @@ mk_fanout_fixture(){ # $1=root
touch -t "$STAMP" "$f"
done
# A fanout whose parent file is gone still groups, under the path that file would have had.
# 09:05Z is still 2020-01-02 in local time from UTC-5 to UTC+11, which a report day needs: the day
# is local midnight to local midnight, and 18:05Z was already the next day in Hong Kong, Tokyo and
# Sydney, so the window dropped these workers there. It stays hours away from the other sessions.
mkdir -p "$b/orphan1/subagents"
for f in "$b/orphan1/subagents/agent-x.jsonl" "$b/orphan1/subagents/agent-y.jsonl"; do
printf '%s\n' \
'{"type":"user","isSidechain":true,"timestamp":"2020-01-02T18:05:00Z","message":{"content":"worker task"}}' \
'{"type":"assistant","isSidechain":true,"timestamp":"2020-01-02T18:05:05Z","message":{"content":[{"type":"tool_use","name":"Read"}]}}' > "$f"
'{"type":"user","isSidechain":true,"timestamp":"2020-01-02T09:05:00Z","message":{"content":"worker task"}}' \
'{"type":"assistant","isSidechain":true,"timestamp":"2020-01-02T09:05:05Z","message":{"content":[{"type":"tool_use","name":"Read"}]}}' > "$f"
touch -t "$STAMP" "$f"
done
}
Expand Down
Loading