Repository navigation
Add ci-job-timing skill: per-step timing report from Datadog - #1354
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 1977db8e-0817-422b-adea-e91dc1adaa08) |
|
Queued — the merge queue status continues in this comment ↓. |
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 2 hours 2 minutes 47 seconds in the queue, including 1 hour 35 minutes 50 seconds running CI. ReasonThe merge conditions cannot be satisfied due to failing checks
Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. Waiting for
All conditions
Requeued — the merge queue status continues in this comment ↓. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Change-Id: Id0dec9283a11dc8cf7089f236efd154b5d84b090
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: e67f17cc-93fa-4aa7-ac21-c0790f0fa04a) |
e93ea17 to
44d8782
Compare
Revision history
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: bdde7ff2-73ee-4a84-baf0-99d317e0d28c) |
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 1 hour 43 minutes 44 seconds in the queue, including 1 hour 42 minutes 48 seconds running CI. Required conditions to merge
|
Summary
Slow CI jobs are hard to speed up when nobody knows where the time goes. This adds a report listing each job step and its time.
The report reads step timings that Datadog already stores. It prints a table and a link to the same query.
It also adds the skill to the shared skill list, because the repo's check needs both together.
Review Claim
Approve a read-only report that shows how long each step of a CI job takes, using Datadog data.
Review Lane
behavior
Review Unit
product-skill
Safety Invariant
It only reads Datadog and GitLab. The token comes from the environment and is never printed or saved.
Slice Rationale
This is the first of two slices. The skill's list entry ships with it. The repo's registry check fails for a skill missing from the list, so the two cannot be separated:
Non-goals
Measured
none: this adds a new report and nothing existing to compare against
Test Plan
Test Plan
python3 -m unittest product/skills/ci-job-timing/tests/test_ci_job_timing.pyprintedRan 8 tests ... OKpython3 engine/skills/make-pr/scripts/preflight.py --base origin/main --dry-runprintedunit product-skill: 3 file(s),neutral 1 file(s): skills.tomlandok preflight passedpython3 scripts/ci/check_skills_registry.py,check_skills_three_harnesses.py,check_ecosystem_boundaries.py,check_skill_file_refs.py,check_skill_test_coverage.py --base origin/main --head HEAD,check_skill_test_debt_no_growth.py,check_skill_trigger_mechanism.py,check_no_dated_provenance.py --base origin/main,check_no_new_comments.py --base origin/main,check_hook_test_coverage.py,check_no_silent_hook_except.py,check_rules_are_wired.pyandcheck_no_tracked_local_artifacts.pyeach exited 0 on both commitsrun every tests/ dirstep. Blocker: it takes about 54 minutes and runs in CI on this pull requestRevert Plan
Revert Plan
git revert <sha>🤖 Generated with Claude Code