Skip to content

chore: unified e2e resource naming and tagging#2358

Merged
ava-silver merged 3 commits into
masterfrom
ava.silver/chore/unified-e2e-resource-naming-and-tagging
Jun 15, 2026
Merged

chore: unified e2e resource naming and tagging#2358
ava-silver merged 3 commits into
masterfrom
ava.silver/chore/unified-e2e-resource-naming-and-tagging

Conversation

@ava-silver

@ava-silver ava-silver commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What and why?

Aligns datadog-ci E2E test resource naming and tagging with the cross-repo E2E spec. Previously each test used an ad-hoc dd-ci-* prefix with no freshness tag, so the shared sweeper couldn't identify these resources.

How?

Each test file now:

  • Extracts the random bytes into a named runId variable
  • Renames ephemeral resources to one-e2e-ci-<platform>-<runid> per spec
  • Adds a one_e2e_created=<unix-seconds> freshness tag/label at creation so the sweeper can age-check without relying on provider creation timestamps (not available cross-cloud)

Name mapping:

Old New
dd-ci-crun-<hex> one-e2e-ci-cloud-run-<hex>
dd-ci-aas-linux-<hex> one-e2e-ci-aas-linux-<hex>
dd-ci-aas-win-<hex> one-e2e-ci-aas-win-<hex>
dd-ci-capp-<hex> one-e2e-ci-capp-<hex>

All names stay within the tightest provider limit (Azure Container App: 32 chars; longest here is 29).

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-prod-us1-5

This comment has been minimized.

@ava-silver ava-silver added serverless Related to [aas, cloud-run, lambda, stepfunctions] chores Related to the CI or developer experience labels Jun 15, 2026
@ava-silver
ava-silver marked this pull request as ready for review June 15, 2026 19:39
@ava-silver
ava-silver requested review from a team as code owners June 15, 2026 19:39
@ava-silver
ava-silver requested a review from avangelillo June 15, 2026 19:39
@domalessi domalessi self-assigned this Jun 15, 2026
@ava-silver
ava-silver merged commit b59a871 into master Jun 15, 2026
32 checks passed
@ava-silver
ava-silver deleted the ava.silver/chore/unified-e2e-resource-naming-and-tagging branch June 15, 2026 21:34
@GabrielAnca GabrielAnca mentioned this pull request Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience serverless Related to [aas, cloud-run, lambda, stepfunctions]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants