Skip to content

ci: upload all 62 RUM variants on tag releases#365

Draft
pawelchcki wants to merge 1 commit into
port_rum_releasefrom
rum-snapshot-uploads-all
Draft

ci: upload all 62 RUM variants on tag releases#365
pawelchcki wants to merge 1 commit into
port_rum_releasefrom
rum-snapshot-uploads-all

Conversation

@pawelchcki

@pawelchcki pawelchcki commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #363.

Summary

  • Wires the existing 62-entry build-nginx-rum-all matrix into the snapshot upload pipeline so tag releases publish RUM modules for every supported nginx version × arch.
  • Splits the upload template into .upload-rum-snapshot-template (transport only) and .upload-rum-snapshot-fast (adds fast-specific needs:); the new all-pipeline jobs rely on stage ordering instead, matching the existing ssi-build-all workaround for GitLab's 50-need limit.

What runs where

Trigger Job S3 path Module count
non-default branch upload-rum-branch-snapshots (fast) nginx/branch-snapshots/pipeline-<id>/ 7 × 2 archs
default branch upload-rum-snapshots, upload-rum-snapshots-latest (fast) nginx/snapshots/pipeline-<id>/, nginx/snapshots/latest/ 7 × 2 archs
`vX.Y.Z` tag upload-rum-snapshots-all, upload-rum-snapshots-latest-all nginx/snapshots/pipeline-<id>/, nginx/snapshots/latest/ 31 × 2 archs

Test plan

Hooks the existing build-nginx-rum-all matrix (every supported nginx
version × amd64/arm64 = 62 jobs) into the snapshot-upload pipeline,
so tag releases publish full-coverage snapshots to S3:
  s3://rum-auto-instrumentation/nginx/snapshots/pipeline-<id>/
  s3://rum-auto-instrumentation/nginx/snapshots/latest/

Splits .upload-rum-snapshot-template (no needs) and a fast-specific
.upload-rum-snapshot-fast variant so the all-pipeline jobs can rely
on stage ordering (the 62-entry matrix exceeds GitLab's 50-need
limit, same workaround already used by ssi-build-all).
Copilot AI review requested due to automatic review settings May 6, 2026 14:03
@pawelchcki pawelchcki requested a review from a team as a code owner May 6, 2026 14:03

Copilot AI 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.

Pull request overview

This PR updates the GitLab CI configuration so that tag releases (vX.Y.Z) upload RUM-enabled nginx module snapshot artifacts for the full 62-variant matrix, while keeping the existing “fast” snapshot uploads for branch/default-branch pipelines.

Changes:

  • Refactors the RUM snapshot upload job template into a transport-only template plus a “fast” variant that adds the needs: wiring.
  • Adds tag-only (vX.Y.Z) “all variants” snapshot upload jobs that rely on stage ordering instead of needs: to avoid GitLab’s 50-needs limit.
  • Reuses the existing upload script/template across both fast and all pipelines.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.gitlab/build-and-test-fast.yml Splits the upload template and reattaches needs: only for the fast snapshot upload jobs.
.gitlab/build-and-test-all.yml Adds tag-only snapshot upload jobs for the full 62-entry build-nginx-rum-all matrix, using stage ordering instead of needs:.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

.upload-rum-snapshot-all:
extends:
- .build-and-test-all
- .upload-rum-snapshot-template
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented May 6, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

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

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

@xlamorlette-datadog xlamorlette-datadog marked this pull request as draft June 17, 2026 11:29
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.

2 participants