Skip to content

Record GitLab job queue timing - #192

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/ci-timing-context-diagnostic
Sep 10, 2026
Merged

Record GitLab job queue timing#192
yoshifuminakamura merged 1 commit into
developfrom
feature/ci-timing-context-diagnostic

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • record a GitLab job timing context during benchmark run jobs
  • derive scheduler_queue_time from GitLab job start to Benchkit run start when available
  • attach pipeline_timing to every generated Result JSON so multi-condition jobs can show timing per result row
  • label GitLab-derived timing as job queue timing in Portal usage views and docs

Validation

  • bash -n scripts/record_ci_timing_context.sh scripts/collect_timing.sh scripts/matrix_generate.sh scripts/result.sh scripts/tests/test_ci_timing_context.sh scripts/tests/test_process_and_send_results.sh scripts/tests/test_result_profile_data.sh
  • shellcheck -S error scripts/record_ci_timing_context.sh scripts/collect_timing.sh scripts/matrix_generate.sh scripts/result.sh scripts/tests/test_ci_timing_context.sh scripts/tests/test_process_and_send_results.sh scripts/tests/test_result_profile_data.sh
  • bash scripts/tests/test_ci_timing_context.sh
  • bash scripts/tests/test_process_and_send_results.sh
  • bash scripts/tests/test_result_profile_data.sh
  • bash scripts/tests/test_result_common_json_contract.sh
  • bash scripts/tests/test_build_environment_snapshot.sh
  • bash scripts/tests/test_send_results_profile_data.sh
  • .venv/bin/python -m pytest result_server/tests/test_performance_telemetry.py result_server/tests/test_portal_list_templates.py

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura force-pushed the feature/ci-timing-context-diagnostic branch 2 times, most recently from 1da16eb to 74d375a Compare September 10, 2026 06:57
@yoshifuminakamura
yoshifuminakamura merged commit b42b1a5 into develop Sep 10, 2026
8 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/ci-timing-context-diagnostic branch September 10, 2026 15:06
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