Skip to content

Conversation

@pgimalac
Copy link
Member

What does this PR do?

Factor out build flags in go test commands

Motivation

The go build and go test commands should use the same build flags, factoring both sets of args in the same variable reduces the chances of mistake.

Describe how you validated your changes

CI

Additional Notes

@pgimalac pgimalac requested a review from a team as a code owner January 12, 2026 13:44
@pgimalac pgimalac added changelog/no-changelog qa/no-code-change No code change in Agent code requiring validation team/agent-devx labels Jan 12, 2026
@github-actions github-actions bot added the short review PR is simple enough to be reviewed quickly label Jan 12, 2026
@agent-platform-auto-pr
Copy link
Contributor

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 67ab0ae
📊 Static Quality Gates Dashboard

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_deb_amd64 -703.19 KiB (0.10% reduction) 705.841 → 705.155 → 708.410
agent_deb_amd64_fips -703.19 KiB (0.10% reduction) 701.138 → 700.451 → 704.000
agent_rpm_amd64 -703.19 KiB (0.10% reduction) 705.828 → 705.141 → 708.380
agent_rpm_amd64_fips -703.19 KiB (0.10% reduction) 701.125 → 700.438 → 703.990
agent_rpm_arm64 -632.95 KiB (0.09% reduction) 687.324 → 686.706 → 693.520
agent_rpm_arm64_fips -636.95 KiB (0.09% reduction) 683.465 → 682.843 → 688.480
agent_suse_amd64 -703.19 KiB (0.10% reduction) 705.828 → 705.141 → 708.380
agent_suse_amd64_fips -703.19 KiB (0.10% reduction) 701.125 → 700.438 → 703.990
agent_suse_arm64 -632.95 KiB (0.09% reduction) 687.324 → 686.706 → 693.520
agent_suse_arm64_fips -636.95 KiB (0.09% reduction) 683.465 → 682.843 → 688.480
docker_agent_amd64 -192.98 KiB (0.02% reduction) 767.575 → 767.387 → 770.720
docker_agent_arm64 -141.12 KiB (0.02% reduction) 773.692 → 773.554 → 780.200
docker_agent_jmx_amd64 -192.98 KiB (0.02% reduction) 958.454 → 958.266 → 961.600
docker_agent_jmx_arm64 -141.12 KiB (0.01% reduction) 953.290 → 953.152 → 959.800
17 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_heroku_amd64 326.864 MiB
agent_msi 571.328 MiB
docker_cluster_agent_amd64 180.761 MiB
docker_cluster_agent_arm64 196.618 MiB
docker_cws_instrumentation_amd64 7.135 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_dogstatsd_amd64 38.785 MiB
docker_dogstatsd_arm64 37.128 MiB
dogstatsd_deb_amd64 30.004 MiB
dogstatsd_deb_arm64 28.156 MiB
dogstatsd_rpm_amd64 30.004 MiB
dogstatsd_suse_amd64 30.004 MiB
iot_agent_deb_amd64 43.002 MiB
iot_agent_deb_arm64 40.123 MiB
iot_agent_deb_armhf 40.704 MiB
iot_agent_rpm_amd64 43.003 MiB
iot_agent_suse_amd64 43.003 MiB
On-wire sizes (compressed)
Quality gate Change Size (prev → curr → max)
agent_deb_amd64 -166.95 KiB (0.09% reduction) 173.516 → 173.352 → 174.490
agent_deb_amd64_fips -190.17 KiB (0.11% reduction) 172.425 → 172.239 → 173.750
agent_heroku_amd64 -2.45 KiB (0.00% reduction) 87.107 → 87.105 → 88.450
agent_msi +16.0 KiB (0.01% increase) 142.879 → 142.895 → 143.020
agent_rpm_amd64 +66.91 KiB (0.04% increase) 176.084 → 176.149 → 177.660
agent_rpm_amd64_fips -492.76 KiB (0.27% reduction) 175.380 → 174.899 → 176.600
agent_rpm_arm64 -184.85 KiB (0.11% reduction) 159.545 → 159.364 → 161.260
agent_rpm_arm64_fips -107.8 KiB (0.07% reduction) 158.869 → 158.763 → 160.550
agent_suse_amd64 +66.91 KiB (0.04% increase) 176.084 → 176.149 → 177.660
agent_suse_amd64_fips -492.76 KiB (0.27% reduction) 175.380 → 174.899 → 176.600
agent_suse_arm64 -184.85 KiB (0.11% reduction) 159.545 → 159.364 → 161.260
agent_suse_arm64_fips -107.8 KiB (0.07% reduction) 158.869 → 158.763 → 160.550
docker_agent_amd64 -140.46 KiB (0.05% reduction) 261.166 → 261.029 → 262.450
docker_agent_arm64 -152.16 KiB (0.06% reduction) 250.217 → 250.068 → 252.630
docker_agent_jmx_amd64 -141.89 KiB (0.04% reduction) 329.801 → 329.662 → 331.080
docker_agent_jmx_arm64 -155.86 KiB (0.05% reduction) 314.841 → 314.689 → 317.270
docker_cluster_agent_amd64 neutral 63.849 MiB
docker_cluster_agent_arm64 neutral 60.147 MiB
docker_cws_instrumentation_amd64 neutral 2.994 MiB
docker_cws_instrumentation_arm64 neutral 2.726 MiB
docker_dogstatsd_amd64 neutral 15.017 MiB
docker_dogstatsd_arm64 neutral 14.348 MiB
dogstatsd_deb_amd64 neutral 7.937 MiB
dogstatsd_deb_arm64 neutral 6.816 MiB
dogstatsd_rpm_amd64 neutral 7.948 MiB
dogstatsd_suse_amd64 neutral 7.948 MiB
iot_agent_deb_amd64 -2.08 KiB (0.02% reduction) 11.265 → 11.263 → 12.040
iot_agent_deb_arm64 neutral 9.632 MiB
iot_agent_deb_armhf +2.32 KiB (0.02% increase) 9.825 → 9.828 → 10.620
iot_agent_rpm_amd64 +2.95 KiB (0.03% increase) 11.278 → 11.281 → 12.060
iot_agent_suse_amd64 +2.95 KiB (0.03% increase) 11.278 → 11.281 → 12.060

@pgimalac pgimalac added the ask-review Ask required teams to review this PR label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ask-review Ask required teams to review this PR changelog/no-changelog qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly team/agent-devx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants