Skip to content

chore(ci): measure the macOS integration job, build its harness once, and add a speed-up plan - #3607

Open
tobz wants to merge 1 commit into
mainfrom
tobz/macos-ci-measure-build-once
Open

tobz wants to merge 1 commit into
mainfrom
tobz/macos-ci-measure-build-once

Conversation

@tobz

@tobz tobz commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

This PR introduces our plan to improve the execution time of our macOS integration tests in CI, and adjusts them to start running in such a way that we can gather per-step/per-phase timing information for evaluating changes and improvements in subsequent PRs.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

How did you test this PR?

  • Ensure the macOS integration tests still run correctly in CI.

References

DADP-2

@dd-octo-sts dd-octo-sts Bot added area/ci CI/CD, automated testing, etc. area/docs Reference documentation. labels Dec 1, 2026
@pr-commenter

pr-commenter Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Binary Size Analysis (Agent Data Plane)

Baseline: ca99ce7 · Comparison: ecd4a79 · diff
Analysis Configuration: optimized-release profile, stripped binaries · Pass/Fail Threshold: +5%
Sizes: 25.94 MiB (baseline) vs 25.94 MiB (comparison)
Size Change: +0 B (+0.00%)

✅ Binary size difference within threshold

Changes by Module
Module File Size Symbols
Detailed Symbol Changes
    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [ = ]       0  [ = ]       0    TOTAL

@pr-commenter

pr-commenter Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Regression Detector (Agent Data Plane)

Run ID: cccd6c8f-5c70-433a-9078-ba79ecae90ac
Baseline: ca99ce71 · Comparison: ecd4a792 · diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment (5)

Experiments configured erratic: true are tagged (ignored) and skipped when determining which experiments regressed or improved. Experiments which are detected as erratic at runtime are tagged (erratic) to flag that the run's sample dispersion was high, but their regression / improvement signal still counts.

experiment goal Δ mean % links
quality_gates_rss_dsd_medium memory utilization ⚪ -0.05 metrics profiles logs
quality_gates_rss_dsd_heavy memory utilization ⚪ -0.16 metrics profiles logs
quality_gates_rss_dsd_low memory utilization ⚪ -0.24 metrics profiles logs
quality_gates_rss_idle memory utilization ⚪ -0.27 metrics profiles logs
quality_gates_rss_dsd_ultraheavy memory utilization ⚪ -0.79 metrics profiles logs
Bounds Checks: ✅ Passed (5)
experiment check replicates observed links
quality_gates_rss_dsd_heavy memory_usage 10/10 ✅ 172.08MiB ≤ 250MiB metrics profiles logs
quality_gates_rss_dsd_low memory_usage 10/10 ✅ 45.68MiB ≤ 55MiB metrics profiles logs
quality_gates_rss_dsd_medium memory_usage 10/10 ✅ 69.80MiB ≤ 92MiB metrics profiles logs
quality_gates_rss_dsd_ultraheavy memory_usage 10/10 ✅ 239.16MiB ≤ 420MiB metrics profiles logs
quality_gates_rss_idle memory_usage 10/10 ✅ 30.40MiB ≤ 36MiB metrics profiles logs
Explanation

A change is flagged as a regression when |Δ mean %| > 5.00% in the regressing direction for its optimization goal AND SMP marks the experiment as a regression (is_regression: true). Improvements use the matching criteria for the improving direction. Experiments configured erratic: true (tagged (ignored)) are skipped outright; experiments detected as erratic at runtime (tagged (erratic)) still count, since that flag describes sample dispersion rather than directional certainty. The Δ mean % cell is colored accordingly: 🟢 = improvement, 🔴 = regression, ⚪ = neutral. Reduction in CPU or memory is an improvement; reduction in ingress throughput is a regression. Experiments tagged (no analysis) show ⚠️ n/a: SMP ran them but produced no analysis, usually because a replicate failed and exhausted its retries. Check the SMP report for that experiment's replicate failures.

@tobz tobz added the changelog/no-changelog No changelog entry needed label Dec 1, 2026
@tobz
tobz added this pull request to stack #3612 December 1, 2026 20:18
@tobz
tobz force-pushed the tobz/macos-ci-measure-build-once branch 3 times, most recently from b198b3f to 06fa5fb Compare December 2, 2026 19:27
@tobz
tobz force-pushed the tobz/macos-ci-measure-build-once branch from 06fa5fb to ecd4a79 Compare December 4, 2026 19:56
@tobz tobz added the type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo. label Dec 4, 2026
@tobz
tobz marked this pull request as ready for review December 4, 2026 19:58
@tobz
tobz requested a review from a team as a code owner December 4, 2026 19:58

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AI review by Claude - workflow run

Warning

AI review could not be posted: anomalous output detected (category: shell-invocation) - review suppressed for security

See workflow run for details.

@datadog-prod-us1-3 datadog-prod-us1-3 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The completed static review identified no actionable defect in the consolidated harness build or background provisioning. Actual macOS CI execution remains unverified.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit ecd4a79

@lucastemb lucastemb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me 👍

@tobz

tobz commented Dec 4, 2026

Copy link
Copy Markdown
Member Author

/dd-review

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

AI review by Claude - workflow run

Patch is correct, with 0 blocking findings. The CI script builds the same binaries as before and provisions the Agent in the background, which is safe. Not blocking: the rename leaves a stale reference to make build-correctness-tools-host in bin/correctness/panoramic/src/participants/tools.rs:16. It should be make build-integration-harness-host.


Makefile L102

Not blocking: the ADP build reuses these crates only when BUILD_PROFILE is release. Tag pipelines build ADP with optimized-release, while this target always uses --profile release, so nothing is shared there. Can the comment say so?

# One invocation with --bin resolves features across the workspace, as build-adp-host does. With the same cargo
# subcommand and profile as build-adp-host, the ADP build then reuses the crates that this build compiles. Tag
# pipelines build ADP with another profile, so they reuse nothing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci CI/CD, automated testing, etc. area/docs Reference documentation. changelog/no-changelog No changelog entry needed type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants