Skip to content

fix(ci): collect nox durations from JSON reports - #939

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/github-action-failure-819c51a3
Oct 14, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/github-action-failure-819c51a3

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

The weekly session-weight update failed because Nox logged test_core as successful "in a minute", while the timing collector only accepted numeric seconds. That silently dropped the measurement and caused the update step to reject the incomplete data.

Read exact durations from Nox's JSON report, rounded to integer seconds, while preserving live output, successful-session filtering, and the Nox exit code. Add regression coverage for minute/hour and subsecond durations, skipped sessions, and failed runs.

Validation: regression tests failed before the fix and pass afterward; a real test_core run through the collector passed (1,072 passed, 106 skipped, 12 xfailed) and produced a timing artifact. Pre-commit and targeted Pylint checks with CI's --errors-only setting passed.

Failing run: https://github.com/braintrustdata/braintrust-sdk-python/actions/runs/38213044375/job/114692644878

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T22:28:58.161355Z 519ee4a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit c46e22f into main Oct 14, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/github-action-failure-819c51a3 branch October 14, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant