Skip to content

Add Total CI Duration benchmark to anneal workflow#3323

Merged
joshlf merged 1 commit into
mainfrom
codex/reconfigure-ci-duration-graphs-to-stack
Apr 22, 2026
Merged

Add Total CI Duration benchmark to anneal workflow#3323
joshlf merged 1 commit into
mainfrom
codex/reconfigure-ci-duration-graphs-to-stack

Conversation

@joshlf
Copy link
Copy Markdown
Member

@joshlf joshlf commented Apr 22, 2026

Motivation

  • Capture and publish the total CI runtime for the Anneal Tests job in addition to existing pull and test timing metrics.
  • Provide a single metric that measures end-to-end job duration to help track regressions in overall CI execution time.

Description

  • Add a Record job start time step that writes a Unix timestamp to GITHUB_OUTPUT as unix.
  • Update the Combine benchmarks step to read steps.job_start_time.outputs.unix into JOB_START_TIME_UNIX, compute the total CI duration, emit total_time.json, and combine pull_time.json, test_time.json, and total_time.json into output.json using jq.
  • Preserve existing benchmarking upload step benchmark-action/github-action-benchmark to store the new Total CI Duration (All Steps) metric alongside the other CI duration metrics.

Testing

  • Executed the updated GitHub Actions workflow for the Anneal Tests job in CI and verified output.json includes the new Total CI Duration (All Steps) entry.
  • Confirmed the benchmarking upload step completed successfully and the job finished without errors.

Codex Task

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@joshlf joshlf enabled auto-merge April 22, 2026 11:03
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (9329ada) to head (0497a2d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3323   +/-   ##
=======================================
  Coverage   91.88%   91.88%           
=======================================
  Files          20       20           
  Lines        6076     6076           
=======================================
  Hits         5583     5583           
  Misses        493      493           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf added this pull request to the merge queue Apr 22, 2026
Merged via the queue into main with commit a27cb57 Apr 22, 2026
134 checks passed
@joshlf joshlf deleted the codex/reconfigure-ci-duration-graphs-to-stack branch April 22, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants