Skip to content

[CI-Exp 1a] Start test_inst after build instead of build_tests - #13667

Closed
janhavis wants to merge 1 commit into
js/ci-exp-0-controlfrom
js/ci-exp-1a-inst-needs-build
Closed

janhavis wants to merge 1 commit into
js/ci-exp-0-controlfrom
js/ci-exp-1a-inst-needs-build

Conversation

@janhavis

Copy link
Copy Markdown
Contributor

What Does This Do

Starts the amd64 `test_inst` shards once `build` passes (without its artifacts), instead of waiting for `build_tests: [:instrumentationTest]`.

Experiment only, not for merge. Part of a CI hill-climb on dd-trace-java PR pipelines: each arm changes job scheduling only. Every test still runs, and no timeout, retry, required check or assertion changes.

Motivation

PR pipelines take 47 min at the median (14 days, GitLab, non-default branches). In 5 of 10 recent full-suite pipelines the critical path was build_tests: [:instrumentationTest] (5.5–7.7 min) followed by test_inst: [*, 2/8] (39–46 min). build_tests publishes no artifacts: it only warms the shared S3 Gradle build cache. test_inst_arm64 already gates on build with artifacts: false.

Additional Notes

Arms (each on the same no-op buildSrc change, so every arm runs the full suite):

  • [CI-Exp 0] control: no-op buildSrc constant only.
  • [CI-Exp 1a]: test_inst needs build (artifacts: false) instead of build_tests.
  • [CI-Exp 1b]: test_inst has needs: [].

Measured: time to first test_inst start, slowest test_inst shard, and total pipeline time, against the control started at the same time. Shard balance is out of scope here (see #13344 and #13559).

Contributor Checklist

Jira ticket: N/A (experiment)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@janhavis janhavis added tag: do not merge Do not merge changes tag: no release notes Changes to exclude from release notes type: refactoring tag: ai generated Largely based on code generated by an AI or LLM labels Nov 24, 2026
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 61.18% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: e53e27a | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.87 s 14.71 s [+0.3%; +1.8%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.71 s 13.74 s [-1.0%; +0.7%] (no difference)
startup:petclinic:appsec:Agent 17.78 s 17.53 s [+0.6%; +2.3%] (maybe worse)
startup:petclinic:iast:Agent 17.49 s 17.67 s [-1.8%; -0.2%] (maybe better)
startup:petclinic:profiling:Agent 17.30 s 17.21 s [-0.6%; +1.5%] (no difference)
startup:petclinic:sca:Agent 17.87 s 17.72 s [-0.2%; +2.0%] (no difference)
startup:petclinic:tracing:Agent 16.32 s 16.79 s [-7.0%; +1.5%] (no difference)

Commit: e53e27a0 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@janhavis janhavis closed this Nov 24, 2026
@janhavis
janhavis deleted the js/ci-exp-1a-inst-needs-build branch November 24, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: ai generated Largely based on code generated by an AI or LLM tag: do not merge Do not merge changes tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant