Skip to content

Suppress "already exists" noise in ddev release tag output#22883

Open
NouemanKHAL wants to merge 6 commits intomasterfrom
noueman/improve-ddev-release-tag-verbose-output
Open

Suppress "already exists" noise in ddev release tag output#22883
NouemanKHAL wants to merge 6 commits intomasterfrom
noueman/improve-ddev-release-tag-verbose-output

Conversation

@NouemanKHAL
Copy link
Member

@NouemanKHAL NouemanKHAL commented Mar 11, 2026

What does this PR do?

When running ddev release tag all in CI, the command previously printed an "already exists" line for every integration that was already tagged, producing hundreds of noisy lines.

Checks with an existing tag are now skipped silently, a debug message is emitted instead.

Example output from local testing:

$ ddev release tag all
Fetching all tags from remote...
Tagged 0 release(s), skipped 258 already-tagged release(s).
An upgrade to version 14.3.2 is available for ddev. Your current version is 14.3.0

Motivation

https://datadoghq.atlassian.net/browse/AI-6686

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

⚠️ Recommendation: Add qa/skip-qa label

This PR does not modify any files shipped with the agent.

To help streamline the release process, please consider adding the qa/skip-qa label if these changes do not require QA testing.

@NouemanKHAL NouemanKHAL added the qa/skip-qa Automatically skip this PR for the next QA label Mar 11, 2026
@NouemanKHAL NouemanKHAL force-pushed the noueman/improve-ddev-release-tag-verbose-output branch from 8e5737d to 1a20a5d Compare March 11, 2026 16:43
@NouemanKHAL NouemanKHAL enabled auto-merge March 11, 2026 16:49
@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Mar 11, 2026

⚠️ Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

🧪 2 Tests failed

test_new_version_appears_in_output from test_tag.py (Datadog) (Fix with Cursor)
assert 'Tagged 2 release(s)' in 'active_directory:\n    Tagging HEAD with active_directory-4.6.0... success! (dry-run)\nactivemq:\n    Tagging HEAD with activemq-99.99.99... success! (dry-run)\nactivemq_xml:\n    Tagging HEAD with activemq_xml-5.4.0... success! (dry-run)\naerospike:\n    Tagging HEAD with aerospike-5.3.0... success! (dry-run)\nairflow:\n    Tagging HEAD with airflow-7.3.0... success! (dry-run)\namazon_msk:\n    Tagging HEAD with amazon_msk-7.4.0... success! (dry-run)\nambari:\n    Tagging HEAD with ambari-6.4.0... success! (dry-run)\napache:\n    Tagging HEAD with apache-7.3.0... success! (dry-run)\nappgate_sdp:\n    Tagging HEAD with appgate_sdp-2.3.0... success! (dry-run)\narangodb:\n    Tagging HEAD with arangodb-4.3.0... success! (dry-run)\narctic_wolf_aurora_endpoint_security:\n    Tagging HEAD with arctic_wolf_aurora_endpoint_security-1.0.0... success! (dry-run)\nargo_rollouts:\n    Tagging HEAD with argo_rollouts-3.3.0... success! (dry-run)\nargo_workflows:\n    Tagging HEAD with argo_workflows-3.3.0... success! (dry-run)\nargocd:\n    Tagging HEAD with argocd-4.3.0... success! (dry-run)\naspdotnet:\n    Tagging HEAD with aspdotnet-4.6.0... success! (dry-run)\navi_vantage:\n    Tagging HEAD with avi_vantage-6.3.0... success! (dry-run)\naws_neuron:\n    Tagging HEAD with aws_neuron-3.3.0... success! (dry-run)\nazure_iot_edge:\n    Tagging HEAD with azure_iot_edge-6.4.0... success! (dry-run)\nbarracuda_secure_edge:\n    Tagging HEAD with barracuda_secure_edge-1.1.0... success! (dry-run)\nbentoml:\n    Tagging HEAD with bentoml-1.4.0... success! (dry-run)\nbeyondtrust_password_safe:\n    Tagging HEAD with beyondtrust_password_safe-1.2.0... success! (dry-run)\nbeyondtrust_privileged_remote_access:\n    Tagging HEAD with beyondtrust_privileged_remote_access-0.0.1... success! (dry-run)\nboundary:\n    Tagging HEAD with boundary-4.3.0... success! (dry-run)\nbtrfs:\n    Tagging HEAD with btrfs-99.99.99... success! (dry-run)\ncacti:\n    Tagging HEAD with cacti-4.4.0... success! (dry-run)\ncalico:\n    Tagging HEAD with calico-5.3.0... success! (dry-run)\ncassandra:\n    Tagging HEAD with cassandra-3.2.0... success! (dry-run)\ncassandra_nodetool:\n    Tagging HEAD with cassandra_nodetool-3.3.0... success! (dry-run)\ncelery:\n    Tagging HEAD with celery-2.3.0... success! (dry-run)\nceph:\n    Tagging HEAD with ceph-4.4.0... success! (dry-run)\ncert_manager:\n    Tagging HEAD with cert_manager-6.3.0... success! (dry-run)\ncheckpoint_harmony_endpoint:\n    Tagging HEAD with checkpoint_harmony_endpoint-1.2.0... success! (dry-run)\ncheckpoint_quantum_firewall:\n    Tagging HEAD with checkpoint_quantum_firewall-1.2.0... success! (dry-run)\ncilium:\n    Tagging HEAD with cilium-6.3.0... success! (dry-run)\ncisco_aci:\n    Tagging HEAD with cisco_aci-4.13.0... success! (dry-run)\ncisco_asa:\n    Tagging HEAD with cisco_asa-1.0.0... success! (dry-run)\ncisco_secure_client:\n    Tagging HEAD with cisco_secure_client-1.0.0... success! (dry-run)\ncisco_secure_firewall:\n    Tagging HEAD with cisco_secure_firewall-1.2.0... success! (dry-run)\ncisco_secure_web_appliance:\n    Tagging HEAD with cisco_secure_web_appliance-1.3.0... success! (dry-run)\ncitrix_hypervisor:\n    Tagging HEAD with citrix_hypervisor-6.3.0... success! (dry-run)\nclickhouse:\n    Tagging HEAD with clickhouse-6.3.0... success! (dry-run)\ncloud_foundry_api:\n    Tagging HEAD with cloud_foundry_api-5.5.0... success! (dry-run)\ncloudera:\n    Tagging HEAD with cloudera-3.5.0... success! (dry-run)\ncloudgen_firewall:\n    Tagging HEAD with cloudgen_firewall-1.1.0... success! (dry-run)\ncockroachdb:\n    Tagging HEAD with cockroachdb-6.3.0... success! (dry-run)\nconfluent_platform:\n    Tagging HEAD with confluent_platform-3.2.0... success! (dry-run)\nconsul:\n    Tagging HEAD with consul-5.3.0... success! (dry-run)\ncoredns:\n    Tagging HEAD with coredns-6.3.0... success! (dry-run)\ncouch:\n    Tagging HEAD with couch-9.3.0... success! (dry-run)\ncouchbase:\n    Tagging HEAD with couchbase-6.4.0... success! (dry-run)\ncrio:\n    Tagging HEAD with crio-5.3.0... success! (dry-run)\ndatadog_checks_base:\n    Tagging HEAD with datadog_checks_base-37.31.0... success! (dry-run)\ndatadog_checks_dependency_provider:\n    Tagging HEAD with datadog_checks_dependency_provider-3.2.0... success! (dry-run)\ndatadog_checks_dev:\n    Tagging HEAD with datadog_checks_dev-35.6.0... success! (dry-run)\ndatadog_checks_downloader:\n    Tagging HEAD with datadog_checks_downloader-9.0.0... success! (dry-run)\ndatadog_cluster_agent:\n    Tagging HEAD with datadog_cluster_agent-6.4.0... success! (dry-run)\ndatadog_csi_driver:\n    Tagging HEAD with datadog_csi_driver-1.4.0... success! (dry-run)\ndcgm:\n    Tagging HEAD with dcgm-4.3.0... success! (dry-run)\nddev:\n    Tagging HEAD with ddev-v14.3.2... success! (dry-run)\ndelinea_privilege_manager:\n    Tagging HEAD with delinea_privilege_manager-1.2.0... success! (dry-run)\ndelinea_secret_server:\n    Tagging H
test_new_version_appears_in_output from test_tag.py (Datadog) (Fix with Cursor)
assert 'Tagged 2 release(s)' in 'active_directory:\n    Tagging HEAD with active_directory-4.6.0... success! (dry-run)\nactivemq:\n    Tagging HEAD with activemq-99.99.99... success! (dry-run)\nactivemq_xml:\n    Tagging HEAD with activemq_xml-5.4.0... success! (dry-run)\naerospike:\n    Tagging HEAD with aerospike-5.3.0... success! (dry-run)\nairflow:\n    Tagging HEAD with airflow-7.3.0... success! (dry-run)\namazon_msk:\n    Tagging HEAD with amazon_msk-7.4.0... success! (dry-run)\nambari:\n    Tagging HEAD with ambari-6.4.0... success! (dry-run)\napache:\n    Tagging HEAD with apache-7.3.0... success! (dry-run)\nappgate_sdp:\n    Tagging HEAD with appgate_sdp-2.3.0... success! (dry-run)\narangodb:\n    Tagging HEAD with arangodb-4.3.0... success! (dry-run)\narctic_wolf_aurora_endpoint_security:\n    Tagging HEAD with arctic_wolf_aurora_endpoint_security-1.0.0... success! (dry-run)\nargo_rollouts:\n    Tagging HEAD with argo_rollouts-3.3.0... success! (dry-run)\nargo_workflows:\n    Tagging HEAD with argo_workflows-3.3.0... success! (dry-run)\nargocd:\n    Tagging HEAD with argocd-4.3.0... success! (dry-run)\naspdotnet:\n    Tagging HEAD with aspdotnet-4.6.0... success! (dry-run)\navi_vantage:\n    Tagging HEAD with avi_vantage-6.3.0... success! (dry-run)\naws_neuron:\n    Tagging HEAD with aws_neuron-3.3.0... success! (dry-run)\nazure_iot_edge:\n    Tagging HEAD with azure_iot_edge-6.4.0... success! (dry-run)\nbarracuda_secure_edge:\n    Tagging HEAD with barracuda_secure_edge-1.1.0... success! (dry-run)\nbentoml:\n    Tagging HEAD with bentoml-1.4.0... success! (dry-run)\nbeyondtrust_password_safe:\n    Tagging HEAD with beyondtrust_password_safe-1.2.0... success! (dry-run)\nbeyondtrust_privileged_remote_access:\n    Tagging HEAD with beyondtrust_privileged_remote_access-0.0.1... success! (dry-run)\nboundary:\n    Tagging HEAD with boundary-4.3.0... success! (dry-run)\nbtrfs:\n    Tagging HEAD with btrfs-99.99.99... success! (dry-run)\ncacti:\n    Tagging HEAD with cacti-4.4.0... success! (dry-run)\ncalico:\n    Tagging HEAD with calico-5.3.0... success! (dry-run)\ncassandra:\n    Tagging HEAD with cassandra-3.2.0... success! (dry-run)\ncassandra_nodetool:\n    Tagging HEAD with cassandra_nodetool-3.3.0... success! (dry-run)\ncelery:\n    Tagging HEAD with celery-2.3.0... success! (dry-run)\nceph:\n    Tagging HEAD with ceph-4.4.0... success! (dry-run)\ncert_manager:\n    Tagging HEAD with cert_manager-6.3.0... success! (dry-run)\ncheckpoint_harmony_endpoint:\n    Tagging HEAD with checkpoint_harmony_endpoint-1.2.0... success! (dry-run)\ncheckpoint_quantum_firewall:\n    Tagging HEAD with checkpoint_quantum_firewall-1.2.0... success! (dry-run)\ncilium:\n    Tagging HEAD with cilium-6.3.0... success! (dry-run)\ncisco_aci:\n    Tagging HEAD with cisco_aci-4.13.0... success! (dry-run)\ncisco_asa:\n    Tagging HEAD with cisco_asa-1.0.0... success! (dry-run)\ncisco_secure_client:\n    Tagging HEAD with cisco_secure_client-1.0.0... success! (dry-run)\ncisco_secure_firewall:\n    Tagging HEAD with cisco_secure_firewall-1.2.0... success! (dry-run)\ncisco_secure_web_appliance:\n    Tagging HEAD with cisco_secure_web_appliance-1.3.0... success! (dry-run)\ncitrix_hypervisor:\n    Tagging HEAD with citrix_hypervisor-6.3.0... success! (dry-run)\nclickhouse:\n    Tagging HEAD with clickhouse-6.3.0... success! (dry-run)\ncloud_foundry_api:\n    Tagging HEAD with cloud_foundry_api-5.5.0... success! (dry-run)\ncloudera:\n    Tagging HEAD with cloudera-3.5.0... success! (dry-run)\ncloudgen_firewall:\n    Tagging HEAD with cloudgen_firewall-1.1.0... success! (dry-run)\ncockroachdb:\n    Tagging HEAD with cockroachdb-6.3.0... success! (dry-run)\nconfluent_platform:\n    Tagging HEAD with confluent_platform-3.2.0... success! (dry-run)\nconsul:\n    Tagging HEAD with consul-5.3.0... success! (dry-run)\ncoredns:\n    Tagging HEAD with coredns-6.3.0... success! (dry-run)\ncouch:\n    Tagging HEAD with couch-9.3.0... success! (dry-run)\ncouchbase:\n    Tagging HEAD with couchbase-6.4.0... success! (dry-run)\ncrio:\n    Tagging HEAD with crio-5.3.0... success! (dry-run)\ndatadog_checks_base:\n    Tagging HEAD with datadog_checks_base-37.31.0... success! (dry-run)\ndatadog_checks_dependency_provider:\n    Tagging HEAD with datadog_checks_dependency_provider-3.2.0... success! (dry-run)\ndatadog_checks_dev:\n    Tagging HEAD with datadog_checks_dev-35.6.0... success! (dry-run)\ndatadog_checks_downloader:\n    Tagging HEAD with datadog_checks_downloader-9.0.0... success! (dry-run)\ndatadog_cluster_agent:\n    Tagging HEAD with datadog_cluster_agent-6.4.0... success! (dry-run)\ndatadog_csi_driver:\n    Tagging HEAD with datadog_csi_driver-1.4.0... success! (dry-run)\ndcgm:\n    Tagging HEAD with dcgm-4.3.0... success! (dry-run)\nddev:\n    Tagging HEAD with ddev-v14.3.2... success! (dry-run)\ndelinea_privilege_manager:\n    Tagging HEAD with delinea_privilege_manager-1.2.0... success! (dry-run)\ndelinea_secret_server:\n    Tagging H

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 93a7760 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

Copy link
Contributor

@dkirov-dd dkirov-dd left a comment

Choose a reason for hiding this comment

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

One suggestion, otherwise lgtm!

dkirov-dd
dkirov-dd previously approved these changes Mar 11, 2026
@NouemanKHAL NouemanKHAL disabled auto-merge March 11, 2026 17:26
@temporal-github-worker-1 temporal-github-worker-1 bot dismissed dkirov-dd’s stale review March 11, 2026 17:26

Review from dkirov-dd is dismissed. Related teams and files:

  • agent-integrations
    • datadog_checks_dev/tests/tooling/commands/release/test_tag.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants