The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(ci): merge all duration slices, not one
ethernet03da1606bcee
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 3888e8d44f9..a79bf08563f 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -155,18 +155,22 @@ jobs:timeout-minutes: 10steps:- name: Download all slice durations+ # Each slice uploads the same file name (test_durations.json).+ # With merge-multiple, the parallel downloads write to one path.+ # This causes two problems: a race can write two JSON documents+ # into one file, and the last write erases the other slices.+ # Without merge-multiple, each artifact gets its own directory.uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:pattern: test-durations-slice-*path: durations- merge-multiple: true- name: Merge into single durations filerun: |python3 -c "import json, glob, osmerged = {}- for f in glob.glob('durations/*test_durations.json'):+ for f in glob.glob('durations/*/test_durations.json'):with open(f) as fh:merged.update(json.load(fh))with open('test_durations.json', 'w') as fh: