Skip to content

Use underscores in integration-test tag keys and values#137

Merged
sdairs merged 1 commit intomainfrom
it-tags-use-underscores
May 5, 2026
Merged

Use underscores in integration-test tag keys and values#137
sdairs merged 1 commit intomainfrom
it-tags-use-underscores

Conversation

@sdairs
Copy link
Copy Markdown
Collaborator

@sdairs sdairs commented May 5, 2026

Summary

  • Switch integration-test resource tag keys (managed-bymanaged_by, run-idrun_id) and the associated values (clickhousectl-it, service-crud, postgres-crud) from dashes to underscores in tests/integration/support.rs.
  • The matching tag:KEY=VALUE filter strings (used by pre-create sweeps and CleanupRegistry) are updated in lockstep so listing and cleanup keep working.
  • Service names stay with dashes — those are DNS-style identifiers, not tags.

The phase=patched tag in the Postgres PATCH test never had a dash, so no change there. The only place tag literals live is support.rs; the workflow file (.github/workflows/cloud-integration.yml) does not reference tag keys/values, so no CI changes are needed.

Test plan

  • cargo build -p clickhouse-cloud-api --tests passes locally
  • Cloud Integration workflow run on this PR (provisions services, applies the new underscore tags, and tears them down via the matching filters)

🤖 Generated with Claude Code

Switch the integration test resource tags (managed-by, run-id, suite
values) from dashes to underscores so the keys are valid identifiers in
downstream tooling that treats `-` as an operator. Service names keep
dashes since they are DNS-style identifiers, not tags.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sdairs sdairs requested a review from iskakaushik as a code owner May 5, 2026 22:06
@sdairs sdairs temporarily deployed to cloud-integration May 5, 2026 22:06 — with GitHub Actions Inactive
@sdairs sdairs merged commit 8a683c3 into main May 5, 2026
2 checks passed
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